Hiya,
Is anyone aware of a way to have multiple projects in a VS2010 solution output to the same folder?
From VS6 to VS2008 I was able to just set the same output folder in each project through the build properties.
If I do this in VS2010 and build all the projects, each one seems to clear the folder before building - so I end up with only the last project which was built. I've tried this on several machines, so I can only assume it was either changed or is a bug.
Any suggestions are appreciated!
Cheers.
VS2010 Query
Not to answer your question directly, but I think you can use post-build event to copy/move the files in different folders to one folder?
by default, any references will be included in the build and have their associate DLLs included. Additionally, you can create multiple sub-projects in one VS solution and these projects will be contained in the parent solution folder.
you could use a CM manager on that folder and just issue commits each time it builds if you need to retain the build files... but it would just be easier to rebaseline the software and rebuild if they are needed... otherwise wqking has it right, you'll have to have some sort of post-build script manage the copy/move.
There's some way to do it - when I upgraded from 2008 to 2010 I imported my settings, if I try to build 2 projects in 2 separate solutions with the same output directory, both get built and nothing gets deleted. So its probably some setting that they changed the default value for.
Check properties -> configuration properties -> general -> extensions to delete on clean
and see if .lib, .dll, or .exe are in that list.
Check properties -> configuration properties -> general -> extensions to delete on clean
and see if .lib, .dll, or .exe are in that list.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement