I have written a class library of which a UserControl is ComVisible.
When I register this using Visual Studio (check the "Register for Com interop" box and build), it is registered and works well. Now I would like to register on another machine. How do I do this?
I have tried using this (and every possible combination of this):
regasm.exe comdll.dll /tlb /nologo /codebase
Does anyone know which command Visual Studio 2010 uses to register COM dlls?
I have tried looking at the output window when building but this doesn't display anything.
When I use regasm.exe as described above, I get a message that the types are registered but no other messages. Shouldn't I get more information here?
Your help is much appreciated. If this is a duplicate please tell me. I have searched on stackoverflow but so far nothing has helped.