[MonoDevelop] Referencing assemblies in GAC
Rafael Teixeira
monoman at gmail.com
Fri May 19 20:13:59 EDT 2006
Hi Paddy, complementing a bit
"Properly installed packages" mean those that install using gacutil
instructing it to leave the symbolic links to the assemblies that an
also needed specific pkg-config .pc file must point to. When this .pc
is installed where pkg-config expects (normally /usr/lib/pkgconfig/)
it also becomes available to MonoDevelop.
Example: gtk-sharp-2.0.pc
---------------
prefix=${pcfiledir}/../..
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
gapidir=${prefix}/share/gapi-2.0
Name: Gtk#
Description: Gtk# - GNOME .NET Binding
Version: 2.4.0
Cflags: -I:${gapidir}/pango-api.xml -I:${gapidir}/atk-api.xml
-I:${gapidir}/gdk-api.xml -I:${gapidir}/gtk-api.xml
Libs: -r:${libdir}/mono/gtk-sharp-2.0/pango-sharp.dll
-r:${libdir}/mono/gtk-sharp-2.0/atk-sharp.dll
-r:${libdir}/mono/gtk-sharp-2.0/gdk-sharp.dll
-r:${libdir}/mono/gtk-sharp-2.0/gtk-sharp.dll
Requires: glib-sharp-2.0
---------------
For MD the most important line in such .pc file is the one that begins
with "Libs:"
Hope it helps :),
On 5/15/06, Lluis Sanchez <lluis at ximian.com> wrote:
> El lun, 15-05-2006 a las 19:15 +1000, Paddy Joy escribió:
> > When I add an assembly to the GAC, should it show up in the "Packages"
> > section of the Edit References Dialog?
>
> No, the packages section only shows assemblies from properly installed
> packages.
>
> >
> > Paddy
> > _______________________________________________
> > Monodevelop-list mailing list
> > Monodevelop-list at lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/monodevelop-list
>
> _______________________________________________
> Monodevelop-list mailing list
> Monodevelop-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monodevelop-list
>
--
Rafael "Monoman" Teixeira
---------------------------------------
As I'm currently working a lot with Java and even fixing Java VMs
(JamVM/Kaffe) and GNU Classpath code, I think I may partly borrow the
title (Javaman) from my friend Bruno Souza and become the
MonoNJavaMan. Yeah, I may currently be crazier than usual...
More information about the Monodevelop-list
mailing list