简体   繁体   English

SQL Server数据工具和Visual Studio问题

[英]SQL Server Data Tools and Visual Studio Issue

I have just installed vs2010 sp1 ultimate, sqlserver 2012 and the latest version of sqlserver data tools. 我刚刚安装了vs2010 sp1 ultimate,sqlserver 2012和最新版本的sqlserver数据工具。 I have opened up a solution from source control and receive a bunch of error like the following when trying the build the database project. 我从源代码控制中打开了一个解决方案,并在尝试构建数据库项目时收到一堆错误,如下所示。

SQL71566: Microsoft.Data.Tools.Schema.Sql.SchemaModel.SqlFilegroup cannot not be set on both the Microsoft.Data.Tools.Schema.Sql.SchemaModel.SqlTable and the clustered Microsoft.Data.Tools.Schema.Sql.SchemaModel.SqlPrimaryKeyConstraint. SQL71566:Microsoft.Data.Tools.Schema.Sql.SchemaModel.SqlFilegroup不能同时在Microsoft.Data.Tools.Schema.Sql.SchemaModel.SqlTable和群集的Microsoft.Data.Tools.Schema.Sql.SchemaModel上设置。 SqlPrimaryKeyConstraint。

Running on Windows 7 professional, 64 bit 在Windows 7专业版,64位上运行

This is working fine for other members of the team and they all seem to have the same setup as me. 这对团队的其他成员来说很好,他们似乎都和我一样。

I have tried uninstalling and reinstalling vs2010 and ssdt 我已经尝试卸载并重新安装vs2010和ssdt

Any ideas anyone? 任何人的想法?

I was receiving this error with the November 2012 SSDT release but only when I moved a project from a 32 bit vista machine to a 64 bit vista machine. 我在2012年11月的SSDT版本中收到了这个错误,但只有当我将项目从32位vista机器移动到64位vista机器时。 I was able to get my project to build by enabling the project setting "Enable extended Transact-SQL verification for common objects.". 通过启用项目设置“为常见对象启用扩展的Transact-SQL验证”,我能够构建我的项目。 Enabling this setting in the past has caused other issues so I am not sure if this will surface other problems in this environment. 过去启用此设置会导致其他问题,因此我不确定这是否会在此环境中出现其他问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Visual Studio 2015中的SQL Server数据工具 - SQL Server data tools in visual studio 2015 没有Visual Studio的SQL Server数据工具 - Sql Server Data Tools without Visual Studio 如何在Visual Studio中更改Sql Server数据工具编辑器中的连接 - How to change the connection in Sql Server Data Tools Editor in Visual Studio SQL 服务器数据工具 - Visual Studio 2015 错误 - SQL Server Data Tools - Visual Studio 2015 Error 带有 Visual Studio 2010 的 SQL Server Data Tools 2017 - SQL Server Data Tools 2017 with Visual Studio 2010 恢复SQL Server数据工具(Visual Studio)删除的代码 - Recovering code deleted by SQL Server Data Tools (Visual Studio) Visual Studio在哪里存储SQL Server数据工具中使用的数据连接字符串 - Where does Visual Studio store data connection strings used in SQL Server Data Tools Visual Studio 2015 SQL Server数据工具缺少“添加表”选项 - Visual Studio 2015 SQL Server Data Tools missing “Add Table” option 我是否需要 Visual Studio Professional 许可证才能将 SQL 服务器数据工具用于商业目的? - Do I need a Visual Studio Professional license to use SQL Server Data Tools for business purposes? SQL Server数据工具版本17.x适用于哪个版本的Visual Studio? - SQL Server Data Tools version 17.x is available for which version of Visual Studio?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM