# Plugin not working on Rhino WIP

**URL:** <https://discourse.mcneel.com/t/plugin-not-working-on-rhino-wip/157719>\
**Category:** Serengeti (Rhino BETA)\
**Tags:** windows\
**Created:** [April 5, 2023, 4:57am UTC](https://discourse.mcneel.com/t/plugin-not-working-on-rhino-wip/157719 "2023-04-05T04:57:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pkinnane](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/pkinnane/32/517903_2.png) [@pkinnane](https://discourse.mcneel.com/u/pkinnane)\
**Post date:** [April 5, 2023, 4:57am UTC](https://discourse.mcneel.com/t/plugin-not-working-on-rhino-wip/157719/1 "2023-04-05T04:57:30Z")

</div>

Hi

The OctaneRender for Rhino does not load for Rhino 8. It is installed in the Rhino7 plugin folders.

The Rhino 8 command line shows:

Compatibility test for OctaneRenderForRhino failed in 2.38s  
Details written to C:\Users\Paul\AppData\Local\Temp\RhinoCompat\OctaneRenderForRhino.txt  
Unable to load OctaneRenderForRhino.rhp plug-in: initialization failed.

The compatibility file is attached. Is a McNeel dev able to assist please?

Thanks

Paul  
[OctaneRenderForRhino.txt](https://discourse.mcneel.com/uploads/short-url/ogZ4C1ZwBjuaKNAcJ1u8uY14HzY.txt) (9.3 MB)

---

<div class="post-metadata">

**Author:** ![curtisw](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/curtisw/32/769477_2.png) [@curtisw](https://discourse.mcneel.com/u/curtisw)\
**Post date:** [April 5, 2023, 2:20pm UTC](https://discourse.mcneel.com/t/plugin-not-working-on-rhino-wip/157719/3 "2023-04-05T14:20:41Z")

</div>

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):

```auto
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!

---

<div class="post-metadata">

**Author:** ![pkinnane](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/pkinnane/32/517903_2.png) [@pkinnane](https://discourse.mcneel.com/u/pkinnane)\
**Post date:** [April 6, 2023, 12:30am UTC](https://discourse.mcneel.com/t/plugin-not-working-on-rhino-wip/157719/4 "2023-04-06T00:30:35Z")

</div>

Thank you - that helps a lot.

Paul
