Thanks @pkinnane for reporting the issue. According to the report, OctaneRender uses some APIs that don’t exist when running in .NET Core, namely these (later versions of Rhino WIP have a more succinct report):
OctaneRenderForRhino, Version=2022.1.0.134, Culture=neutral, PublicKeyToken=null
? FAIL System.Void System.Windows.Forms.ContextMenu::.ctor() < System.Windows.Forms
? FAIL System.Windows.Forms.Menu/MenuItemCollection System.Windows.Forms.Menu::get_MenuItems() < System.Windows.Forms
? FAIL System.Void System.Windows.Forms.MenuItem::.ctor(System.String,System.EventHandler) < System.Windows.Forms
? FAIL System.Int32 System.Windows.Forms.Menu/MenuItemCollection::Add(System.Windows.Forms.MenuItem) < System.Windows.Forms
? FAIL System.Windows.Forms.Menu/MenuItemCollection System.Windows.Forms.Menu::get_MenuItems() < System.Windows.Forms
? FAIL System.Void System.Windows.Forms.MenuItem::.ctor(System.String,System.EventHandler) < System.Windows.Forms
? FAIL System.Int32 System.Windows.Forms.Menu/MenuItemCollection::Add(System.Windows.Forms.MenuItem) < System.Windows.Forms
? FAIL System.Windows.Forms.Menu/MenuItemCollection System.Windows.Forms.Menu::get_MenuItems() < System.Windows.Forms
? FAIL System.Void System.Windows.Forms.MenuItem::.ctor(System.String,System.EventHandler) < System.Windows.Forms
? FAIL System.Int32 System.Windows.Forms.Menu/MenuItemCollection::Add(System.Windows.Forms.MenuItem) < System.Windows.Forms
? FAIL System.Windows.Forms.Menu/MenuItemCollection System.Windows.Forms.Menu::get_MenuItems() < System.Windows.Forms
? FAIL System.Void System.Windows.Forms.MenuItem::.ctor(System.String,System.EventHandler) < System.Windows.Forms
? FAIL System.Int32 System.Windows.Forms.Menu/MenuItemCollection::Add(System.Windows.Forms.MenuItem) < System.Windows.Forms
? FAIL System.Void System.Windows.Forms.ContextMenu::Show(System.Windows.Forms.Control,System.Drawing.Point) < System.Windows.Forms
? FAIL System.Windows.Forms.MenuItem < System.Windows.Forms
? FAIL System.Int32 System.Windows.Forms.MenuItem::get_Index() < System.Windows.Forms
The plugin will have to be updated to use ContextMenuStrip
, and ToolStripMenuItem
APIs instead.
In the meantime, you can use the SetDotNetRuntime
command to run Rhino in .NET Framework which should get the plugin running for now.
Hope this helps!