Home
Space Exploration
Astronomy
Web/Word Notes
Web
jQuery Resources
jQuery
jQuery UI
Links
dnn
|
Sign-In
Web/Word Notes
>
Web
>
dnn
How to build a dnn module
Select Web Project (DontNetNuke C# Compile Module)
Location is in your development site (C\myWebs\dnndev\DesktopModules)
Leave the site configured for ASP.NET 4.0
BEFORE
checking the module into your source control environment check the following.
Edit the Project properties by double-clicking on the Properties folder in Solution Explorer
On the Web tab:
Under 'Start Action', make sure to set your Start URL to the correct site (ex: http://dnndev/).
Under 'Servers', make sure to "Use IIS Web Server" with a project url of http://dnndev/desktopmodules/miklKbFrontPage and an Override application root URL of http://dnndev/
Steps after your project is setup.
To Build and Package your Module you need to change to
Release
mode and then simply choose Build from the Build menu. The MSBuild scripts will do the packaging process for you. The packaging process creates an INSTALL and a SOURCE package in the PACKAGES folder within your desktopmodule/modulename folder.
Installing your module in your development DotNetNuke instance is easy.Take the SOURCE ZIP file that is created in the Packages folder, upload that using the Host/Extensions page, Installation Wizard.
After you've done a release for your module (typically deploying to an environment outside of your development environment) you should change the Version number, you need to do this in two places, the assemblyinfo file, and the .DNN manifest file. Next time you build the module in release mode you will get a new package (using the version number) created.
For more information visit our
DotNetNuke Training page
.