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

HomeHomeUsing DNN Platf...Using DNN Platf...Using Modules a...Using Modules a...Contents of resources.zip for compiled moduleContents of resources.zip for compiled module
Previous
 
Next
New Post
10/17/2011 1:36 PM
 
Hi there

I have a compiled module which builds into a DLL, which I am then including in a resources.zip file, along with the other files for the module, which is then packaged within a ZIP module install package along with the manifest. The manifest includes a reference to the modules own DLL in a component="assembly" node.

The extension installer wizard for DNN 6.0.2 finds resources.zip within the install package, but then gives an error about the dll for the module - it can't find it in a Temp folder location, which is presumably created by DNN as it extracts the contents of the nested zip files. So I need to clarify, should the DLL containing the compiled module be included in a bin folder WITHIN the resources.zip, or just left outside resources.zip, i.e., in a bin folder that is zipped alongside resources.zip in the installer package. Does this also apply to any other dll libraries that are referenced in the module, i.e., is it option a) in a bin folder in resources.zip in [install].zip, or just option b) in a bin folder in [install].zip.

If this could be clarified that would be great.

Thanks

 
New Post
10/17/2011 2:10 PM
 
The DLL should be outside of resources.zip.


I would recommend you look at the development templates I created http://christoctemplate.codeplex.com it will do all of the packaging for you.

Chris Hammond
Former DNN Corp Employee, MVP, Core Team Member, Trustee
Christoc.com Software Solutions DotNetNuke Module Development, Upgrades and consulting.
dnnCHAT.com a chat room for DotNetNuke discussions
 
New Post
10/17/2011 2:11 PM
 
I would also do the same for other DLLs as well, though you will have to modify the .DNN file for additional DLLs, and also modify the build script if you use my project templates.

Chris Hammond
Former DNN Corp Employee, MVP, Core Team Member, Trustee
Christoc.com Software Solutions DotNetNuke Module Development, Upgrades and consulting.
dnnCHAT.com a chat room for DotNetNuke discussions
 
New Post
10/19/2011 5:14 AM
 
OK, thanks for that. I have tried installing and using the template as per the documentation on two independent installations of Visual Studio 2008, with exactly the same result, which makes me think there may be something amiss with the template, or the way I am using it, or with the default installation of VS2008. When I try to create the new project, even if I use a blank solution, I consistently get this error:

Unable to copy the file 'DotNetNuke_VB_Compiled_Module1.dnn' from the project template to the project. Cannot find file 'C:\Documents and Settings\<MyUsername>\Local Settings\Temp\1qqovgit.dk2\Temp\DotNetNuke_VB_Compiled_Module1.dnn'. 

Obviously,  'DotNetNuke_VB_Compiled_Module1' is just the default name for the project that I am accepting, but why is it looking for a DNN manifest file in that temporary location, and if it is so determined to look there for a manifest, why is there no file there for it to find? Can anybody explain how to fix this? Is it a hard-coded file reference that shouldn't be there? It doesn't seem to a directory that I am asking for it to look in, I'm just using the template straight out of the download.
 
New Post
10/19/2011 12:38 PM
 
I just tested the template (version 00.00.06) in VB in Visual Studio 2008 and it worked fine for me

Chris Hammond
Former DNN Corp Employee, MVP, Core Team Member, Trustee
Christoc.com Software Solutions DotNetNuke Module Development, Upgrades and consulting.
dnnCHAT.com a chat room for DotNetNuke discussions
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Using Modules a...Using Modules a...Contents of resources.zip for compiled moduleContents of resources.zip for compiled module


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