The plug-in does not appear to be compatible with this version of Rhino Custom Plugin

I have been writing a custom plugin for work and everything has been going well for Geometry Generation and otherwise. However it’s gotten to the point we need to create some UIs using XAML. I have taken the SampleCsWpf project from the RhinoCommon GitHub samples and basically copy pasted it into my project and refactored it somewhat. The separate project works well and the panel appears. But when I copy it into my project line by line and fix any tiny errors I get this message:

Unable to load .rhp plug-in.
The plug-in does not appear to be compatible with this version of Rhino

This is true for Rhino 6 and 7 WIP. And I have had this problem consistently whenever trying to factor XAML into a panel in my project, any slight addition seems to cause strange incompatibility issues. I’m not sure exactly what code to post, so please ask for anything necessary. Obviously I can’t post the whole project as it’s for my company.

For anyone else with this issue, it seemed to be that VS was copying RhinoWindows to the output folder which caused issues. Also I had Rhino6 Common and Rhino7 Windows running Rhino 7 WIP.

1 Like