Question: I have built Boost in Release configuration and have staged it into one folder.
Now when I add Boost libraries into project and try to build it in Debug configuration - linker fails because there are no Debug versions libraries.

Is there a way to make MSVC 9.0 use Release version of libraries when building Debug configuration?

Of course, there is an easy soultion - build Debug version of Boost. But I am just curious.

Answer: 
You can do two things:

* Build the debug version for boost (this is the best option).
* Add debugging symbols to your release build.

You can't use the release version of boost with your debug build because boost depends on the CRT, which is different in debug/release builds.
Exclude debug libs boost tries to link in (or disable with a preprocessor define, look into config.hpp) and manually include release versions. 

That is, you could try that if not for runtime conflict...

(so that's a no)