Dear @karamba3d team,
when I open Grasshopper I get the following error message in the command prompt:
Path: C:\Users%…%\AppData\Roaming\McNeel\Rhinoceros\packages\8.0\Karamba3D\3.1.40918\Karamba.gha
Exception System.IO.FileNotFoundException:
Message: Could not load file or assembly ‘System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’ or one of its dependencies. The system cannot find the file specified.
I have tried to solve the problem on my own, and I think I know that it occurs because I have SOFiSTiK and their Rhino/GH interface installed. I’ve tried to uninstall it, just to see if that helps, however, it didn’t solve the problem. But I guess there might be some .dll file lingering somewhere also after the uninstallation.
Grasshopper doesn’t even react and in the command prompt in Rhino I get the exact same error message as before
Path: C:\Users%…%\AppData\Roaming\McNeel\Rhinoceros\packages\8.0\Karamba3D\3.1.40918\Karamba.gha
Exception System.IO.FileNotFoundException:
Message: Could not load file or assembly ‘System.Runtime, Version=7.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’ or one of its dependencies. The system cannot find the file specified.
do you have Rhino8 running in .NETCore mode? You can check this by typing ‘SetDotNetRuntime’ in the Rhino command window. The YAK package for version 3.1.40918 is for .NETCore only. The next YAK installer for Karamba3D version will be for NETCore and .NETFramework.
Did you already try to use the msi-installer instead of YAK? For this to work you need to uninstall Karamba3D via the Rhino Package manager.
If you are running Rhino 8 in .NET Framework 4.8, you must have changed that yourself at some point.
At any rate, running SetDotNetRuntime and picking the Runtime=NETCore option` puts that back to the default. Unless you have modified the Rhino icon on the desktop, this will stick between sessions.
-wim
I can take a guess. The selection layout on the command line is not as clear as one would hope. You have to select the Framework-keyword I guess, not the Core since that is for the .NET version (7 or 8). I am not on a computer at the moment, but I also struggled with this a bit.