Cade Roux
Cade Roux

Reputation: 89661

Multiple EXE in Visual Studio solution - putting them all in a single output folder

I'm probably just having a brain fart, but I have 2 library assembly projects in a solution, and 3 separate console EXEs which depend upon them - all in the same solution. What's the best way to have the build put all the dlls and exes in a single location after the build (debug and release)?

Upvotes: 3

Views: 1890

Answers (2)

Lloyd
Lloyd

Reputation: 29668

Just change the output location in the project properties. Usually my projects are arranged such as:

Root
  Applications
    Project A
  Libraries
    Project B
    Project C

And then to build to ..\..\Bin\ for both Debug and Release which puts Bin directly under Root. I do this because if not using the GAC libraries are copied local anyhow so I prefer to have them all in one place.

Upvotes: 4

Bobby
Bobby

Reputation: 11576

I'd use the PostBuild-Event for this.

You can easily have a whole toolchain in there.

Upvotes: 2

Related Questions