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

Pergunta

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

Foi útil?

Solução

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

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top