Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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. 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.

Running on Windows 7 professional, 64 bit

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

Any ideas anyone?

like image 972
user1786107 Avatar asked Oct 30 '12 15:10

user1786107


1 Answers

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. I was able to get my project to build by enabling the project setting "Enable extended Transact-SQL verification for common objects.". Enabling this setting in the past has caused other issues so I am not sure if this will surface other problems in this environment.

like image 193
Richard Collette Avatar answered Sep 21 '22 14:09

Richard Collette