locked
VS2012-metro with C++ -Could not find SDK "Microsoft.VCLibs, Version=11.0"

    Question

  • When I build my project with VS2012 RC in Windows8 RP(Release Preview) ,everything will be ok.

    but when I build the same project with VS2012 Ultimate in Windows8 RTM(Build 9200),I got error below:

    C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.Targets(1701,5): error MSB3774: Could not find SDK "Microsoft.VCLibs, Version=11.0".

    I have searched the internet, found that someone met the same problem when they use Bing Map, but I don't use Bing Map.

    I think this error may be related to SDK, so I repair my SDK, but it does't work.

    Friday, August 31, 2012 12:59 AM

Answers

  • Hi,

    Please make sure the Visual Studio version also is RTM.

    Then, Right Click your project->Properties->Configuration properties->General->Platform Toolset, select Visual Studio 2012(v110)

    Clean and rebuild your project.

    Best regards,
    Jesse


    Jesse Jiang [MSFT]
    MSDN Community Support | Feedback to us

    • Proposed as answer by Jesse Jiang Wednesday, September 05, 2012 7:22 AM
    • Marked as answer by Jesse Jiang Friday, September 07, 2012 8:12 AM
    Monday, September 03, 2012 8:40 AM
  • As Jesse mentioned, you must have both the RTM version of Win8 and the RTM build of VS 2012. Links to these builds are available here.

    David Lamb

    • Marked as answer by Jesse Jiang Friday, September 07, 2012 8:12 AM
    Wednesday, September 05, 2012 3:28 PM
    Moderator

All replies

  • Hi,

    Please make sure the Visual Studio version also is RTM.

    Then, Right Click your project->Properties->Configuration properties->General->Platform Toolset, select Visual Studio 2012(v110)

    Clean and rebuild your project.

    Best regards,
    Jesse


    Jesse Jiang [MSFT]
    MSDN Community Support | Feedback to us

    • Proposed as answer by Jesse Jiang Wednesday, September 05, 2012 7:22 AM
    • Marked as answer by Jesse Jiang Friday, September 07, 2012 8:12 AM
    Monday, September 03, 2012 8:40 AM
  • Could you solve it? We have the same issue.

    Monday, September 03, 2012 4:55 PM
  • As Jesse mentioned, you must have both the RTM version of Win8 and the RTM build of VS 2012. Links to these builds are available here.

    David Lamb

    • Marked as answer by Jesse Jiang Friday, September 07, 2012 8:12 AM
    Wednesday, September 05, 2012 3:28 PM
    Moderator
  • no..i cannot solve it .

    so i have to change my development environment to win8 RP and visual studio 2012 RC :(

    Tuesday, September 11, 2012 2:00 PM
  • I have the same problem. Neither post marked here as answer helps.

    Jesse, please do not mark as answers posts that anyone has not proposed.

    Tuesday, November 13, 2012 10:15 AM
  • Have you tried 'rebuilding' your VS solution/project using the RTM version of VS 2012? That usually resolves some 'upgrade' bugs moving from DP to RP to RTM.
    Tuesday, November 13, 2012 6:52 PM
  • Hi,

    Would you please open a new thread, and provide us more information about this issue?

    For most situation at that time, the solution works fine. Meanwhile, we need more information for your issue to troubleshoot it.

    Best regards,
    Jesse


    Jesse Jiang [MSFT]
    MSDN Community Support | Feedback to us

    Wednesday, November 14, 2012 2:21 AM
  • Rebuilding didn't work. The project involved is new Direct2D application.

    I have resolved it by repairing VS 2012 installation.

    I'm running VS 11.0.50727.1 RTMREL on Windows 8 RTM x64.


    • Edited by Josef Bláha Thursday, November 15, 2012 8:49 AM Deleted the line about installing SDK 7.1 over 8.0.
    Wednesday, November 14, 2012 10:10 AM
  • Why did you install the Windows SDK 7.1? What were you trying to enable that you didn't already have with Windows SDK 8.0?
    Wednesday, November 14, 2012 9:42 PM
  • Sorry, I have written it wrong. My scenario is that I had upgraded from Windows 7 with 7.1 SDK installed to Windows 8.

    Thursday, November 15, 2012 8:48 AM
  • I have the same problem too, with my own projects but also with the Microsoft "Hilo C++ Sample" project. The first is a mixed app with C++ dll and C# app, while the second is a pure C++ project. My system has the 7.1 SDK installed, but I tried to resolve this by installing the 8.0 SDK as well. I'm using Visual Studio 2012 RTM and Windows 8 RTM x64, however I also have older versions of Visual Studio installed too (I need those for support reasons).

    Not building for Windows Store App is not an issue, while building with all C# projects for Windows Store works too. It's only building with C++ projects specifically for Windows Store App that doesn't work.


    Color Scientist

    Wednesday, November 21, 2012 4:52 PM