title: Error creating CLR Assembly for SQL Server 2012
body: <p>I have a CLR Package made using VB.NET in Visual Studio 2012 that I'm trying to deploy to a SQL Server 2012 database. The solution has two projects, one that will be the CLR and another that is referencing a Web Service. Anytime I try to deploy to SQL, I get the following error</p>
  
  <blockquote>
    <p>(47,1): SQL72014: .Net SqlClient Data Provider:<br>
    Msg 6211, Level 16, State 1, Line 1<br>
    CREATE ASSEMBLY failed because type 'SSRSService.ReportExecutionService.ReportExecutionService' in safe assembly 'SSRSService' has a static field '__ENCList'. Attributes of static fields in safe assemblies must be marked readonly in Visual C#, ReadOnly in Visual Basic, or initonly in Visual C++ and intermediate language.<br>
    An error occurred while the batch was being executed.</p>
  </blockquote>
  
  <p>I've already ensured that the project has the Permission level UNSAFE and that TRUSTWORTHY is ON for the SQL Server. </p>
  
  <p>The weird thing is that the field it's claiming to be the problem doesn't even exist! The project that it's complaining about only contains a Web Service reference and nothing more. </p>