What’s the purpose of Grasshopper and RhinoCommon NuGet packages? I tried to use them but if I start a Rhino process, use GH_IO to read the script and then try to create a new GH_Document I get the error “Unable to load DLL ‘rhcommon_c’”. It seems I can compile the code with the NuGet packages just fine but miss some runtime dependencies. If I reference the local DLLs in the Rhino installation instead of the NuGet packages and run the same code it works fine.
As a general question what is the right way to use the the Grasshopper and RhinoCommon DLLs at runtime?