Finding documentation for the NuGet package XML file format

Posted: (EET/GMT+2)

 

I'm currently working on a set of custom NuGet packages to support my clients, but also my own use. NuGet package files are specified using an XML configuration file, which contains all the information needed to install, update, run and clean a NuGet package for a project or solution in Visual Studio.

Now, finding information about the NuGet package format is pretty easy, if you just know where to look. The official specification document is available on the NuGet documentation portal, and is titled "Nuspec Reference".

This "Nuspec" is, shortly put, the official XML documentation for all NuGet packages.

Happy hacking!