Hi,
Working through a funny problem…
- Cloning the
SampleCsEto
example from here and compiling it works: I can load the plug-in fine in Rhino 8 and I get the new page in object properties. All seems fine. - If I create a new project in Visual Studio, targetting Net 7.0, and copy the same source files from the
SampleCsEto
project (using Nuget to grab the dependencies), it compiles fine but when I load it in Rhino, it seems to crash the entire Properties panel (i.e. the normal viewport page disappears, I get error messages in the console):
- I discovered this when trying to write a new plug-in using Net7.0, spending a lot of time trying to pick apart my code to see if I was setting up the
ObjectPropertiesPage
,Panel
, andPlugIn
classes correctly But it seems to be a difference between using Framework 4.8 and Net 7.0 - To double-check, I created a new project targetting Framework 4.8, copied only the relevant code over (
SampleCsEtoPlugin.cs
andSampleCsEtoPropertiesPage.cs
) and it runs totally fine:
Am I missing any tricks for getting it to work with Net 7.0 or is this a bug?
Best,
Tom