Making assembly visible to a COM component

You need to perform only a couple of steps to expose any assembly to COM.

The 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.