File tree Expand file tree Collapse file tree
Rhino.Testing.Tests.SetupAttribute
Rhino.Testing.Tests.SetupFixture Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Change Log
22
3+ ## [ 9.0.7-beta] - 2026-04-10
4+ - Fix broken GH Tests
5+ - Find GH on Linux
6+ - add net9.0 to csproj
7+
38## [ 9.0.6-beta] - 2026-04-07
49- Bump Rhino.Inside to 9.0.26084.13070-beta to better support Linux.
510
Original file line number Diff line number Diff line change 1515 </PropertyGroup >
1616
1717 <PropertyGroup >
18- <RhinoTestingVersion >9.0.6 </RhinoTestingVersion >
18+ <RhinoTestingVersion >9.0.7 </RhinoTestingVersion >
1919 <RhinoInsideVersion >9.0.26084.13070-beta</RhinoInsideVersion >
2020 <RhinoAPIVersion >9.0.25350.305-wip</RhinoAPIVersion >
2121 <SourceDir >$(MSBuildThisFileDirectory)src\</SourceDir >
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk" >
22 <PropertyGroup >
3- <TargetFrameworks >net48;net7.0-windows;net8.0-windows</TargetFrameworks >
3+ <TargetFrameworks >net48;net7.0-windows;net8.0-windows;net9.0 </TargetFrameworks >
44 <IsPackable >false</IsPackable >
55 <ImplicitUsings >enable</ImplicitUsings >
66 <Nullable >enable</Nullable >
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk" >
22 <PropertyGroup >
3- <TargetFrameworks >net48;net7.0-windows;net8.0-windows</TargetFrameworks >
3+ <TargetFrameworks >net48;net7.0-windows;net8.0-windows;net9.0 </TargetFrameworks >
44 <IsPackable >false</IsPackable >
55 <ImplicitUsings >enable</ImplicitUsings >
66 <Nullable >enable</Nullable >
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk" >
22 <PropertyGroup >
3- <TargetFrameworks >net48;net7.0-windows;net8.0-windows</TargetFrameworks >
3+ <TargetFrameworks >net48;net7.0-windows;net8.0-windows;net9.0 </TargetFrameworks >
44 <IsPackable >false</IsPackable >
55 <ImplicitUsings >enable</ImplicitUsings >
66 <Nullable >enable</Nullable >
Original file line number Diff line number Diff line change @@ -13,6 +13,9 @@ static class PluginLoader
1313 {
1414 public static string GetRHPPath ( string rhpPath )
1515 {
16+ // Normalize path separators for cross-platform compatibility
17+ rhpPath = rhpPath . Replace ( '\\ ' , Path . DirectorySeparatorChar ) ;
18+
1619 string rhp = Path . Combine ( Configs . Current . RhinoSystemDir , rhpPath ) ;
1720 if ( File . Exists ( rhp ) )
1821 {
@@ -60,6 +63,10 @@ public static void LoadRDK()
6063 rdkRhp = GetRHPPath ( @"Plug-ins\rdk.rhp" ) ;
6164 Rhino . PlugIns . PlugIn . LoadPlugIn ( rdkRhp , out Guid _ ) ;
6265 }
66+ else if ( RuntimeInformation . IsOSPlatform ( OSPlatform . Linux ) )
67+ {
68+ //skip for now
69+ }
6370 else
6471 throw new RhinoInsideInitializationException ( "Failed loading rdk plugin" ) ;
6572
@@ -119,7 +126,7 @@ public static void LoadGrasshopper()
119126 rhpPath = GetRHPPath ( "RhCore.framework/Versions/A/Resources/ManagedPlugIns/GrasshopperPlugin.rhp/GrasshopperPlugin.rhp" ) ;
120127 res = PlugIns . PlugIn . LoadPlugIn ( rhpPath , out ghId ) ;
121128 }
122- else if ( RuntimeInformation . IsOSPlatform ( OSPlatform . Windows ) )
129+ else if ( RuntimeInformation . IsOSPlatform ( OSPlatform . Windows ) || RuntimeInformation . IsOSPlatform ( OSPlatform . Linux ) )
123130 {
124131 rhpPath = GetRHPPath ( @"Plug-ins\Grasshopper\GrasshopperPlugin.rhp" ) ;
125132 res = PlugIns . PlugIn . LoadPlugIn ( rhpPath , out ghId ) ;
You can’t perform that action at this time.
0 commit comments