ISSUE :
 
Profile photo
Submitted by Elizabeth Davis
on June 13th, 2011 at 07:58:56 EST

RegAsm : warning RA0000 : No types were registered

I am trying to register my .NET assembly so that it can used by COM component like from ASP or VB. But when I executed Regasm.exe, I get this error message
"RegAsm : warning RA0000 : No types were registered".

Can any one please let me know what this means?


Profile photo
Replied by RaKumar
on June 13th, 2011 at 08:24:31 EST
Seems like you don't have [assembly: ComVisible(true)] in your AssemblyInfo.cs file in your project. Check your AssemblyInfo.cs file in your ClassLibrary project and make sure you have attribute [assembly: ComVisible(true)]. By default your ComVisible attribute is false. you have to make it true.
Accepted Answer
Accepted
 Answer

Profile photo
Replied by Elizabeth Davis
on June 13th, 2011 at 14:24:11 EST
that is what it was. I missed [assembly: ComVisible(true)] in my AssemblyInfo.cs file. Thanks for pointing it out.

Profile photo
Replied by Atul Rungta
on December 6th, 2012 at 01:36:48 EST
I also missed [assembly: ComVisible(true)] in my AssemblyInfo.cs file. Thanks a lot for this excellent coverage.