本文介绍了VS2013 数据库项目构建失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 VS2013(更新 3)中创建了一个新的 SQL Server 数据库项目并尝试构建但它失败了.我收到的唯一构建输出如下:

I created a new SQL Server Database Project in VS2013 (Update 3) and attempted to build but it fails. The only build output I receive follows:

------ 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 以详细的详细信息构建项目,我会看到以下内部故障:

If I build the project via MSBuild.exe with detail verbosity I see the following inner failure:

Task "SqlBuildTask"
  Creating a model to represent the project...
Done executing task "SqlBuildTask" -- FAILED.

在网上搜索后,我尝试了以下方法来解决此问题,但无济于事:

After searching the web I have tried the following to resolve this to no avail:

-重启VS

-重启机器

-修复 VS Update 3 并重启

-Repair VS Update 3 and reboot

-修复VS2013并重启

-Repair VS2013 and reboot

我错过了什么?

推荐答案

联系微软的朋友后,他建议修复 Data Tools 安装在

After contacting a friend at Microsoft, he suggested repairing the Data Tools install at

https://docs.microsoft.com/en-us/sql/ssdt/download-sql-server-data-tools-ssdt

然后就解决了.

谢谢查克!

这篇关于VS2013 数据库项目构建失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-21 05:35