Specify publish version with MSBuild command line as assembly version of project

后端 未结 3 2007
轮回少年
轮回少年 2021-02-07 19:05

I have a simple batch file that I\'m running from a DOS command line that is used for building a small C# application that publishes a ClickOnce project. One line is this:

3条回答
  •  醉酒成梦
    2021-02-07 19:28

    msbuild xxx.csproj /target:clean;publish /property:ApplicationVersion=1.2.3.4
    

提交回复
热议问题