I have noticed a slight incompatibility beween the version of Eto.Forms that ships with Rhino and the one on Nuget.
Steps to reproduce:
- create a new c# project, add the Gh / RhinoCommon nugets
2.5.0is installed as a dependency as well
- add the following code to a class:
var form = new Eto.Forms.Form(); form.Owner = Grasshopper.Instances.EtoDocumentEditor;
- VS will complain with the following error (in the editor):
- Update the Eto Nuget to 2.5.7 (latest), the problem still persistes
If instead I remove the Nuget and reference the
Eto.dll in my Rhino installation folder the error goes away. It seems that’s because Rhino is using a
We’ve currently copied a
Eto-2.5.7-dev.dll in our repo, but ideally we wouldn’t have to do so .
Is there anything we could/should be doing differently?