[MonoDevelop] Custom dir lib in the bin output
Petit Eric
surfzoid at gmail.com
Tue Apr 22 12:53:02 EDT 2008
2008/4/22, Gergely Kiss <mail.gery at gmail.com>:
> Hi,
>
> I work on an invoicing application in MonoDevelop and I also needed to
> include some libraries in the build directory. The easiest way to do this,
> is to mark each required file for deployment by right clicking on them and
> selecting Include -> Deploy (may be a bit different, because I'm using MD in
> Hungarian). As far as I can understand you, all files in your project are
> marked to be deployed and included. That's not the right way. Files, marked
> to be deployed will be copied to the build directory while building. If you
> mark a file to be included, the file will be sent for the compiler. Only
> source files can be compiled this way.
thank's
I know this and have no problem or error to compil, the deploy
function work great, but it also recreat the relative dir from top
source dir where library are stored.
A simple test to understand it : open your project with MD, create a
new dir, let's say "NuxDll", make a right click on this new fresh dir
(NuxDll) and say add existing file, select a file, it will be added
inside of the NuxDll dir, make a right click on this file and choice
to include in deploy.
Start compil, if you are with Debug conf, go to your "Top dir
solution"/bin/Debug/
You will see MD or VS created a NuxDll dir with the file inside, my
problem is to store the "deployed" file not in the Debug/nuxDll/" dir
but only in the Debug dir.
I know, i could only add all file at the top source dir and like this
they will be in the Debug dir after compil, but, because there is
alays a but, i have very lot of third part file and dont want to
poluate my source file tree with all this file.
> If this doesn't help you, then you might have a previous version of
> MonoDevelop installed, which doesn't support this feature correctly. In this
> case, download and install the latest stable version of MonoDevelop (1.0)
> from the project's website:
>
> http://www.monodevelop.com/Download
>
> Regards
> George
>
> 2008/4/22 Petit Eric <surfzoid at gmail.com>:
>
> >
> >
> > 2008/4/21, Petit Eric <surfzoid at gmail.com>:
> > > Dammed gmail it send the version with spel error :
> > >
> > > 2008/4/21, Petit Eric <surfzoid at gmail.com>:
> > >
> > > > hi
> > > > I write a app with third party lib in C, there a lot of one some
> from
> > >
> > > I write a app with third party lib in C, there is a lot of one, so from
> > >
> > > > my top dir solution i create a dir, "NuxDll" where i put all this
> dll,
> > > > after i include them in my solution, like this after a compilation
> and
> > > > with configure script, the library are copied in the output dir, but
> > > > compiler recreate the "NuxDll" in the outpudir like this :
> > > > /bin/Debug/Myexe.exe
> > > > /bin/Debug/NuxDll/thirdpart.so
> > > >
> > > > Put i want to pu them in the same dir as the exe, because my program
> > >
> > > But i want to put them in the same dir as the exe, because my program
> > >
> > > > have a dll/wrapper who make reference to them.
> > > > Is It possible to "tweak" the output dir as in the visual studio
> where
> > > > we can say compile, copied or data ...?
> > > >
> > >
> > > Sorry
> > >
> > I find a windows solution, but doesn't work with monodevelop.
> > My solution is to add a empty C# project to my solution, give name
> > AllDll, add all .so and .dll files from third party C unmanaged code.
> > Say to copy in the output from property tab.
> > In my main project make a ref to the project AllDll.
> > It work as i expect under windows.
> > Under Nux with Md, i first have an error about nothing to compile, so
> > i added a class1, after no more error but in my bin/Debug dir i have
> > only AllDll.dll and .pdb, not all other files, if i look at the
> > include property in MD, all file are selected as include/deploy.
> > Is it a bug or a not implemented feature?
> >
> >
> >
> > _______________________________________________
> > Monodevelop-list mailing list
> > Monodevelop-list at lists.ximian.com
> >
> http://lists.ximian.com/mailman/listinfo/monodevelop-list
> >
>
>
More information about the Monodevelop-list
mailing list