Referencing an Interop class

  • Thread starter Thread starter Earl
  • Start date Start date
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?
 
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
 
Back
Top