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...DNN Platform (o...DNN Platform (o...Create Module Package - can it include my DLLCreate Module Package - can it include my DLL's?
Previous
 
Next
New Post
2/12/2009 3:04 PM
 

I'm still having a problem with this.

My DLL's are listed in the manifest (.DNN) file, yet packaging the module does not include them in the DLL.  Is this by design?

The manifest file is shown in the previous post.


Best wishes,
- Richard
Agile Development Consultant, Practitioner, and Trainer
www.dynamisys.co.uk
 
New Post
2/12/2009 11:32 PM
 

I believe the problem lies in that your module is set up as a Website Project (WSP) or dynamically compiled module having source files located under the app_code folder AND also has a couple of DLL files in the /bin folder. When creating a module package, the PAWriter takes very different branches in determining which files to include in the package depending whether the module is set up as a WSP or WAP (web application project). The branching decision is based on whether a *.vbproj or *.csproj file is found in the module folder. If a project file is found, the assumption is made that this is a WAP and that the projects DLL's located in the /bin folder will be included in the package. If no project file is found and code files are found under the app_code folder, no DLL's will be included in the package.

I'm not sure if this is entirely by design or oversight that dynamically compiled modules may need to include other DLL's as specified in a manually constructed manifest. At any rate, you will probably have to manually add the DLL's to the package.

It appears that the new universal package installer will be able to handle this when DNN 5.00.01 is released. I also recall that there were still some related issues with package writing in 5.00.00.


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
 
New Post
2/13/2009 1:00 AM
 

Don't use the module packager is the easy answer.  You can use it to generate the initial manifest, but after that you're better off editing your own manifest file and including the files you want with it.  As a bonus you can then keep the manifest file with your project and keep it under source control.

To include a .dll file, just include it as <file><name>filename.dll</name></file> in the manifest file, and make sure the dll is in the install zip.

With my projects, I create a separate batch file which copies the relevant files out of the development directory into a temp install directory.  It then runs a command line zip command to put it all into the relevant package.  I use input parameters and versioning for the file so that I can call 'packageForINstall release sitename' and it will zip up the file, give it the right name and place it into the modules\install location of the DNN site.

You'll find doing something like this much simpler and easier to manage than any other method, once you're right into development.

 
New Post
2/14/2009 10:04 AM
 

@Bill - Thanks for the explanation.

@Bruce - Amazing how great minds think alike!  That's a near perfect description of how I am currently working.

Thanks guys.


Best wishes,
- Richard
Agile Development Consultant, Practitioner, and Trainer
www.dynamisys.co.uk
 
Previous
 
Next
HomeHomeDevelopment and...Development and...DNN Platform (o...DNN Platform (o...Create Module Package - can it include my DLLCreate Module Package - can it include my DLL's?


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