Manifest issues with VC2005

Hi I'm trying to build a production application in debug using Visual Studio 2005. The application builds, but when I go to run it in debug, I get an error that it can't find the Release versions of the run-time libraries. I've looked at a lot of documentation and discussion groups regarding manifests and have not found out what to do. It looks like the manifest (as near as I can tell) has the debug versions of the libraries included, but not the release versions. My application is a mix of OEM libraries and ours, some of which are release builds. How can I get this to work Is there some wat to add the release versions to the manifest

Answer this question

Manifest issues with VC2005

  • ddodson

    As additional reading for manifests and redistributables, see this FAQ.

  • FleetCommand

    Could you post the manifest in question

    Thanks,
      Ayman Shoukry
      VC++ Team

  • Alene

    I see some problems with your scenario

    1. Mixing Debug and Retail CRT in the same binary can cause problems. You should try to get versions of the OEM Libraries that link to Debug CRT.

    2. Using Debug CRT in production environment is not recommended. Redistributing Debug VC libs DLL is not allowed. Please see the EULA for details.

    What does dumpbin /imports  on your binary report Does it list msvcr80.dll and/or msvcr80d.dll

    Thanks,
    Sridhar Madhugiri
    Software Developer
    Visual C++



  • pomp

    Sometimes you just don't get third party libs build against a debug CRT! What can you do then In former versions of MSVC, it was possible to mix it to be at least able to debug a part of your program. Further more it is sometimes where expensive in a runtime point of view, to use all libraries as debug libraries.
    So why has the behaviour of MSVC 8.0 changed (compared to version 6.0, 7.x) concerning the mixture of debug/non-debug CRT

    Regards,

    Wolfgang

  • JorgeCM

    I don't see how the FAQ concerning manifests and redistributables explains anything to solve the problem of mixing debug and release versions of libraries/executables in case where I simply need to debug an application but don't have access to debug versions (i.e. versions linked against the debug CRT) of third party libraries.

    Regards,

    Wolfgang

  • Manifest issues with VC2005