Documentation on nuspec token replacements

Jun 9, 2011 at 3:02 PM

Is there any documentation that outlines every $id$ $version$ and etc token replacement for the nuspec file?

Jun 30, 2011 at 12:43 AM

I logged a bug against our docs to document this.

From the code, we support:

manifest.Metadata.Id = "$id$";
manifest.Metadata.Version = "$version$";
manifest.Metadata.Description = "$description$";
manifest.Metadata.Authors = "$author$";

Jun 30, 2011 at 12:46 AM
Edited Jun 30, 2011 at 6:15 AM

FYI, more info:

  • ID: The Assembly Name (typically an assembly named Foo.dll will have an AssemblyName of "Foo")
  • Version: AssemblyName.Version (specified in the AssemblyVersionAttribute)
  • Description AssemblyDescriptionAttribute
  • Author: AssemblyCompanyAttribute

Jun 30, 2011 at 6:34 AM

I just posted updates to our docs with this information. See

I also posted information in the section on creating packages using a project file:

Make sure to hit CTRL + F5 to see the changes if you don’t see them.