Umbraco package to nuget converter

Converts!

Download code as .zip Download binaries as .zip View on GitHub

Converts Umbraco packages to Nuget packages.
Supports packages with content- and binary files.
For Umbraco DB stuff, you'll have to do some manual operations after install.
For instance adding doctypes with uSync.
When problems like these are found, the package source directory is left on disk,
so you could for instance add content\usync\documenttypes\whatever..

Usage: PackageToNuget <inputfile>

Example:

PackageToNuget Google_Maps_for_Umbraco_2.1.0.zip

Output:

Attempting to open Google_Maps_for_Umbraco_2.1.0.zip  
Read package definition Google Maps for Umbraco 2.1.0  
Making temporary directory 6c9907d913304641b16f3eb9873f6db8  
Building nuget structure  
Packaging 6c9907d913304641b16f3eb9873f6db8\Google Maps for Umbraco.nuspec  
Google Maps for Umbraco.nupkg generated  
Removing temp directory

No problems, custom "property editor" dll ready as nuget package.

Example:

PackageToNuget imagegen_2.9.0.zip

Output:

Attempting to open imagegen_2.9.0.zip  
Read package definition ImageGen 2.9.0  
Install control configured, custom logic might be ignored.  
Making temporary directory 949d90251d0240b6bd9b86497999a122  
Building nuget structure  
Packaging 949d90251d0240b6bd9b86497999a122\ImageGen.nuspec  
ImageGen.nupkg generated  
Problems found, leaving package directory for modification.

Would generate nuget package without web.config transform done in ImageGen's installed control.

Example:

PackageToNuget doctypemixins_2.0.zip

Output:

Attempting to open DocTypeMixins_2.0.zip  
Read package definition DocTypeMixins 2.0  
DocumentTypes contains 1 entries which will be ignored  
Empty readme, using name as description  
Making temporary directory f24ee9a174374c0dbcecf02d995f949a  
Building nuget structure  
Packaging f24ee9a174374c0dbcecf02d995f949a\DocTypeMixins.nuspec  
DocTypeMixins.nupkg generated  
Problems found, leaving package directory for modification.

Would generate nuget package without root doctype for mixins.
Must be done with uSync or similar.