Rhino Package Installer problem with compiled plugins


I have recently had some plugin users reporting this message when trying to install rhi of a plugin I have compiled. So the installer does not work, however if they unzip the rhp from rhi, it works fine…
I have not seen this before and cannot replicate on my end with the same plugin. Wondering if there is anything I am missing.

Some more info:

  1. still using the old compiler (not the most recently updated), and Rhino 6
  2. my Rhino is V6 SR27 RC
  3. plugin SDK: C:\Program Files\Rhino 6\System\RhinoCommon.dll

Any ideas what is going on? I think the problem happens in Rhino 6, not sure about WIP.




@will, is this something you can help with?

Hey Jarek,

The old RhinoScriptCompiler references RhinoCommon.dll from the installed Rhino when compiling the plug-in. Given that you’ve installed a release candidate, I think it’s likely that the version of Rhino that you have is newer than the version used by your users.

Have you tried the new RhinoScriptCompiler that’s included with Rhino 7 WIP? It produces compiled plug-ins that are compatible with any version of Rhino 6 and I believe it will work with your existing project. It’s located at “C:\Program Files\Rhino 7 WIP\System\RhinoScriptCompiler.exe”.

Alternatively it looks like there’s an option in the old RhinoScriptCompiler to override the path to RhinoCommon.dll. You could try downloading an older version of RhinoCommon from NuGet – 6.15.19164.21011 would be a safe bet, I think. click “Download Package”, rename the .nupkg to .zip and extract. You could then set the “SDK” option in the “Plugin Data” screen to the 6.15 RhinoCommon.dll.

Hi Will, thank you for the information - It makes sense, I will try to use Rhino 7 WIP compiler from now on then to compile any new plugins since you say it should work with any Rhino 6 SR.