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=22.214.171.124, Culture=neutral, PublicKeyToken=35e10195dab3c99f"; constant $G_TYPE_STRING = CLR::("GLib.GType,$GLIB").String;
says about glib-sharp:
glib-sharp, Version=126.96.36.199, Culture=neutral, PublicKeyToken=35e10195dab3c99f
If anyone has any suggestions on how to fix this, I’m all ears.