[MonoDevelop] creating a package to use with md
artyom.szasa at gmail.com
artyom.szasa at gmail.com
Fri Mar 1 16:19:08 UTC 2013
I"ve found that MD cannot find any 4.0 assembly when choosing .NET 4.0
configuration, only 1.0,2.0,3.0 and 3.5... (neither System.Web.MVC 3 but
System.Web.MVC 2)
If I change target to 4.5 I can see all my assemblies :)
But if choosing 4.5 neither makefile generation doesn't seem to be working
and asp projects show lots of errors...
For me it seems to be a bug. Isn't it? Should I report a bug?
2013/3/1 artyom.szasa at gmail.com <artyom.szasa at gmail.com>
> I have mono + all gtk/addins/gio libraries + monodevelop installed with
> /home/misc as prefix (all built from git HEAD) and there is no other mono
> environments
> PKG_CONFIG_PATH is set to /home/misc/lib/pkgconfig
> /etc/ld.so.conf.d/ contains misc.conf with /home/misc
> and my PATH variable contains /home/misc/bin (and it is also part od the
> secure path of sudoers)
>
> And now I'm trying to install my own library, Artyom.Misc.dll
>
> I've created a directory /home/misc/lib/artyom.misc and put my assembly
> into this directory
>
> I made a /home/misc/lib/pkgconfig/artyom.misc.pc with the following
> content:
> Name: Artyom.Misc
> Description: Artyom.Misc
> Version: 1.0.0.0
> Requires:
> Libs: -r:/home/misc/lib/artyom.misc/Artyom.Misc.dll
>
> and also installed my assembly into GAC (gacutil -i Artyom.Misc.dll -p
> artyom.misc) and the assembly is signed with generated Artyom.snk.
> It is now in
> /home/misc/lib/mono/gac/Artyom.Misc/1.0.0.0__53b45bc51cfa8f57/Artyom.Misc.dll
> and there is a symbolic link to it in
> /home/misc/lib/mono/artyom.misc (because of the -p artyom.misc)
>
> What else is needed for this library to appear in MD References/Packages
> dialog? Or have I done anything wrong?
>
> 2013/3/1 Ian Norton <ian.norton-badrul at thales-esecurity.com>
>
>> 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
>>
>>
>
>
> --
> Üdv,
> Artyom
>
--
Üdv,
Artyom
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/monodevelop-list/attachments/20130301/d0a55392/attachment.html>
More information about the Monodevelop-list
mailing list