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...Getting StartedGetting StartedCreating Package Not Zipping all dll filesCreating Package Not Zipping all dll files
Previous
 
Next
New Post
5/23/2014 9:36 AM
 

Hi all I have just finished developing my new module and it works perfectly on my local instance of dnn.  

When I try to Create a Package to load onto the production site it creates a zipped file in the location

  • MyDrive:\MyDNNSite\Install\Module.

My problem is that not all of the dll files that are shown in the manifest get zipped in the bin folder. (that's the first problem)

I tried to work around this by adding the dll files and zipping the file back up.  

Next when I try to Install my extension I get errors in the upload results saying the following for a few of the files

Failure File specified in the dnn could not be found in the zip file
 D:\\MySite\Install\Temp\maf540ah\bin\AspNet.ScriptManager.jQuery.dll

 

Does anyone know why this is happening?  Thanking you in advance for your help.

 
New Post
5/24/2014 10:15 AM
 
you need to make sure, all files inside the package are listed in your manifest (.dnn file) and have proper target folder listed.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
5/27/2014 4:31 AM
 

I have done this manually then re-zipped the files as creating a package via dnn is leaving out some of the required dll's.

 

My mew issue on this is when I try to upload my extension via the wizard it cannot find the dnn manifest file.  This is 1 subdirectory below where it is looking.  I'm guessing this has somthing to do with my build file.

My error 

A critical error has occurred. Could not find file 'D:\MyDNNSite\Install\Temp\0ivw5oxk\_Custom.MyModule.dnn'.

The actual location is e 'D:\MyDNNSite\Install\Temp\0ivw5oxk\_Custom.MyModule_Install\_Custom.MyModule.dnn'.

How can I change my module build file to reflect this path?

 

<?xml version="1.0" encoding="utf-8" ?>

<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"  >

  <Target Name="AfterBuild" DependsOnTargets="CopyBin;CopyFiles" />

  <PropertyGroup>

    <WebsitePath>C:\EOA</WebsitePath>

    <WebsiteBinPath>$(WebsitePath)\bin</WebsiteBinPath>

    <ModuleFolderName>$(WebsitePath)\DesktopModules\Custom\MyModule</ModuleFolderName>

  </PropertyGroup>

  <ItemGroup>

    <Views Include="*.ascx;" />

    <Styles Include="*.css;" />

  </ItemGroup>

  <Target Name="CopyBin">

    <Copy SourceFiles="$(MSBuildProjectDirectory)\bin\$(AssemblyName).dll" DestinationFolder="$(WebsiteBinPath)" />

    <Copy SourceFiles="$(MSBuildProjectDirectory)\bin\$(AssemblyName).dll"  DestinationFolder="$(WebsiteBinPath)" />

  </Target>

  <Target Name="CopyFiles">

    <Copy SourceFiles="@(Views)" DestinationFolder="$(ModuleFolderName)" />

    <Copy SourceFiles="@(Styles)"  DestinationFolder="$(ModuleFolderName)" />

  </Target>

 

</Project>

 
New Post
5/27/2014 6:20 AM
 
please make sure, the dnn file is in top level of your installation package.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
5/28/2014 7:00 AM
 
OK I have solved the problem. When I created the package through dnn it created a zip file (the one we then install as an extension). Unfortunately not all the dll's were being packaged so I unzipped the files then added the missing dll's the re-zipped the files. Unfortunately this was not working. And yes the manifest (the dnn file) matched the dll's included.

How I got it working was to open the zipped file and navigate to my bin directory. I then dragged and dropped my missing files into this folder and it loaded like a treat.

The difference being I never unzipped the file, I just added my missing dll's to the zipped file. Correcting this got rid of my 2nd problem :)

Thanks Sebastian for trying much appreciated
 
Previous
 
Next
HomeHomeDevelopment and...Development and...Getting StartedGetting StartedCreating Package Not Zipping all dll filesCreating Package Not Zipping all dll files


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