更新时间:2021-09-20 03:15:12
在我的例子中,我的构建定义被配置为构建我的 .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
文件(其中工具版本确实设置为 12.0
)..proj
file (where the tools version is indeed set to 12.0
).