[英]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. 过去启用此设置会导致其他问题,因此我不确定这是否会在此环境中出现其他问题。
This seems to be a bug to which MS has not yet delivered a fix: 这似乎是MS尚未提供修复的错误:
http://connect.microsoft.com/VisualStudio/feedback/details/765217/when-compiling-vs2010-database-project-in-vs2012-i-receive-error-sql71566 http://connect.microsoft.com/VisualStudio/feedback/details/765217/when-compiling-vs2010-database-project-in-vs2012-i-receive-error-sql71566
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.