So I have a bit more info for you.
- Executing
Rhino.Runtime.InProcess.RhinoCore(...)
withWindowStyle.NoWindow
Just fails silently without any exceptions being thrown or anything - However, running it with
WindowStyle.Normal
or seemingly any other option will pop up an exception
Here is the “Copy Details” from the exception in Visual Studio
System.Runtime.InteropServices.COMException
HResult=0x80004005
Message=Error HRESULT E_FAIL has been returned from a call to a COM component.
Source=<Cannot evaluate the exception source>
StackTrace:
<Cannot evaluate the exception stack trace>
And this happens regardless of if the args passed to RhinoCore
is “/netfx” or “/netcore”.
The project setting up and using this test fixture is net6.0.
For an example project that has this same test fixture in it, see my post here: RhinoInside not working for unit tests after updating to Rhino 8.10.24228