title: Not able to deploy C# SQL CLR database project from Visual Studio 2010 to SQL Server 2014
body: <p>I have Visual Studio 2010 Professional and SQL Server 2014. I have created a very simple SQL CLR database application which will just printing a message after an insertion happen in a table. There is no error when I build the application but whenever I try to deploy it I am getting the error: </p>
  
  <blockquote>
    <p>SqlClrDeploy:<br>
    Beginning deployment of assembly TestCLR.dll to server WIN-GECJT\SQLEXPRESS : Checkbox<br>
    The following error might appear if you deploy a SQL CLR project that was built for a version of the .NET Framework that is incompatible with the target instance of SQL Server: "Deploy error SQL01268: CREATE ASSEMBLY for assembly failed because assembly failed verification". To resolve this issue, open the properties for the project, and change the .NET Framework version.</p>
    
    <p>C:\ProgramFiles\MSBuild\Microsoft\VisualStudiov10.0\TeamDataMicrosoft.Data.Schema.SqlClr.targets(96,5): Deploy error SQL01234: The database version is not supported.</p>
    
    <p>Build FAILED.</p>
  </blockquote>
  
  <p>I have also tested it by changing my project's target framework to 2.0 and 3.5 but getting the same error every time.</p>
  
  <p>When I run the below command to see My SQL Server 2014 CLR version:</p>
  
  <pre><code>select * from sys.dm_clr_properties;
  </code></pre>
  
  <p>It shows me version <strong>v4.0.30319</strong></p>
  
  <p>If Visual Studio 2010 and SQL Server 2014 has the same version v4.0 then why I am getting this compatibility error?</p>
  
  <p>Or we just cannot simply deploy SQL CLR 2010 project on SQL Server 2014?</p>