I first need to note that I’m trying to run rhino.compute.exe that is included in the Hops plugin files (v0.16.18). This might not be the right way to run the server (I know there is a separate repository for it) however it works correctly on Rhino 7.
If I start the executable mentioned in Rhino 8, I get the error: The specified framework 'Microsoft.NETCore.App', version '7.0.0', apply_patches=1, version_compatibility_range=patch cannot roll-forward to the previously referenced version '8.0.8'.
I’m not sure why this happens, any ideas?
The executable (rhino.compute.exe) was built to run with a different version of .NET
Use Powershell
dotnet --list-runtimes
And you can see what runtimes you got, there is a missmatch with the required ones by the rhinocompute build you are using, and the available one in the machine.
Thanks for the response. I listed the runtimes and found that I had the required versions installed. I then found that the file compute.geometry.runtimeconfig.json had frameworks set to 7.0.0 and changing them to 8.0.8 seems to work.
In my case (using what is provided by Hops) it’s located at %AppData%/McNeel/Rhinoceros/packages/8.0/Hops/0.16.18/compute.geometry/compute.geometry.runtimeconfig.json
Could you please help me with an error I’m encountering on the Rhino.Compute server? I’ve managed to get the server up and running, but the problem is that when I make a GET request in Postman, it returns an error. Could you help me troubleshoot this?
Did you have installed both NETCore.App and AspNetCore.App 7.0.0? I think with both installed, modifying the compute.geometry.runtimeconfig.json while should not be needed.