Welcome to my step by step process of how to setup a custom module development environment for Dot Net Nuke (7ish). We will go over the tools required along with how to set them up. Follow this list carefully, and you will be up and ready for custom module creation in no time.
- Internet Access
- SQL Server (I used the developer edition)
- SQL Management Studio (I used 2012)
- Dot Net Nuke Local Instance
- Visual Studio 2013 Community
- Create your own local Dot Net Nuke Instance(How to Install DotNetNuke)
- Install Visual Studio 2013 Community Edition
- On the first launch of Visual Studio navigate to Tools>Extensions and Updates>Online
- Search for “DotNetNuke Project Templates” and install the official package created by Chis Hammond.
- After installation of the package, close out of Visual Studio.
- Open an instance of file explorer and navigate to your AppData directory. I did this by typing in “%appdata%” with out the quotes.
- You should see that you have been brought by default into the AppData/Roaming folder. You will need to backup one and go into the AppData/Local/Microsoft/VisualStudio/12.0/Extensions/ folder.
- Now we are at a section that will vary computer to computer. You will need to select the folder in which you find files within that have some with “DNN” pre-pended to them. Therefore my folder ended up being the one named “bd1vvpic.fww”. This folder name is dynamically picked by Visual Studio upon installation.
- Once inside, traverse to the /ProjectTemplates/CSharp/DotNetNuke/1033/ directory.
- Extract the zip file “DNN-C-Module.zip” into it’s own folder. We are going to make modifications to it.
- Go ahead and navigate into the directory we just extracted the zip file too. Once inside locate the *.vstemplate file and open it with your favorite text editor.
- Here you are going to want to find and replace all instances of the text “dnndev.me” with the name of the DNN site you setup previously. On my machine I can change it to either “locahost” or “zebra”.
- Save the file then close out of the text editor and bring the folder back to focus in file explorer.
- Highlight all of the files inside and then right click on the *.vstemplate and navigate the context menu to Send To>Compressed (zipped) folder.
- Next, cut the newly created zip file and move it inot the 1033 folder. Make sure you replace the old folder or delete it first. After it has successfully pasted. Remove the old folder in which you extracted your zip to in the first place. Your 1033 folder should look the same as it did when you just started, just out modifications implemented into the new DNN-C-Module zip.
Finishing It Up:
You are set! Welcome to your new Dot Net Nuke development environment. From here you should be able to open up Visual Studio and create a new project from the template provided. As for actually initializing a project the way I create mine; that will have to be another post. Leave a comment below if you have any questions or comments.