Quote:
Originally Posted by shirk99
1. In VS 2008, go to the properties of the "My Project" file => click on the "compile" tab. Should the "Build output path:" be "..\..\bin" or "\bin"? By default it is "..\..\bin"
|
You want it to be ..\..\bin, this will ensure that it goes out to the root, then into the \bin folder within DNN. If it was set to \bin, your dll would go in \DesktopModules\YourModule\Bin, where DNN would not pick it up.
Quote:
Originally Posted by shirk99
2. In the .dnn manifest file, go to the <component type="Assembly"> section. Skim down 4 lines. Should the <name> value be "Wrox.Modules.GuestbookVB.dll" or "WroxModulesGuestbookVB.dll"? The dll file in our project is named "WroxModulesGuestbookVB.dll" - different than the 'name' value in the book. Wasn't sure about this.
|
The value here should match what your DLL name is when it is compiled. This is so that DNN can copy and retain information on the dll. If the dll listed is not found, it will fail to install the module.
Quote:
Originally Posted by shirk99
3. Found a typo on page 71 for what it's worth - Near the end of the .dnn manifest, in the <files> section, locate the file with the name of "Settings.aspx". This should be "Settings.ascx".
|
Thanks for this, I'll try to get with Wrox to see about getting a notice of the typo.
Quote:
Originally Posted by shirk99
4. In the .dnn manifest, is the <supportsPartialRendering> value ('true' or 'false') case sensitive? In the book, you have it both ways. Page 143 has it lowercase, where earlier in the book it's uppercase.
|
Either way it works, I apologize for the inconsistency in the book examples. (I still flip flop on it daily with most of my projects......)
Quote:
Originally Posted by shirk99
5. In the .dnn manifest, in the <files> section, are the <path> values case sensitive? The values are all lowercase for "app_localresources" but the folder in our project is "App_LocalResources". Wasn't sure. Sometimes these things are picky about case.
|
I do not believe that the file names are case sensitive, but I'll be honest, I have not tested that, but it shouldn't be as by default windows is NOT case sensitive.
Quote:
Originally Posted by shirk99
6. On page 142, listing 8-19. Should the <moduleControl></moduleControl> elements be wrapped inside of a <moduleControls></moduleControls> parent element, as they are in listing 6-15?
|
Yes, the moduleControls element is the root node that contains the children control elements. For full validation of this, you can use Appendix D to confirm any semantics of the manifest.
Quote:
Originally Posted by shirk99
7. This may be an oversite on my part that is common knowldege to most people - on page 144 it states that at this point we have a project that can be fully compiled. Should we be doing a 'Build' => 'Build GuestbookVB' from the VS menu to compile the module into a dll? Originally, I skipped this part until I wondered how the .dll file gets created.
|
Yes, you are correct, you can do "Build -> Build GuestbookVB", or if you like keyboard shortcuts you can do CTRL+SHIFT+b to do a build as well.
Quote:
Originally Posted by shirk99
8. Related to compiling the module, where should our .dll files be located if everything worked? In the project's own \bin folder, or the \bin folder for the DotNetNuke site.
|
If everything worked correctly you will find the DLL in the DNN bin folder, there will also be copies inside of the /obj folder that is created within your module.
Quote:
Originally Posted by shirk99
9. This is related to the previous question. Keeping in mind that the default project setting is to put the .dll file in the DotNetNuke website's \bin folder ("..\..\bin") -- Do we need to manually create a \bin folder in our project root and copy the .dll file to it? I'm confused over this \bin business. Page 149 mentions the \bin being in the .zip file, but the bin folder is never created by VS when it creates our project folder structure, or by the reader via instructions in the book.
|
You only need the \bin folder when you go to package, that is it. You COULD create it in the module folder, but it is not needed.