[Mono-list] Adding libraries to monodevelop

Dan Smithers dsmithers at talktalk.net
Tue Nov 13 09:52:34 EST 2007


Can I do this with assemblies and the GAC? Is there any benefit? as it
seems a very long-winded way of including code from another development.

thanks

dan

Dan Smithers wrote:
> If I do this, I will have to remember to copy any changes that get made
> to the dll across to the MD project.
> Do I need the .cs file to describe the interface?
> 
> thanks
> 
> 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
>>     >
>>     >
>>
>>
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
> 


More information about the Mono-list mailing list