Referencing an Interop class

E

Earl

I have some crappy Intuit sample code that I'm trying to clean up and turn
into something useful. They reference a non-CLS compliant Interop class. Do
I have any options besides marking the entire VB.Net assembly non-compliant?
 
M

Mattias Sjögren

I have some crappy Intuit sample code that I'm trying to clean up and turn
into something useful. They reference a non-CLS compliant Interop class. Do
I have any options besides marking the entire VB.Net assembly non-compliant?

Just referencing another assembly that's non CLS compliant doesn't
affect your assembly. It only matters if you expose types from that
assembly in your own public interfaces. With proper encapsulation that
can be avoided.


Mattias
 

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

Top