In this post we will discuss one fix for the issue “RegAsm : warning RA0000 : No types were registered”. You may get this warning when you try to register an assebly using RegAsm. if you need to know more about RegAsm, you can see here.
Solution to “RegAsm : warning RA0000 : No types were registered”
Go to your AssemblyInfo.cs. You can see that class under property.
What is AssemblyInfo.cs
Basically AssemblyInfo.cs is used to document all of the dll’s or exe’s you have in your project. It can include the informations about from where the codes comes from, and the version details. You can always check here for more information regarding AssembleInfo class file.
Open the file and search for ComVisible. You can see ComVisible has been set to false as follows.
Setting ComVisible to false makes the types in this assembly not visible to COM components. If you need to access a type in this assembly from COM, set the ComVisible attribute to true on that type.
Now if you run your command with RegAsm, you will not get this warning.
Did I miss anything that you may think which is needed? Could you find this post as useful? I hope you liked this article. Please share me your valuable suggestions and feedback.
Your turn. What do you think?
A blog isn’t a blog without comments, but do try to stay on topic. If you have a question unrelated to this post, you’re better off posting it on C# Corner, Code Project, Stack Overflow, Asp.Net Forum instead of commenting here. Tweet or email me a link to your question there and I’ll definitely try to help if I can.