nuget.exe
CLIを使用している場合、著者を指定するにはどうすればよいですか?nuget.exeを使用している場合に著者を指定する方法CLI
nugetパックsome.csproj -IncludeReferencedProjects
は-author
のような任意のオプションがありますか?私はドキュメンテーションで何も見つけることができません。
nuget.exe
CLIを使用している場合、著者を指定するにはどうすればよいですか?nuget.exeを使用している場合に著者を指定する方法CLI
nugetパックsome.csproj -IncludeReferencedProjects
は-author
のような任意のオプションがありますか?私はドキュメンテーションで何も見つけることができません。
の下のような設定ファイルに著者情報を追加する必要があります。あなたは
nuget pack some.csproj -IncludeReferencedProjects -properties CustomAuthor="Scott Chamberlain"
コマンドラインから
<authors>$CustomAuthor$</authors>
nuspecファイルでは、著者のbecaues with the exception of
$configuration$
, values in the project will be used in preference to any assigned to the same token on the command line and the default $author$
token is pulled from AssemblyCompany
in the project.
のための新しいトークンを作成する必要があります
あなたはあなたが置換トークンに値を渡すためにthe properties
commandを使用する必要が<authors>JiaLei</authors>