更新时间:2022-06-24 03:07:37
对于我来说,我的构建定义被配置为构建我的.sln
文件而不是我的.proj
文件.我记得配置它来构建MSBuild项目,但是它似乎已经恢复为解决方案了.
In my case, my build definition was configured to build my .sln
file instead of my .proj
file. I remember configuring it to build the MSBuild project, but somehow it seems to have reverted to the Solution.
无论如何,我找到了解决该问题的两种方法:
Anyway, I found two solutions to the problem:
.proj
file (where the tools version is indeed set to 12.0
).