在命令行中使用 msbuild 定义多个编译条件 DefineConstants 时出错
主要是分号闹得,改成 %3B 转义一下就好了。
例如:msbuild /t:rebuild "/property:DefineConstants=PROD%3BCODE_ANALYSIS"
参考:https://stackoverflow.com/questions/24830088/command-line-msbuild-with-multiple-defineconstants
输了你,赢了世界又如何...