[Mono-list] Adding libraries to monodevelop
Dan Smithers
dsmithers at talktalk.net
Fri Nov 9 09:30:44 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
Alan McGovern wrote:
> 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
> <mailto: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
> <mailto: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 <mailto:dsmithers at talktalk.net>
> <dsmithers at talktalk.net <mailto: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
> <mailto:Mono-list at lists.ximian.com>
> > > http://lists.ximian.com/mailman/listinfo/mono-list
> > >
> > >
> >
> >
> > _______________________________________________
> > Mono-list maillist - Mono-list at lists.ximian.com
> <mailto:Mono-list at lists.ximian.com>
> > http://lists.ximian.com/mailman/listinfo/mono-list
> >
> >
>
>
More information about the Mono-list
mailing list