title: SQL Server CLR backup Assembly causes MVID error
body: <p>I want to create a 'rollback' or backup script for a CLR assembly that is already in a database, i.e., usually with other types of object, I can script it out with SSMS and then rerun the script with a different object name to create a backup. However with CLR types I get this error</p>
  
  <blockquote>
    <p>Msg 6285, Level 16, State 1, Line 1<br>
    CREATE ASSEMBLY failed because the source assembly is, according to MVID, identical to an assembly that is already registered under the name "MYDB.CLRBackup".</p>
  </blockquote>
  
  <p>Example script being</p>
  
  <pre><code>CREATE ASSEMBLY [MYDB.CLRBackup]
  AUTHORIZATION [dbo]
  FROM 0x4D5A90000300000004000000FFFF.....;
  </code></pre>
  
  <p>What are people doing to create backup copies of CLR objects for 'rollback' versions or copies?</p>
  
  <p>Any thoughts appreciated</p>