Adding the libraries to the GAC manually (with "gacutil -i") seems to get VS to recognize that the libs are available.
I've added all the libs I know about, but now VS is complaining about other libs, such as glibsharpglue-2.dll. I can add that one too, of course, but I wonder if I'm getting into a game of whack-a-mole. How many more are there gonna be? On Thu, Mar 6, 2014 at 2:29 AM, scocpt <tottl...@cardiff.ac.uk> wrote: > 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. > _______________________________________________ > Gtk-sharp-list maillist - Gtk-sharp-list@lists.ximian.com > http://lists.ximian.com/mailman/listinfo/gtk-sharp-list >
_______________________________________________ Gtk-sharp-list maillist - Gtk-sharp-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/gtk-sharp-list