I got the error again, this time only a reboot of Rhino solved it. Yesterday I didn’t got the error but as far as I know nothing changed.
It appears to be quite random, which was also the case in the topic below. Let me know if it would be useful to run practically the same script with and without the error. I could run the script like this:
A = AppDomain.CurrentDomain.GetAssemblies().Select(o => o.FullName).ToList();
Link to the other topic: