n Rhino 9.0.26300.9401, any C# script fails to run when the runtime is set to .NET Core. With SetDotNetRuntime set to .NET Framework, the same script runs fine.
Minimal script:
csharp
using Rhino;
using Rhino.UI;
Dialogs.ShowMessage("Hello", "Hello");
Error
FileLoadException: Could not load file or assembly 'System.Collections.Immutable, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. Could not find or load a specific file. (0x80131621)
The Rhino log also shows the C# completion provider failing, CSharpCodeScriptTransformer.Transform failing, and stub building failing for Microsoft.CodeAnalysis 5.0.0.0 and System.Management 10.0.0.0 (System.CodeDom 10.0.0.0 not found).
Findings
- Runtime reported by Python 3 in Rhino:
.NET 8.0.33 C:\Program Files\Rhino 9\System\netcore\System.Collections.Immutable.dllhas file version 10- Roslyn (
Microsoft.CodeAnalysis5.0.0.0) requests 9.0.0.0, the resolver asks for 10.0.0.0, while the host is .NET 8 - System .NET runtimes installed: 8.0.33, 9.0.17, 10.0.14 (x64)
It looks like the netcore folder ships .NET 9/10 assemblies while the host runs .NET 8.
System info: (paste _SystemInfo output)
Full log attached.
Rhino 9 SR0 2026-10-27 (Rhino 9, 9.0.26300.09401, Git hash:master @ b5c4aa079c11dd91ccd7b6aa067f5029f3fccf72)
License type: Evaluation, build 2026-10-27
License details: Cloud Zoo
Expires on: 2027-01-28
Windows 11 (10.0.26200 SR0.0) or greater (Physical RAM: 32GB)
.NET 8.0.33
Computer platform: DESKTOP
Standard graphics configuration using DirectX
Primary display: NVIDIA RTX A4000 (NVidia) Memory: 16GB, Driver date: 9-4-2026 (M-D-Y). DirectX(11)
Accelerated graphics device with 4 adapter port(s)
- Windows Main Display attached to adapter port 0
Secondary graphics devices.
None found.
DirectX Settings
Safe mode: Off
OpenBLAS: OpenBLAS 0.3.30 DYNAMIC_ARCH NO_AFFINITY SkylakeX MAX_THREADS=64.
Rhino plugins that do not ship with Rhino
D:\JFR8.0\8.0sr3\JFRGemCoolHelpe.rhp “JFRGemCoolHelpe” 1.0.0.0
D:\JFR8.0\8.0sr3\ARingSize.rhp “JFR” 1.0.0.0
C:\Program Files\Common Files\McNeel\Rhinoceros\7.0\Plug-ins\ElefrontProperties (5db9285b-b408-41e2-b815-ed6ad84fd4a9)\1.0.0.0\Rhino 6\ElefrontProperties.rhp “ElefrontProperties” 1.0.0.0
D:\JFR8.0\8.0sr3\JewellyForRhino.rhp “JewellyForRhino”
C:\Users\Riccardo\Google Drive\Progetti VS2015\RhinoJobs\bin\RhinoJobs.rhp “RhinoJobs” 1.0.0.0
D:\JFR8.0\8.0sr3\JFR_renderc.rhp “JFR_renderc” 1.0.0.0
C:\ProgramData\McNeel\Rhinoceros\packages\9.0\Grasshopper_Gold_Tools\1.0\Grasshopper_Gold_Tools.rhp “Grasshopper_Gold_Tools” 2.0.0.0
Rhino plugins that ship with Rhino
C:\Program Files\Rhino 9\Plug-ins\Commands.rhp “Commands” 9.0.26300.9401
C:\Program Files\Rhino 9\Plug-ins\rdk.rhp “Renderer Development Kit”
C:\Program Files\Rhino 9\Plug-ins\RhinoAI\net8.0\RhinoAI.rhp “RhinoAI” 9.0.26300.9401
C:\Program Files\Rhino 9\Plug-ins\3dxRhino.9.rhp “3DxRhino.9”
C:\Program Files\Rhino 9\Plug-ins\UpdatesAndStatistics\UpdatesAndStatistics.rhp “UpdatesAndStatistics” 9.0.26300.9401
C:\Program Files\Rhino 9\Plug-ins\RhinoRenderCycles.rhp “Rhino Render” 9.0.26300.9401
C:\Program Files\Rhino 9\Plug-ins\rdk_etoui.rhp “RDK_EtoUI” 9.0.26300.9401
C:\Program Files\Rhino 9\Plug-ins\NamedSnapshots.rhp “Snapshots”
C:\Program Files\Rhino 9\Plug-ins\MeshCommands.rhp “MeshCommands” 9.0.26300.9401
C:\Program Files\Rhino 9\Plug-ins\RhinoCycles.rhp “RhinoCycles” 9.0.26300.9401
C:\Program Files\Rhino 9\Plug-ins\RhinoCode\RhinoCodePlugin.rhp “RhinoCodePlugin” 9.0.26300.9401
C:\Program Files\Rhino 9\Plug-ins\Displacement.rhp “Displacement”
C:\Program Files\Rhino 9\Plug-ins\SectionTools.rhp “SectionTools”
Grazie Riccardo