-
Notifications
You must be signed in to change notification settings - Fork 3
Upgrading from v1 to v2
Darrell edited this page Dec 19, 2015
·
7 revisions
If you have been using version 1, quite a bit has changed in version 2, including much tighter integration with MSBuild in order to keep your your solution cleaner. This means after updating to version 2, there are some things that you can now get rid of!
- Use NuGet as normal to update the DnnPackager to the latest version.
- It may ask you if you want to overwrite some content files such as "manifest.dnn". Click "No" if you have changes to these files you wish to preserve.
Once the update is complete, you can remove the following:
- Uninstall the
MsBuild Community Tasks
NuGet package. DnnPackager no longer needs this so you can remove it from your solution. - Delete (use your own judgement) the ".build" folder as this is typically mess thats left hanging around by
MsBuild Comminity Tasks
NuGet package that you should no longer need. - In windows explorer, in your Solution Directory - you might see an "InstallPackages" folder. You can delete this. Your install package zip files are now output just to your projects out dir - i.e bin/debug etc.
- In your project directories, there may be install zips, or "resources.zip" files that the old DnnPackager left there becuase it wasn't very good at cleaning up after itself. This is fixed in V2 as all packaging now occurs under the "obj" folder. You can safely delete those files in the project dir if they are hanging around.
- Due to a bug in V1 - you might have a file in your project directory called
rename.nuspecc
. This can safely be deleted.