DNN Module Distribution Package (.zip)

Coordinator
Jul 25, 2007 at 2:15 PM
Afeter building the WebLib solution (in release mode) what are the steps to create the distribution Package (zip file)
Coordinator
Jul 25, 2007 at 2:19 PM


fcarneiro wrote:
Afeter building the WebLib solution (in release mode) what are the steps to create the distribution Package (zip file)


(from DotNetNuke Module Developers Guide)

Your module will be a compressed zip file that contains all files relevant for the operation
of the module. Typically a module distribution is going to contain the following files:

  • Company.ModuleName.SQLDataProvider.dll – This is the compiled code from your
data provider project. In this example we are using SQL as our backend, but you
would name this file according to the physical database provider you are using.
  • Company.ModuleName.dll – This is the main module project that is compiled into
an assembly.
  • All ASCX Files – This includes all user interface files, in this example we would
include our Survey.ascx, EditSurvey.ascx, and Settings.ascx file.
  • Images – If your module requires any image files, such as icons, or other images,
package them in the zip file.
  • CSS – If you need to include a specific look for your module. Refer to the next
section on style sheet structure.
  • Data Provider Definition – Include the physical database provider creation script. If
you are going to provide multiple provider in order to support multiple providers for
DNN, include them as well.
  • Data Provider Uninstall – Include the uninstall script. Again, if you have multiple
database providers include an uninstall file for each provider.
  • Resource Files for Localization – If you plan on providing multiple languages for
your module, you will need to distribute the supported resource files in your
distribution.