ComVisible

  • Thread starter Thread starter RedLars
  • Start date Start date
R

RedLars

Hi,

Ran Fxcop on three projects today and it complainted about not having
set ComVisible. Must admit I have no experience or knowledge of COM.
The three projects consist of an application and two libraries, one of
the libraries might be re-used in another context but it is unlikely.
By the way, the projects are C# \ .NET 1.1.

Could someone give me advice on enabling or disabling ComVisible?

Cheers :)
 
Hi,

Ran Fxcop on three projects today and it complainted about not having
set ComVisible. Must admit I have no experience or knowledge of COM.
The three projects consist of an application and two libraries, one of
the libraries might be re-used in another context but it is unlikely.
By the way, the projects are C# \ .NET 1.1.

Could someone give me advice on enabling or disabling ComVisible?

Cheers :)

It indicate that you should explicitely state if it's going to be COM
visible or not, take a look at ComVisibleAttribute class. You can
apply it to the asembly and it cover all the t ypes define there.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top