Visual Studio build successful, MSBuild fails

后端 未结 7 2436
有刺的猬
有刺的猬 2021-02-19 02:08

I am trying to clean and rebuild a solution file with multiple projects from the command line using MSBUILD. For some reason my build fails (about 10% of the built projects fail

7条回答
  •  长发绾君心
    2021-02-19 02:45

    For me the problem was that the some projects in the solution were not included in the build configuration for the solution. Those projects were dependencies for the projects in the build configuration, so all the projects in the solution failed.

    After marking the dependcies projects with build in the solution configuration the msbuild ran successfully.

提交回复
热议问题