[MonoDevelop] how is monodevelop informed about location of managed libraries?

Vasili I. Galchin vigalchin at gmail.com
Thu Feb 11 20:15:18 EST 2010


1) Is pkg-config run by MonoDevelop? Or do I have to run pkg-config by hand?

2) Here is my monodevelop.pc:

prefix=${pcfiledir}/../..
exec_prefix=${prefix}
libdir=${exec_prefix}/lib/monodevelop
AddinsPath=${libdir}/AddIns
GacPackage=false
MonoAddinsRoot=${libdir}/bin
MonoAddinsRegistry=[ApplicationData]/MonoDevelop
MonoAddinsTestCommand=MonoDevelop.exe

Name: MonoDevelop
Description: Free .NET Development Environment
Version: 2.2.1
Libs: -r:${libdir}/bin/MonoDevelop.Core.dll
-r:${libdir}/bin/MonoDevelop.Core.Gui.dll
-r:${libdir}/bin/MonoDevelop.Projects.dll
-r:${libdir}/bin/MonoDevelop.Projects.Gui.dll
-r:${libdir}/bin/MonoDevelop.Ide.dll
-r:${libdir}/bin/MonoDevelop.Components.dll
-r:${libdir}/bin/NRefactory.dll -r:${libdir}/bin/Mono.Cecil.dll
-r:${libdir}/bin/Mono.TextEditor.dll
-r:${libdir}/bin/Mono.Debugging.dll
~
                                               ~
~
It seems I have to also set variable "pcfiledir"?

Vasili


On 2/11/10, Michael Hutchinson <m.j.hutchinson at gmail.com> wrote:
> On Thu, Feb 11, 2010 at 6:37 PM, Vasili I. Galchin <vigalchin at gmail.com>
> wrote:
>> Hello,
>>
>> Warning: Assembly 'MonoDevelop.Core, Version=2.1.1.0, Culture=neutral'
>> not found. Make sure that the assembly exists in disk. If the
>> reference is required to build the project you may get compilation
>> errors. (FSharpBinding)
>>
>> Several similar warnings are generated when I do a build. It seems to
>> me that MonoDevelop cannot find the .dlls that it needs. I have
>> MONO_PATH pointing at the directory containing these .dll's! What must
>> I do akin to Unix LD_LIBRARY_PATH??
>
> MonoDevelop resolves assemblies for building using pkgconfig. Ensure
> that PKG_CONFIG_PATH contains the directory with monodevlop.pc and
> monodevelop-core-addins.pc.
>
> --
> Michael Hutchinson
> http://mjhutchinson.com
>


More information about the Monodevelop-list mailing list