Skip to content

Sources zip package

Darrell edited this page Mar 19, 2016 · 1 revision

As of version 2.0.6, DnnPackager will output a "sources" version of your install zip alongside the ordinary install zip to your project output directory.

A source file, is any file in your project that has a "build action" set to "compile". Therefore it's not a hard coded list of particular file extensions only.

The sources zip file, will contain everything the ordinary install zip does, but the "resources" zip file that's inside it will also contain these "source" files.

It delibrately does not contain the .csproj, or .sln files for reasons I have blogged about here: http://darrelltunnell.net/blog/2016/03/19/dnn-extensions-sources-packages-what-are-they/

Within VS, within the package manager console window, you type the Install-Module command as normal to install the ordinary zip install file as before to your local dev site. If you want to install the sources version of the install zip instead, use the new Install-ModuleSources command. Both commands have the same arguments. Info on wiki here: https://github.com/dazinator/DnnPackager/wiki/Package-Manager-Console-Commands