How to prevent Rhino 8 from loading plugins registered only for Rhino 7?

I have a .NET plugin (IsDotNETPlugIn = 1) that was designed for Rhino 7. It is registered under:

HKEY_LOCAL_MACHINE\SOFTWARE\McNeel\Rhinoceros\7.0\Plug-Ins\{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}

with LoadMode = 2.

There is no corresponding entry under the 8.0\Plug-Ins\ path. However, Rhino 8 still picks it up and loads it on every startup, which causes problems.

I want to keep using this plugin in Rhino 7, but prevent Rhino 8 from loading it.

What I’ve tried

  • Created a key under HKLM\...\Rhinoceros\8.0\Plug-Ins\ with the same GUID and set Enabled = 0, LoadMode = 0, and FileName pointing to a non-existent path — none of these prevented Rhino 8 from loading the plugin.

  • Disabling in PlugInManager does not persist across restarts.

  • Renaming the .rhp file works, but also breaks Rhino 7.

Is there a supported way to block a specific plugin from loading in Rhino 8 while keeping it functional in Rhino 7?

related:

This could be a plugin-specific issue, because I’ve successfully done what you want to do and it persisted. Which plugin are you having trouble with?

PS. You can still see evidence of your plugin in menus and toolbars, but they don’t mean the plugin is loaded - plugin commands found there come back as unrecognised if you try to run them.