title: Error when deploying a SQL project with Visual Studio 2008
body: <p>When deploying a SQL project with Visual Studio 2008 we create a .sql file. </p>
  
  <p>In the project properties we have set the deploy action: Create a deployment script. When building and deploying the project the .sql is generated as expected. When inspecting the generated code I see the following SQL code:</p>
  
  <blockquote>
    <blockquote>
      <p>CREATE ASSEMBLY [System.Core]
          AUTHORIZATION [dbo]
          FROM 0x4D5A9....
          WITH PERMISSION_SET = SAFE;</p>
    </blockquote>
  </blockquote>
  
  <p>Executing this piece of code will throw the following error.</p>
  
  <blockquote>
    <blockquote>
      <p>CREATE ASSEMBLY failed because assembly 'System.Core' is a system assembly. Consider creating a user assembly to wrap desired functionality.</p>
    </blockquote>
  </blockquote>
  
  <p>Why is this code generated in the first place and how can I prevent this code to be generated? (As far as I know we don't have any SQLCLR stored procedures OR LINQ in the project)</p>