Visual Studio build successful, MSBuild fails

后端 未结 7 2580
有刺的猬
有刺的猬 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:36

    Try checking the paths to the references that MSBuild can't find in the non-building library's project file. Sometimes when you use VS or ReSharper to automatically add a reference for you the path ends up being to the \obj directory. VS seems able to cope with this, but MSBuild not so much.

提交回复
热议问题