Could not load file or assembly

I get the following message whenever opening Grasshopper in Rhino 8. How can I resolve this? I am not even sure what it’s about.

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

Rhino 8 SR3 2024-1-9 (Rhino 8, 8.3.24009.15001, Git hash:master @ 3541fa287a013b0f17849f0740f1e43a44031bfc)
License type: Evaluation, build 2024-01-09

You need to set Rhino to use .net framework as runtime environment. Just use rhino command SetDotNetRuntime