Jump to content

  • Log In with Google      Sign In   
  • Create Account

VS2010 Query


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
4 replies to this topic

#1 Telios   Members   -  Reputation: 398

Like
0Likes
Like

Posted 18 January 2012 - 08:00 AM

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.

Sponsor:

#2 wqking   Members   -  Reputation: 756

Like
-1Likes
Like

Posted 18 January 2012 - 08:44 AM

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?

http://www.cpgf.org/
cpgf library -- free C++ open source library for reflection, serialization, script binding, callbacks, and meta data for OpenGL Box2D, SFML and Irrlicht.
v1.5.5 was released. Now supports tween and timeline for ease animation.


#3 Net Gnome   Members   -  Reputation: 769

Like
0Likes
Like

Posted 18 January 2012 - 09:03 AM

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.

#4 turch   Members   -  Reputation: 590

Like
0Likes
Like

Posted 18 January 2012 - 09:11 AM

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.

#5 Telios   Members   -  Reputation: 398

Like
0Likes
Like

Posted 18 January 2012 - 09:55 AM

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!




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS