在命令行中使用 msbuild 定义多个编译条件 DefineConstants 时出错

主要是分号闹得,改成 %3B 转义一下就好了。 例如:msbuild /t:rebuild "/property:DefineConstants=PROD%3BCODE_ANALYSIS" 参考:https://stackoverflow.com/questions/24830088/command
posted @ 2024-06-28 18:58  不是豆豆  阅读(1)  评论(0编辑  收藏  举报
友情链接:迷途