The error says:
Failed to create extension manager for the target platform 'Microsoft.Data.Tools.Schema.Sql.Sql120DatabaseSchemaProvider'.
My teammate created the DB Project, but when I pulled it down from source control it failed to create.
The solution is to get an update to the "SQL Server Data Tools". You apparently have an older version.
Look in Visual Studio 2013 under Tools-->Extentions and Updates. On the left pane from there, click on Updates. Hopefully you'll be able to find the update you need there.
(Alternatively, run a repair installation on "SQL Server Data Tools" under Windows' Control Panel-->Programs.)
I fixed this problem by lowering the required version of the tools. I'm not sure why they are installed on his machine and not on mine, but edit the dbproj file and change the requirement to a lower version, like this:
Original:
<SchemaVersion>2.0</SchemaVersion> <ProjectVersion>4.1</ProjectVersion> <ProjectGuid>{......}</ProjectGuid> <DSP>Microsoft.Data.Tools.Schema.Sql.Sql120DatabaseSchemaProvider</DSP> <OutputType>Database</OutputType> <RootPath> </RootPath>
Updated: (don't include the *'s)
<SchemaVersion>2.0</SchemaVersion> <ProjectVersion>4.1</ProjectVersion> <ProjectGuid>{......}</ProjectGuid> **<DSP>Microsoft.Data.Tools.Schema.Sql.Sql110DatabaseSchemaProvider</DSP>** <OutputType>Database</OutputType> <RootPath> </RootPath>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With