Here is how to upgrade your automation to work with the new 4.3.5 version.
- Follow the instructions here to navigate to your DNNModule folder. Save the contents of this folder somewhere else. You will need this later!
- Again, following the instructions found here, Extract the new 4.3.5 Module_VB.zip to the destination = your DNNModule folder. Make sure you still follow all the instructions and uncheck the Read-Only, etc.
You still need to do some things. Having applied the new DotNetNuke 4.3.5 Visual Studio Module Template "Module_VB.zip" to your "DNNModule" folder, you will now receive an error if you try to run it. The error (Displayed in your VS Output Window) will be similar to the following:
> Could not find file 'c:\inetpub\wwwroot\PHDnet3\DesktopModules\Powerhouse_test\Powerhouse_test.SqlDataProvider'.
> No SQL transactions have been run.
The "module.SqlDataProvider" file was not included in the "Module_VB.zip". This needs to be added, so here is how.
- Find \DesktopModules\ModuleName\module.SqlDataProvider file in your saved files from step 1 above. Copy and paste a copy into your DNNModule folder being careful to place it into the same matching subdirectory.
- Open the file DNNModule\DotNetNuke Module.vstemplate with NotePad.
- At end of the vstemplate file before the tag </Folder> Insert:
<ProjectItem TargetFileName="$fileinputname$.SqlDataProvider" ReplaceParameters="true">Module.SqlDataProvider</ProjectItem>
- Save the file.
You can now open a new DotNetNuke Web Application Template.
Run DNN_Module_Step_001
Your Default Browser will automatically open your new DotNetNuke Site.
Login in as HOST.
Your new module’s title will be displayed in the add new module dropdownlist.
You can add it to a test page.
Now if you make a modification to your module’s codebehind, you can right-click the module’s .vb file and choose "Build Page".
Click on your Browser and "Refresh".
You will see instantaneous results of your new build. Very, very, fast!!!
I am enjoying Visual Studio 2005.