Wednesday, 13 March 2013

Tips and tricks


Today, I have tried FxCop from GotDotNet, and the first warning was about the assembly not marked with ComVisible attribute. What this attribute does in fact is to limit access to components from Vb6 or else, to your assembly. Here is how you can do that:

Step 1: Open AssemblyInfo file.
Step 2: Add this or if needed.)

So it's all. I hope this is a worthy advice.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home