Referencing an Interop class

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Earl

    #1

    Referencing an Interop class

    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?


  • Mattias Sjögren

    #2
    Re: Referencing an Interop class

    >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

    --
    Mattias Sjögren [C# MVP] mattias @ mvps.org
    http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
    Please reply only to the newsgroup.

    Comment

    Working...