We are developing a WPF app which communicates with Rhino using rhino.inside. everything works fine when rhino is openend in RhinoCore(null, Rhino.Runtime.InProcess.WindowStyle.NoWindow) mode.
Once I change it to actually open the rhinowindow, we get these errors with couple of other plugins:
and the plugins that load will load with with weird graphics:
I was able to reproduce the problem with a dummy winforms project by not adding the code below to the csproj file:
However this code is in the original project…
It seems that the Rhino.UI is loaded from two different locations. We are working on a solution now… Problem seems to be that we are using rhinocommon nuget package instead of refering the Rhino installation folder.
Problem got resolved by removing all the nuget packages and just referencing straight to the dll files in Rhino folder and rhino.inside dll file that we copied from the nuget folder into our project folder…