[Mono-list] Adding libraries to monodevelop

dsmithers at talktalk.net dsmithers at talktalk.net
Fri Nov 9 09:27:06 EST 2007


 
Thanks Alan, I have tried this - how do I access the members of the library.
Do I need to use DllImport to expose the methods?
Is there a way that will import member values?
As I can't import a constructor, I guess I'll just have to write a
factory method.

thanks

dan


 


 

-----Original Message-----
From: Alan McGovern <alan.mcgovern at gmail.com>
To: Petit Eric <surfzoid at gmail.com>
CC: dsmithers at talktalk.net <dsmithers at talktalk.net>; mono-list at lists.ximian.com
Sent: Fri, 9 Nov 2007 1.38pm
Subject: Re: [Mono-list] Adding libraries to monodevelop









If you want to add a native DLL to the solution, you can. Just add it in the solution pane as a regular file (not as a reference) and make MD copy it to the output directory when it compiles your code.

Alan.



On Nov 9, 2007 12:37 PM, Petit Eric <surfzoid at gmail.com> wrote:


Yes, but with a dll from native code (not NET/Mono) we can't do that ?

2007/11/9, Alan McGovern <alan.mcgovern at gmail.com>:





> Right click on the 'References' thingy in the solution browser and choose
> 'edit references' and add your library as a reference.
>
> Alan.
>
>
> On 11/9/07, 
dsmithers at talktalk.net <dsmithers at talktalk.net> wrote:
> >
> > Hi,
> >
> >
> >
> > I realise that this is a rather basic question, but how do I add extra

> >
> > libraries to a monodevelop build?
> >
> >
> >
> > I have written a simple wrapper for sockets in C# and want to use it in
> >
> > my GTK# application. I _could_ simply duplicate the code, but I was

> >
> > hoping that there was a way that I could add the dll to the path in the
> >
> > project.
> >
> >
> >
> > Also, is there a way to export a makefile from monodevelop?

> >
> >
> >
> > thanks
> >
> >
> >
> > dan
> >
> >
> >
> > _______________________________________________
> > Mono-list maillist ?- ?
Mono-list at lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/mono-list

> >
> >
>
>
> _______________________________________________
> Mono-list maillist ?- ?Mono-list at lists.ximian.com
> 
http://lists.ximian.com/mailman/listinfo/mono-list
>
>








 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20071109/200aa677/attachment.html 


More information about the Mono-list mailing list