Search code examples
c#nugetrhino3deto

Visual Studio, Compiler Error CS0012 type is not referenced in an assembly, when I have already added this reference


enter image description here

I don't understand. The code shows an error asking for an assembly which I already added (Eto.dll) The required version tallies with the current dll I have.

what am I missing?


Solution

  • The RhinoWindows package can be used if you need to reference Eto.Wpf.dll in a Rhino plug-in project. The RhinoWindows and Rhinocommon packages explicitly do not copy their assemblies to the output directory during compile, since they are already included in the Rhino installation (you can see the RhinoWindows.targets file on nuget.info).