title: How to unregister the assembly registered using regasm
body: <p>I registered one of my dlls on the development machine using regasm as below (ASP application)</p>
  
  <p>In a cmd prompt, I navigated to 
  C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727 and did:</p>
  
  <pre><code>regasm /tlb "xxx.dll"
  </code></pre>
  
  <p>Now I made some changes in the dll. So I unregistered the dll using the command:</p>
  
  <pre><code>regasm /u xxx.dll /tlb:xxx.tlb
  </code></pre>
  
  <p>Then I registered the updated dll again with previous command. But the changes are not coming up in the project, so I doubt it's still pointing to the old dll. I restarted the machine, but that did not help.
  So:</p>
  
  <ol>
  <li>What are the ways to make sure my old dll is removed and the current one is new?</li>
  <li>Is there any physical path to check them manually?</li>
  </ol>
  
  <p><strong>UPDATE:</strong> The below solution fixed the issue.</p>
  
  <p>To Register:</p>
  
  <pre><code>SET WorkFolder= '&lt;directory&gt;'
  regasm.exe %WorkFolder%\xxx.dll /Codebase
  </code></pre>
  
  <p>To unregister.</p>
  
  <pre><code>SET WorkFolder= '&lt;directory&gt;'
  regasm.exe /unregister %WorkFolder%\xxx.dll
  </code></pre>