This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

"class not registered" from ReSharper unit test, but not VS Run Test

I have a small unit test which connects to a Mainframe using Rumba.  When I select the test and do a ReSharper "Run Unit Test", it fails with:

System.Runtime.InteropServices.COMException: Class not registered (Exception from HRESULT: 0x80040154)

The stack trace does not allow us to investigate much further than the level of InitializeComponent for the Rumba control. There is a call to EndInit() and then:

    ParentInternal.CreateControl(fIgnoreVisible: true);

which fails...

However, when using the VS "Run Test", it runs successfully.

Any ideas?

Thanks,

Larry

Tags:

Labels:

Rumba