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:
still using the old compiler (not the most recently updated), and Rhino 6
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.