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

Popular posts from this blog

asynchronous - C# WinSCP .NET assembly: How to upload multiple files asynchronously -

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -