title: Registering a COM object created with VS C# 2010
body: <p>I created a COM object with C# yesterday which resulted in three files in the bin/release directory of my VS 2010 project (comclass.dll, comclass.pdb and comclass.tlb). Now, when I build the solution in the project, VS registers the class for me automatically on the development PC and I have no problem accessing the COM object and its methods from, let's say, Powershell. However, when I copy the three files onto a different machine and try to register the dll with regsvr32, it tells me that</p>
  <blockquote>
  <p>the module &quot;comclass.dll&quot; was loaded but the entry-point DllRegisterServer was not found.</p>
  <p>Make sure that &quot;comclass.dll&quot; is a valid DLL or OCX file and then try again.</p>
  </blockquote>
  <p>Using <code>regasm</code> with the <code>/tlb</code> parameter on the .tlb file gives me a similar message. So I am a little bit stumped. Anyone knows how I should proceed from here?</p>