Wednesday, September 15, 2010

Making assembly visible to a COM component

Following steps are necessary to make an assembly visible to a COM component:

  • Set the Register for COM option under the build configuration
  • Set the ComVisible attribute to true for each class you want exposed
  • Set the ComVisible attribute to false for any class members you want hidden
  • Set the ComVisible attribute to true for any class members that you want visible

No comments:

Post a Comment