none
Missing Debug Versions of MFC and C Runtime VS 2008

    Question

  • Greetings,

    I installed visual studio 2008 from MSDN, then service pack 1 for VS 2008 also from MSDN Subscription.  My project links to the following versions of mfc and the c runtime, as denoted in the manifest:

    MFC90ud.dll - 9.0.30729.4148

    MSVCR90d.dll - 9.0.30729.4148

    For the release build versions, the SxS versions are there.  However, for the debug versions, they are not.  I have installed .Net Framework 4.0 and Debugging Tools for Windows as well.

    I wish to link to these versions instead:

    MFC90ud.dll - 9.0.30729.1

    MSVCR90d.dll - 9.0.30729.1

    How do I force my project to use these versions, and why are the debug versions of 4148 not there?  I assume that the .Net Framework 4.0 is causing the problems, as it is part of VS 2010, yes?

     


    Steve 20+ yr. Software Engineer
    Wednesday, December 22, 2010 7:20 AM

Answers

All replies

  • OK,

    To be more clear, I WANT THE 9.0.30729.4148 versions, NOT the 9.0.30729.1 versions.  Why are they not installed with the service pack?

    Basically, my debug build does not work on a new machine, complaining of the missing dlls, SxS incorrect, etc.  Release build works fine.


    Steve 20+ yr. Software Engineer
    Wednesday, December 22, 2010 7:32 AM
  • Hi Spujia,

     

    Version 9.0.30729.4148 is the version comes from VS2008 SP1 ATL security update (KB KB971092). Have you install the latest update for Visual Studio 2008 SP1 from Microsoft update? If not, you can download and install the update from http://www.microsoft.com/downloads/en/details.aspx?displaylang=en&FamilyID=294de390-3c94-49fb-a014-9a38580e64cb. For more information of this update, include known installation issues, please check http://support.microsoft.com/kb/971092. For your future concern about installation issue, please visit our Visual Studio Setup and Installation forum.

     

    Normally, deploying a debug version of application is not allowed, if you want to Preparing a Test Machine To Run a Debug Executable, you may need to install the debug version of CRT to the WinSXS of target machine, or using private side by side assemblies. For more information, please check http://msdn.microsoft.com/en-us/library/aa985618(v=VS.90).aspx.    

     

    Best Regards,

    Yi Feng Li

     


    Yi Feng Li [MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    • Marked as answer by spujia Friday, December 24, 2010 10:14 PM
    Wednesday, December 22, 2010 12:36 PM
    Moderator
  • Thanks for the info - I'll check it out.

     

    Have you seen this related thread:

    http://social.msdn.microsoft.com/Forums/en/vcgeneral/thread/545d9b69-5f27-473f-b6d1-bea106cde47f

     


    Steve 20+ yr. Software Engineer
    Thursday, December 23, 2010 1:33 AM
  • Hi Spujia,

     

    I have double check the case for you. After we applied KB971092, the CRT (both release and debug) Version 9.0.30729.4148 will be installed into WinSxS. In addition, it updates the CRT (both release and debug) into version 9.0.30729.4148 which locates at VS Installation folder\VC\redist\.

     

    If you have any concern, please let me know.

     

    Regards,

    Yi Feng Li


    Yi Feng Li [MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Thursday, December 23, 2010 3:36 AM
    Moderator
  • Thanks, I have confirmed this.

     

    However, Shouldn't VS 2008 SP1 work out of the box?


    Steve 20+ yr. Software Engineer
    Thursday, December 23, 2010 9:15 AM
  • Hi spujia,

    ATL security update was relesed after SP1, therefore, we have to apply ATL security update for upgrading the CRT to 4148.  As far as I know, this update will be pushed by Microsoft update.

    Regards,

    Yi Feng Li


    Yi Feng Li [MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Thursday, December 23, 2010 12:11 PM
    Moderator