Hello @curtisw ,
It is hard to tell what is the actual error - but as I have understood from you answer it is surly not because of the warnings about “only supported on win…” right?
Here I build with Visual Studio Mac 17.6.7, it uses Microsoft .NET Core Debugger (vsdbg)
It can be an important factor, that I am on a M1 macbook and running Rhino in Rossetta mode (the plugin doesn’t support native M1)
As I wrote before, the Rhino7 version runs fine under Rhino7
The only two differences between building for Rhino 7 and Rhino 8 is:
For Rhino 7
<TargetFramework>net48</TargetFramework>
For Rhino 8
<TargetFramework>net70</TargetFramework>
and for Rhino 8 I add this too:
<ItemGroup>
<PackageReference Include="System.Drawing.Common" Version="8.0.0" />
</ItemGroup>
Building goes fine, but if I run the Rhino8 version I see that Rhino found some part of the plugin, but otherwise it doesn’t run it. (And debugger doesn’t want to attach itself to the code:( )
Actually I don’t understand why Rhino finds the plugin at all, because if I check the Visual Studio Application output window it doesn’t show any plugin related line, so it seems it avoids the plugin.
But still I can see our custom plugin commands in Rhino, the menu of the plugin, and the plugin name among the render engines.
(But if I run any of our commands Rhino does nothing. If I select our render engine, it doesn’t show our render engine ui, I guess menu is from the rui file so that is ok…)
As I wrote before the Rhino 7 plugin runs fine under Rhino 7. But if I run it under Rhino 8 it also doesn’t work well at all.
Compared to the version built for Rhino 8, the net48 (Rhino 7) version shows a bit more life. I can see our plugin settings inside Rhino settings. And in this case if I change the render engine to our plugin the ui is changing too. Also it can add our custom plugin attributes to Rhino objects.
But it still doesn’t show the custom material and the custom environment type of the plugin. In case the render engine is set to our plugin, I can see inside the material/environment editor the “current renderer doesn’t support materials/environments” message.
And our custom plugin commands are still not doing anything. (This very same net48 build runs fine under Rhino 7…)
Any idea?
(I can send our plugin installer…)
Márton