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

Comments

Popular posts from this blog

Create Chatbot Based Using GPT-Index/LlamaIndex | OpenAI | Python

Generate The Streamed Response Using Semantic Kernel

Azure Model Router: The Smart AI Traffic Controller