Develop plugin for Rhino 6

I see the template for

RhinoCommon Plug-In for Rhino 7 (C#)

in the extension manager, VS 2022 and have found that I can develop for Rhino 6 using it, but debugging is out of the question. Any attempt to add a watch on any symbol yields:

error CS1705: Assembly ‘RhinOffsets2023’ with identity ‘RhinOffsets2023, Version=, Culture=neutral, PublicKeyToken=null’ uses ‘RhinoCommon, Version=7.13.21348.13000, Culture=neutral, PublicKeyToken=552281e97c755530’ which has a higher version than referenced assembly ‘RhinoCommon’ with identity ‘RhinoCommon, Version=6.35.21222.17001, Culture=neutral, PublicKeyToken=552281e97c755530’.

There’s a lot of Greek for a simple boat designer who just wants to develop tools for his trade, but I think it’s telling me that I need to develop under a template specific for Rhino 6.

Currently working in:
Version 6 SR35
(6.35.21222.17001, 8/10/2021)

Hi @cestes001,

There is this:

There isn’t much to the templates, honestly. All they do is create .NET Framework Class Library projects that reference Rhino assemblies.

– Dale

in case that does not help, here is a sample project I have confirmed to be working fine with vs2022 and the rhino 6 on my machine, including debugging (I added a PseudoDebug configuration that is like release, but without optimization)

this uses rhinocommon from your rhino 6 installation (you will have to adjust paths if installed in a non-standard location) so it cannot be out of sync; usually I grab a copy and put it in version control with my project instead, to ensure nothing can happen unexpectedly – in either case the main thing is just to make sure CopyLocal is set to false in the properties for the rhinocommon reference (26.4 KB)

Teriffic. Thank you both. I’ll dig into it in the morning.