Search code examples
.netcomwindows-installerc#-2.0

Do I need to COM enable and register my Library?


I have a C# COM Enabled Library which talks to a third-party application. I am using a Visual Studio Setup Project to register and populate a required registry key.

Should I be COM registering the Library.dll and/or Library.tlb file?

Note: This question was based on the fact I was actually registering both files. The actual problem was that the third-party program could not find either file based on its error logs.


Solution

  • After some additional research the reason my file could not be found was for an entirely different reason. The code to determine the value within a registry key was using the wrong value.