You need to avoid any of the methods/classes that are no longer in .NET. Namely, System.Runtime.InteropServices.Marshal.GetActiveObject. You can replace it with something like this.
I’ve checked your plugin with our compat tool and it appears that is the only one that needs fixing up.
Hope this helps!