Error loading rhcommon_c

hello i was trying to make an application that will run via a cloud server and I did add Rhino common to the references but when I run my code it gives me this error
and I tried adding the rhcommon_c to the references but
{1C6C38E1-63E4-44CF-A8C7-85824D95113F}

Hi @Abdelrhman_Shawky,

rhinocommon_c.dll is not a .NET assembly. Thus, you cannot reference it from a .NET project.

– Dale

hi @dale
I’m trying to run Rhino from a console application, eventually for cloud use, but I’m struggling to even open the Rhino file. I expected a simple process: open Rhino in headless mode, read its geometry, process it, and save a new file but I can’t get past the starting point.

The only thing that works is Rhino.Compute, but it lacks the power of direct RhinoCommon. I also tried a workaround to fetch geometry through a custom class, but it failed due to incompatibility between Rhino3dm.Point3d and RhinoCommon.Point3d.

Most documentation seems geared toward plugins or assumes Rhino is already open,

Hi @Abdelrhman_Shawky,

Have you looked into using Rhino.Inside?

– Dale

thanks for your respond mr @dale
from what i have seen rhino inside dose not support Rhino 8 yet