I am running into trouble getting Rhino 8 SR 19 with .NET 8 to work on Windows Server 2025. The issue seems to be related to how Rhino 8 detects whether the .NET Desktop Runtime is installed. If I install it manually using the downloaded installer, it works. However, if I install it using dotnet-install.ps1, Rhino does not detect it.
dotnet-install.ps1 is intended to be used for CI scenarios, and specifically notes “To set up a development environment or to run apps, use the installers rather than these scripts.”.
We use standard hostfxr APIs to find the appropriate runtime. I doubt that even a standard .NET Core WinForms or WPF app would work using the same installation method.
As an example of an automated install, you can do something like the following: