Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Change Log

## [9.0.8-beta] - 2026-04-13
- Allow Rhino.Inside to find Rhino when RhinoSystemDir is not set in the config file

## [9.0.7-beta] - 2026-04-10
- Fix broken GH Tests
- Find GH on Linux
Expand Down
2 changes: 1 addition & 1 deletion src/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
</PropertyGroup>

<PropertyGroup>
<RhinoTestingVersion>9.0.7</RhinoTestingVersion>
<RhinoTestingVersion>9.0.8</RhinoTestingVersion>
<RhinoInsideVersion>9.0.26084.13070-beta</RhinoInsideVersion>
<RhinoAPIVersion>9.0.25350.305-wip</RhinoAPIVersion>
<SourceDir>$(MSBuildThisFileDirectory)src\</SourceDir>
Expand Down
3 changes: 0 additions & 3 deletions src/Rhino.Testing/Configs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,6 @@ static Configs()
return;
}

Current.RhinoSystemDir = Path.GetFullPath(
Path.Combine(Path.GetDirectoryName(cfgFile), Current.RhinoSystemDir)
);
}
}

Expand Down
12 changes: 9 additions & 3 deletions src/Rhino.Testing/RhinoCore.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,18 @@ public static void Initialize()
return;
}

if (!Directory.Exists(Configs.Current.RhinoSystemDir))
// Do not require the RhinoSystemDir to be set, as the RhinoInside resolver can find Rhino in the "vanilla" installation locations.
if (string.IsNullOrEmpty(Configs.Current.RhinoSystemDir) || !Directory.Exists(Configs.Current.RhinoSystemDir))
RhinoInside.Resolver.Initialize();
else
{
throw new DirectoryNotFoundException(Configs.Current.RhinoSystemDir);
if (!Directory.Exists(Configs.Current.RhinoSystemDir))
{
throw new DirectoryNotFoundException(Configs.Current.RhinoSystemDir);
}
RhinoInside.Resolver.Initialize(Configs.Current.RhinoSystemDir);
}

RhinoInside.Resolver.Initialize(Configs.Current.RhinoSystemDir);
Configs.Current.RhinoSystemDir = RhinoInside.Resolver.RhinoSystemDirectory;

TestContext.WriteLine("Loading rhino core");
Expand Down
Loading