Refer to this post.
As per this the debug dlls can be found at:
For Visual Studio 2005:
C:Program FilesMicrosoft Visual
Studio 8VC
edistDebug_NonRedistx86
For Visual Studio 2008:
C:Program FilesMicrosoft Visual
Studio
9.0VC
edistDebug_NonRedistx86
Also as per what I know you need not have these dlls in the WinSxS folder. Even if these dlls are present in the same directory as your application exe is, it will do.
Anyways using debug dlls in production environment is not recommended.
In case you elevate your application, make sure you set the 'Start in' path to the application home/install directory or add the path to the VC++ debug dlls to the PATH environment variable.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…