Currently there are a fixed number of attributes that are taken from a project's AssemblyInfo to be used as replacement tokens in a nuspec file when generating a package for a project.
Additional replacement values must be specified via the nuget command line only, in order to be usable as replacement tokens.
) could be used to automatically extend the replacement tokens in a very convenient way.
This would allow easy replacement of an $authors$ or $owners$ tokens in the .nuspec by simply having the following in a common assemblyinfo.cs:
[assembly: AssemblyMetadata("authors", "foo, bar")]
[assembly: AssemblyMetadata("owners", "Outercurve")]
Pull Request right here: