I need to build some application in two configurations: x86 and x64 (each config has reference on some dll, which is in 32 and 64 bit versions). I want to build in some time(one build) and as result i want to have two folders,i.e.: 1) sln_dir/x86/ 2) sln_dir/x64/
Also x86 contains 32 bit dll and x64 contains 64 bit dll. Is it possible?And if it is possible how? Thanks!
Well, I'd add new project configurations, and set the build type for each configuration, along with the output directory. So you might have "Debug x86" and "Debug x64" project configurations, with output directories of "bin\DebugX86" and "bin\DebugX64" for example.
That's a change that can even be done within Visual Studio, unlike most of the project file hacks I perpetrate :)
That won't build configurations with a single "build project" button press, but:
Another Visual Studio feature you should look at is the "Batch Build" option. Unfortunately it doesn't look like there's a way of saving a batch build to perform it multiple times easily :(
See more on this question at Stackoverflow