Dear McNeel Community,
I hope this message finds you well.
I am currently using a Grasshopper C# plugin that I developed to import and export Rhino objects to a database. The plugin has been working fine until this month, when the following error suddenly started occurring:
Error Message:
Solution exception:Could not load file or assembly ‘System.Security.Permissions, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51’. Could not find or load a specific file. (0x80131621)
The plugin code itself hasn’t been modified, and the error persists even when I test it on older Rhino updates. This leads me to suspect that a recent Windows update might be the cause.
Interestingly, the plugin works when I upgrade Rhino to .NET8.0. However, I would like to know if there is any workaround to resolve this issue while keeping Rhino on .NET7.0.
Has anyone experienced a similar problem or found a solution? Any insights would be greatly appreciated.
Thank you for your time and support.
Best regards,
core7test-1.0.0-rh8_0-any.yak (7.7 MB)
ConnectSQL.cs (2.5 KB)
Core7TestComponent.cs (3.7 KB)