Answered Deploying "Blank App" Template Raises Error DEP0800

  • Wednesday, August 01, 2012 7:43 PM
     
      Has Code

    Hi,

    When I create a new project using the Templates ->Visual C++ -> Windows Metro Style -> Blank App (XAML) template [or any other template in the "Windows Metro Style" directory] , without making any changes to the template, I cannot deploy due to "Error DEP0800".

    How can I fix this? I've tried changing my target to x64 in the Configuration Manager, but I can't get around this ARM issue.

    My build output is the following:

    1>------ Build started: Project: App4, Configuration: Debug Win32 ------
    1>  pch.cpp
    1>  App.xaml.cpp
    1>  MainPage.xaml.cpp
    1>  XamlTypeInfo.Impl.g.cpp
    1>  XamlTypeInfo.g.cpp
    1>     Creating library c:\Users\Matthew\documents\visual studio 2012\Projects\App4\Debug\App4\App4.lib and object c:\Users\Matthew\documents\visual studio 2012\Projects\App4\Debug\App4\App4.exp
    1>  App4.vcxproj -> c:\Users\Matthew\documents\visual studio 2012\Projects\App4\Debug\App4\App4.exe
    2>------ Deploy started: Project: App4, Configuration: Debug Win32 ------
    2>Error : DEP0800 : The required framework "C:\Program Files (x86)\Microsoft SDKs\Windows\v8.0\ExtensionSDKs\Microsoft.VCLibs\11.0\.\AppX\Debug\ARM\Microsoft.VCLibs.ARM.Debug.11.appx" failed to install. 
    2>Windows cannot install package Microsoft.VCLibs.110.Debug because the package requires architecture ARM, but this computer has architecture x64.
    ========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
    ========== Deploy: 0 succeeded, 1 failed, 0 skipped ==========
    

All Replies

  • Wednesday, August 01, 2012 8:12 PM
     
     
    Did you succeed ? Changing to x86 in configuration manager does not work.
  • Wednesday, August 01, 2012 8:26 PM
     
     

    I haven't had any success yet. I've tried changing to Win32 and x64 in the Configuration Manager. I'm relatively new to development on Windows, and I don't know all the ins and outs of configuring Visual Studio.

  • Wednesday, August 01, 2012 8:29 PM
     
     
    what do we do ?
  • Wednesday, August 01, 2012 8:47 PM
     
     

    i installed mine today Express RC for Windows8.

    Which one is yours?

  • Tuesday, August 07, 2012 7:57 AM
     
     Answered

    1、open folder C:\Program Files (x86)\Microsoft SDKs\Windows\v8.0\ExtensionSDKs\Microsoft.VCLibs\11.0\AppX\Debug\ARM and rename Microsoft.VCLibs.arm.Debug.11.appx it to Microsoft.VCLibs.arm.Debug.11.appx1

    2、copy C:\Program Files (x86)\Microsoft SDKs\Windows\v8.0\ExtensionSDKs\Microsoft.VCLibs\11.0\AppX\Debug\x86\Microsoft.VCLibs.x86.Debug.11.appx to ...\AppX\Debug\ARM and rename it to Microsoft.VCLibs.arm.Debug.11.appx

    3、deploy your app

    • Marked As Answer by Matthew.Wyble Thursday, August 09, 2012 5:51 PM
    •  
  • Wednesday, August 08, 2012 11:26 PM
     
     
    Brilliant hack. It worked. I am using Win8 RTM with DevStudio 2012 RC. Had problem building/deploying even the metro samples. Hope this will be fixed when DevStudio 2012 becomes final.
  • Thursday, August 09, 2012 5:53 PM
     
     

    That works perfectly!