[Gtk-sharp-list] how to add a gtk# reference in Visual Studio?
grant at grantb.net
Thu Mar 6 22:54:15 UTC 2014
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 <tottlecp at cardiff.ac.uk> wrote:
> 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
> 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
> Hope this helps,
> View this message in context:
> Sent from the Mono - Gtk# mailing list archive at Nabble.com.
> Gtk-sharp-list maillist - Gtk-sharp-list at lists.ximian.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Gtk-sharp-list