title: Unable to compare database schema using SSDT Visual studio 2012 "Unable to determine the database platform type. The database may be unavailable.."
body: <p>I have created database project in Visual studio 2012 Version 11.0.60610.01 Update 3. 
  I am using this database project for comparing and publishing database on SQL Server 2008 R2 Version 10.50.4000.0</p>
  
  <p>My database project target platform was set to SQL Server 2008.</p>
  
  <p>My SSDT version is 11.1.20627.00</p>
  
  <p>Now my SQL Server version upgraded to SQL Sever 2012 Version 12.0.2000.8</p>
  
  <p>After that i changed my database project target platform to SQL Server 2012.</p>
  
  <p>But it is not allowing me to compare database schema or publish database.</p>
  
  <p>It throws following error</p>
  
  <p><strong>Error 345 Validation error in the target: <em>DB_Name</em> Unable to determine the database platform type.  The database may be unavailable..</strong></p>
  
  <p>I have also checked from Edit Connection wizard using Test Connection button that database connection is successful.</p>
  
  <p>Can anybody please help me on this?
  Is there any more configuration i need to set for changing database platform type?</p>