I got help on one of my packages from Jeavon who showed me how to add a Build Package (that uses MS Build) that generated not only a NuGet package but also an Umbraco package.
The BuildPackage folder was added manually. You can basically copy the entire folder from my repo (if you want) and just use that as the starting point. The only thing you'd really need to change are the XML and NuSpec files.
Yes, the NuGet.exe is downloaded from exactly where you state.
How to create Nuget package?
Hi all,
I had a question on the community if there was a Nuget package available of my backoffice plugin.
For honestly, I have never done this before so i don't know where to start.
Any ideas or guidelines for this?
/Michaël
I got help on one of my packages from Jeavon who showed me how to add a Build Package (that uses MS Build) that generated not only a NuGet package but also an Umbraco package.
You can see how it works at:
https://github.com/DanDiplo/UmbracoTraceLogViewer/tree/master/BuildPackage
Edit
package.build.xml
and configure the values to suit your package. Then runBuild.bat
Hopefully that will get you going in the right direction.
Hi Dan,
thanks for the intel will look into it!
/Michaël
Dan,
I am checking your BuildPackage folder to make a nuget package of my project but I can't seem to find the starting point here.
Questions:
/Michaël
Hi,
The BuildPackage folder was added manually. You can basically copy the entire folder from my repo (if you want) and just use that as the starting point. The only thing you'd really need to change are the XML and NuSpec files.
Yes, the NuGet.exe is downloaded from exactly where you state.
Dan
is working on a reply...