Jump to content
  • Advertisement
Sign in to follow this  
beebs1

VS2010 Query

This topic is 2518 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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.

Share this post


Link to post
Share on other sites
Advertisement
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?

Share this post


Link to post
Share on other sites
Hidden
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.

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
Thanks for your replies :)

I've checked the extensions to delete, but nothing seems out of place there. Thanks for the info about importing settings, I'll remember that.

I think I'll have to go with copying outputs to a common folder in post-build.

Cheers!

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!