Embedded Manifest with COM Free registration not working with NUNIT

0

I have an application which has an embedded manifest. I use COM free registration to make use of a 3rd party COM dll. The application works without errors. However when using NUNIT for integration tests, it throws:

Retrieving the COM class factory for component with CLSID {GUID} failed due to the following error 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))

Which seems to suggests that running the tests the embedded resource is not read/loaded for the COM free registration. Any suggestions to resolve this?

nunit
manifest
asked on Stack Overflow Oct 12, 2017 by Shyam • edited Oct 12, 2017 by Dan

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0