[Gtk-sharp-list] how to add a gtk# reference in Visual Studio?

scocpt tottlecp at cardiff.ac.uk
Thu Mar 6 08:29:53 UTC 2014


Hi,

As far as I can tell, both Mono and GTK# install their libraries in self
contained directories, so that you are able to run multiple versions on the
same machine.

As an example my GTK# stuff can be found (as an example):
C:\Program Files (x86)\GtkSharp\2.12\lib\gtk-sharp-2.0\atk-sharp.dll

I had the same issues with Visual Studio not automatically finding the dlls
(because they are not in the .NET gac).

A nice work around to this is either use MonoDevelop or SharpDevlop and they
find all the Mono stuff automatically for you.

Be aware when you are compiling your code to keep your project as x86 (32
bit), as there dose not seem to be any 64 bit versions of GTK# for Windows
(per-complied).

Hope this helps,
Chris



--
View this message in context: http://mono.1490590.n4.nabble.com/Re-how-to-add-a-gtk-reference-in-Visual-Studio-tp4662161p4662163.html
Sent from the Mono - Gtk# mailing list archive at Nabble.com.


More information about the Gtk-sharp-list mailing list