Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesHow to install a compiled module DLLHow to install a compiled module DLL
Previous
 
Next
New Post
3/3/2011 8:12 AM
 

Hi there

Thank's for that detailed answer, the only trouble is, I already have most of those aspects covered: I have a module based on the compiled module template, and I have an MSBuild deployment component to automatically generate the install package. So I'm now at the stage where I just need to configure the components that get included in the autogenerated manifest and zip package.

Where I'm confused by the above answers is that I thought the point of the compiled module DLL was that it included a precompiled build of each of the ascx controls, in which case why does the DNN installer need to be explicitly told about invididual ASCX controls using the manifest, shouldn't they all be exposed from within the DLL. Or am I getting confused about the purpose of the compiled DLL. In which case, would it be possible for someone to outline the benefit of going through the whole precompiling build, if DNN will still be looking for the ASCX controls in their markup form? Also, where should this DLL for the control go, does it still need to be copied into the DesktopModules\bin folder, or somewhere else instead? Thanks if you could clarify this for me!

Regards

 
New Post
3/3/2011 8:55 AM
 
In a compiled module (i.e. Web Application Project or WAP), all of your source code contained in the various entitiy classes, controller classes, utility classes, etc. and in the code behind files (.ascx.vb or .ascx.cs) gets compiled into an assembly (dll) which will ultimately get placed into the site's /bin folder.

It is still necessary to include in the installation package all of the .ascx files as they contain the html and .Net user control markup. I am assuming that you have placed all of the code associated with the .ascx files in separate code behind files (.vb or .cs). Other files which must be included in the package are those such as the .SqlDataProvider scripts, .resx language localization files, any custom image files, usually a module.css file containing any custom css rules, and any javascript files.

If you are using one of the compiled module templates with a MS Build script to automatically generate the manifest and the install package then I'm not sure what other assistance you made. The steps that I outlined were primarily for those not using an automated build process but is also helpful in generating a basic manifest that can then be modified if necessary and included in the automatically generated package.

Perhaps if you indicate which compiled module template you are using, I can be of additional assistance if you have further questions.


Bill, WESNet Designs
Team Lead - DotNetNuke Gallery Module Project (Not Actively Being Developed)
Extensions Forge Projects . . .
Current: UserExport, ContentDeJour, ePrayer, DNN NewsTicker, By Invitation
Coming Soon: FRBO-For Rent By Owner
 
Previous
 
Next
HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesHow to install a compiled module DLLHow to install a compiled module DLL


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out