[MonoDevelop] creating a package to use with md

Ian Norton ian.norton-badrul at thales-esecurity.com
Fri Mar 1 12:40:55 UTC 2013


On Fri, Mar 01, 2013 at 12:34:26PM +0000, artyom.szasa at gmail.com wrote:
> HI!
> 
> I have pretty dummy question and don't know where to ask :)
> 
> I'm trying to create own package and use it in my other projects. I create
> a library project, generate Makefiles for my project and emitted "make"
> and "make install". I've got my dll-s installed into ../lib and .pc
> installed into ../lib/pkgconfig. And here comes the problem. MonoDevelop
> refuses to list my own package in "references" dialog. I only can use my
> library from ".NET Assembly" tab but not the packages tab. In that case MD
> stores the relative location to the dll in HintPath of the reference and
> do not use pkg-config to resolve the reference. Thus I cannot complile my
> projects on a different machine or from different path...
> 
> I also installed the library using gacutil. Still MD does not find my
> package..

You need to ship and install your .pc files, Monodevelop doesn't look in the
GAC.

The slight trouble is that pkg-config might be looking in the wrong places. If
you have a parallel mono environment you will have set pkg-config up to look in
there.

Ian



More information about the Monodevelop-list mailing list