title: newtonsoft.json parser in a C# CLR for SQL Server 2008 R2 - How to deploy?
body: <p>I have created a <code>CLR</code> which uses the <code>newtonsoft json parser.</code></p>
  
  <p>I need to deploy the <code>CLR</code>. I have created an assembly for the parser dependency:</p>
  
  <pre><code>CREATE ASSEMBLY [Newtonsoft.Json] FROM 'C:\share\Release\Newtonsoft.Json.dll' WITH PERMISSION_SET = UNSAFE
  </code></pre>
  
  <p>The above statement throws an error:</p>
  
  <pre><code>`Assembly 'Newtonsoft.Json' references assembly 'system.runtime.serialization, version=3.0.0.0, culture=neutral, publickeytoken=b77a5c561934e089.', which is not present in the current database. SQL Server attempted to locate and automatically load the referenced assembly from the same location where referring assembly came from, but that operation has failed (reason: 2(failed to retrieve text for this error. Reason: 15105)).` Please load the referenced assembly into the current database and retry your request.
  </code></pre>
  
  <p>I am using version <code>7.xx</code> of the <code>parser</code>.
  I am targeting <code>.NET 3.5</code></p>
  
  <p>What is the proper procedure for deploying the <code>CLR</code> to <code>sql server 2008 r2</code>?</p>