[英]How to build project using MSBuild?
I need to build project B before building project A, using MSBuild.我需要在使用 MSBuild 构建项目 A 之前构建项目 B。
I've tried to write "D:\\Visual Studio\\IDE\\MSBuild\\Current\\Bin\\MSBuild.exe" $(SolutionDir)\\FeedBack.App\\FeedBack.App.csproj -property:Configuration=Debug
in project A prebuild command line, but I've got different errors before building it.我试过写
"D:\\Visual Studio\\IDE\\MSBuild\\Current\\Bin\\MSBuild.exe" $(SolutionDir)\\FeedBack.App\\FeedBack.App.csproj -property:Configuration=Debug
FeedBack.App.csproj "D:\\Visual Studio\\IDE\\MSBuild\\Current\\Bin\\MSBuild.exe" $(SolutionDir)\\FeedBack.App\\FeedBack.App.csproj -property:Configuration=Debug
in project A prebuild command行,但在构建之前我遇到了不同的错误。
Question : What do I need to change in the command?问题:我需要在命令中更改什么?
问题是,我没有将 msbuild 文件的路径作为 Windows 属性中的环境变量。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.