[MonoDevelop] Installing assemblies for monodevelop manually

Ian Norton-Badrul ian.norton-badrul at thales-esecurity.com
Thu Jul 8 10:31:12 EDT 2010


On Thu, 2010-07-08 at 15:11 +0100, Thiago Padilha wrote:
>   I'm kinda new to linux so I don't understand exactly how pkgconfig
> works or how monodevelop uses it. In the FAQ says monodevelop
> automatically generates .rc files for projects, but what I want is to
> add a third party compiled assembly. Could you give an example .rc
> file and where would I put it so monodevelop finds it?

Hi Thiago,

pkg-config is a program that knows how to give you compiler
flags/options for a given package.

eg. pkg-config --libs gtk-sharp-2.0 gives you:

-r:/usr/local/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/pango-sharp.dll
-r:/usr/local/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/atk-sharp.dll
-r:/usr/local/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/gdk-sharp.dll
-r:/usr/local/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/gtk-sharp.dll
-r:/usr/local/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/glib-sharp.dll 


You can tell gmcs and mcs on mono to run this for you by doing:

$ gmcs -pkg:gtk-sharp-2.0 ...


The packages listed in monodevelop when you choose Edit References are
all pkg-config mono packages.

If you want to add one that is in the GAC and is not in that list you
are best just adding it manually.

Regards

Ian


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://lists.ximian.com/pipermail/monodevelop-list/attachments/20100708/62991901/attachment.bin 


More information about the Monodevelop-list mailing list