So, I’ve hit on something extremely annoying working with Niecza on my MacBook Pro. I upgraded to Mono 2.10.9 a few months back. Since then, Glib# has not worked. Even after I uninstalled Mono 2.10.9. It is incredibly frustrating.
Here’s the error I’m getting:
Unhandled exception: System.TypeInitializationException: An exception was thrown by the type initializer for GLib.GType ---> System.DllNotFoundException: glibsharpglue-2
Here’s the call:
constant $GLIB = "glib-sharp, Version=220.127.116.11, Culture=neutral, PublicKeyToken=35e10195dab3c99f"; constant $G_TYPE_STRING = CLR::("GLib.GType,$GLIB").String;
says about glib-sharp:
glib-sharp, Version=18.104.22.168, Culture=neutral, PublicKeyToken=35e10195dab3c99f
If anyone has any suggestions on how to fix this, I’m all ears.