Component exception

Hello,
I’m trying a gh definition made in Rhino 7 (works well), but in Rhino 8 if I try to launch I encounter this problem:

The problem is on diverse components (not only human ui)

I tried NETframework mode as well, but the problem persists.
Anyone have a suggestions?
Thank you