What fields / data is mandatory for a new nuget package?

Topics: General
Jul 9, 2012 at 9:09 AM

Hi,

I would like to publish my first nuget package, basically a collection of Silverlight / WPF / WP7 utilities that I have created on my blog, including Linq-to-VisualTree

http://www.scottlogic.co.uk/blog/colin/2010/03/linq-to-visual-tree/

I tend to add these to every single project I work on!

I would like to know what information is mandatory for a nuget package? do I need a project URL or a licence URL? 

I tried downloading the schema t determine which elements were required, but it does not exist at the indicated location:

http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd

Is there some documentation someone could point me to?

Thanks! Colin E.

Coordinator
Jul 9, 2012 at 4:45 PM

Hi Colin,

Sure! We have pretty extensive documentation at http://docs.nuget.org/. You might want to check out the NuSpec reference: http://docs.nuget.org/docs/reference/nuspec-reference.

Phil