Posted by Sébastien Lachance with Comments (0)
Today, I have tried FxCop from GotDotNet, and the first warning was about the assembly not marked with the ComVisible attribute. What this attribute does in fact is to limit access to components from Vb6. Here is how you can do that:Step 1: Open AssemblyInfo (cs or vb extension) file.Step 2: Add this [assembly: ComVisible(false)] or remove it if needed.)So it's all. I hope this is a worthy advice.
Related posts