Visual C++ 2008 (VC9) project in debug fails to execute due to side-by-side error on unavailable VC8 debug crt

StackOverflow https://stackoverflow.com/questions/12412164

문제

I am using visual studio 2008 to build an app that has 40 projects. We also link agains some 3rd party libs, which I suspect is causing my headache. When I build in release it runs fine. When I try to make a debug build and run in the VS debugger, it won't run because of the familiar sid-by-side assembly error. I tried copying the contents of Debug_NonRedist from a system that had 2005 installed and can run in debug as a temporary fix, but that didn't work. I would like to find out which library requires the 2005 redist crt, but I don't know how to go about doing that. I tried using depends.exe on the debug executable, but it gives no new information. How can I find out where the dependency for the vc8 debug runtime is coming from? Thanks.

Joseph

도움이 되었습니까?

해결책

I solved the problem by installing VS 2005 express edition and then the service packs it required to run on win7.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top