RegAsm error RE0000

Jul 29, 2012 at 8:37 AM

I received an email from a user with the following question. I thought I would post it here into the forums so others could see it.

Hi, I am trying to test the InteropForms Toolkit for C#.  I installed the version 2.1 and then the templates for VS 2010 C#.  I built a simple control in C# and built it.  I need to move the result to another computer and register it in order to have it registered as a valid ActiveX control.  

I tried doing doing using regasm but I get an invalid asembly error...

RegAsm : error RA0000 : Failed to load 'C:\Program Files\TestCSharp.dll' because it is not a valid .NET assembly

Jul 29, 2012 at 8:39 AM

Is it possible that you don't have the version of the .NET Framework on your test computer that is targeted by your user control project?