I've installed fresh Xamarin Studio 5.10 on Windows 7 and created standard GTK 2.0 C# project (via New Project > .Net > GTK#2.0 Project).
Code's below:
using System;
using Gtk;
namespace _test
{
class MainClass
{
public static void Main (string[] args)
{
Application.Init ();
MainWindow win = new MainWindow ();
win.Show ();
Application.Run ();
}
}
}
Build is ok, but runtime error raises (I've translated error from my native language into english):
Can't load DLL "libglib-2.0-0.dll": Procedure was not found (Exception from HRESULT: 0x8007007F)
Mono and gtk# seems to be installed ok via exes from official mono site. Test console app works ok.
May anybody help :) ?