我在VS2013 (更新3)中创建了一个新的SQL Server数据库项目,并尝试构建,但失败了。我收到的唯一构建输出如下:
------ Build started: Project: Database1, Configuration: Debug Any CPU ------
Creating a model to represent the project...
Done building project "Database1.sqlproj" -- FAILED.
Build FAILED.
========== Build: 0 succeeded or up-to-date, 1 failed, 0 skipped ==========如果我通过MSBuild.exe详细地构建项目,我会看到以下内部故障:
Task "SqlBuildTask"
Creating a model to represent the project...
Done executing task "SqlBuildTask" -- FAILED.在网上搜索后,我尝试了以下方法来解决这个问题,但都无济于事:
-Restart VS
-Restart机器
-Repair VS更新3和重启
-Repair VS2013和重新启动
我遗漏了什么?
发布于 2016-10-21 03:30:58
还要检查您使用的MSBuild版本是否正确。通常,您的计算机上有多个MSbuild exe。14.0版本应该可以与Visual Studio 2015一起使用。
https://stackoverflow.com/questions/25774471
复制相似问题