we are currently testing developing our Rhino Plugins with Rhino Inside in an Ubuntu wsl environment. We encounterd a NotLicensedException, even though RHINO_TOKEN was set via export in the shell. We found out that, if the .config directory is missing, that RhinoInside can not start functions depending on the RhinoCore , like for example Brep.CreateFromBox().
Our current workaround is to create the .config folder by hand if its not there yet, which solves the issue.
Environment:
Ubuntu 24.04 under WSL2
Rhino 9 9.0.26257.7309
.NET 10.0.12
Is this behavior expected or a bug? Or did we just encounterd a misconfigured setup of Ubuntu and it’s Rhino installation?
We try to migrate to a wsl environment, since its easier for our CI process and also for agentic programming.
Yes, since RhinoCompute is based around RhinoInside, you use the same technique/code to start Rhino processes.
For that to work, you need install the requirements for RhinoCompute on Ubuntu, aquire a Rhino_Token for licensing and run a dotnet project with Rhino Core attached.