Reputation: 89661
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
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
Reputation: 11576
I'd use the PostBuild-Event for this.
You can easily have a whole toolchain in there.
Upvotes: 2