[英]Equivalent of dotnet build --version-suffix when using MSBuild.exe
With the dotnet build
tool from the .NET SDK, you can pass --version-suffix
, for example to make prerelease packages with suffixes such as rc1
, etc. 使用.NET SDK中的
dotnet build
工具,您可以传递--version-suffix
,例如制作带有后缀的预发行版程序包,例如rc1
等。
I am having to use MSBuild.exe
directly in order to work around a bug with targetting net35
and want to know what the equivalent command line argument is for this. 我必须直接使用
MSBuild.exe
来解决以net35
为目标的错误,并想知道与此等效的命令行参数是什么。
Add the VersionSuffix
property to your msbuild
arguments: 将
VersionSuffix
属性添加到您的msbuild
参数中:
msbuild /p:VersionSuffix=rc2 ...
msbuild / p:VersionSuffix = rc2 ...
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.