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

Grant Birchmeier grant at grantb.net
Sun Mar 9 20:16:28 UTC 2014


So, one last try:

Does anyone know how to get all the necessary mono-3.2.3/gtksharp-2.12.11
libraries installed in a proper Windows way such that Visual Studio can see
them?

Please note: I know that Visual Studio cannot use the UI designer; I just
want it to be able to build the project as-is.


On Thu, Mar 6, 2014 at 5:01 PM, Grant Birchmeier <grant at grantb.net> wrote:

> > glibsharpglue-2.dll.  I can add that one too
>
> Nope, spoke too soon.  I can't see to add that one.  VS says it doesn't
> have an assembly manifest.
>
> Seriously, why's this gotta be so hard to do?
>
>
> On Thu, Mar 6, 2014 at 4:54 PM, Grant Birchmeier <grant at grantb.net> wrote:
>
>> 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:
>>
>>> 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 at lists.ximian.com
>>> http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
>>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/gtk-sharp-list/attachments/20140309/9c3a96b3/attachment.html>


More information about the Gtk-sharp-list mailing list