SQL Server: "CREATE ASSEMBLY for assembly 'Test' failed because assembly 'Test' is malformed or not a pure .NET assembly."
<p>I get this error when I attempt to load a mixed mode C++/CLI assembly into SQL Server 2012:</p>

<pre><code>CREATE ASSEMBLY [Test]
AUTHORIZATION [dbo]
from 'H:\test.dll'
WITH PERMISSION_SET = SAFE
</code></pre>

<blockquote>
  <p>Msg 6544, Level 16, State 1, Line 1 CREATE ASSEMBLY for assembly
  'Test' failed because assembly 'Test.dll' is malformed or not a pure .NET
  assembly.  Unverifiable PE Header/native stub.</p>
</blockquote>