c# - How can I specify an author if I'm using nuget.exe CLI -
how can specify author if i'm using nuget.exe cli?
nuget pack some.csproj -includereferencedprojects
is there option -author? can't find in documentation.
you need use the properties command pass in values replacement tokens. need create new token authors becaues with exception of $configuration$, values in project used in preference assigned same token on command line , default $author$ token pulled assemblycompany in project.
in nuspec file
<authors>$customauthor$</authors> from command line
nuget pack some.csproj -includereferencedprojects -properties customauthor="scott chamberlain"
Comments
Post a Comment