Loading Error dll in Grasshopper 1 - Rhino 8

I hope are all good and safe.
I don’t have this error in Rhino 7 but I got this in Rhino 8.
It’s one of the DLL dependencies for a GH plugin.

Priority: PretconGhAssemblyLoad
Could not load file or assembly ‘System.DirectoryServices.AccountManagement, Version=, Culture=neutral, PublicKeyToken=b77a5c455612e089’. The system cannot find the file specified.

Should I located the DLL in a different folder? or is because the Version of the file itself? any clue will be very much appreciated.

all the best.

A lot of exotic framework functions are now excluded into nuget packages. This reduced the size of standard framework and helped to make the Net Core framework cross-platform.

Ensure to get the correct version. For Rhino 8 it is Net7. You also need to put it in the right location.
If this plugin is not yours, be careful. Not that this plugin is stealing AD information of your corporation, if your company uses the AD.
It is likely that the plugin needs to be migrated first to run under Net7.

Thank you Tom,
yes it’s my plugin. on Rhino & I don’t have any issues. it’s only happen when launch in Rhino 8.

very helpful.