Reputation: 599
I looked on StackOverflow, but did not see a posted question/solution for this (but maybe missed).
I am looking for a way to test my COM server that is created in C# (i.e. registered for COM interop). When I try and add a reference to the COM object in a different C# project I get the error "...COMTest.tld was exported from a .NET assembly and cannot be added as a reference." I tried from VB and, of course, the same error. The references for the new projects in C# and VB were done from the COM tab after selecting Add Reference when right clicking on the solutions. Finally, I went to Visual C++, but did not see a way to add the reference and access COMTest.
Thanks for looking and any help! Feel free to let me know if any clarification is needed.
Upvotes: 0
Views: 86