title: How to register a .NET assembly as COM?
body: <p>I have created a class library for a workflow on a local machine and build that. I moved the complete solution to a Tridion server and tried to register the assembly in the server using regasm.exe tool as below:</p>
  
  <pre><code>C:\User\XYZ\Desktop\&gt;RegAsm \codebase F:\Workflow\WorkflowHandler/bin/debug/WorkflowHandler.dll
  </code></pre>
  
  <p>I got the following error:</p>
  
  <blockquote>
    <p>failed to load 'F:\Workflow\WorkflowHandler/bin/debug/WorkflowHandler.dll
    ' because it is not a valid .NET Assembly.</p>
  </blockquote>
  
  <p>My server details:</p>
  
  <p>64-bit, <a href="https://en.wikipedia.org/wiki/Windows_Server_2008#Windows_Server_2008_R2" rel="noreferrer">Windows Server 2008 R2</a> Enterprise, and .NET Framework 4 installed.</p>