locked
Deploying "Blank App" Template Raises Error DEP0800

    Question

  • 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 ==========
    

    Wednesday, August 1, 2012 7:43 PM

Answers

  • 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 9, 2012 5:51 PM
    Tuesday, August 7, 2012 7:57 AM

All replies

  • Did you succeed ? Changing to x86 in configuration manager does not work.
    Wednesday, August 1, 2012 8:12 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 1, 2012 8:26 PM
  • what do we do ?
    Wednesday, August 1, 2012 8:29 PM
  • i installed mine today Express RC for Windows8.

    Which one is yours?

    Wednesday, August 1, 2012 8:47 PM
  • 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 9, 2012 5:51 PM
    Tuesday, August 7, 2012 7:57 AM
  • 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.
    Wednesday, August 8, 2012 11:26 PM
  • That works perfectly!

    Thursday, August 9, 2012 5:53 PM
  • I know this is a C++ forum but I have a similar problem with JavaScript/HTML app...Plzzz help me resolve this. 

    1>------ Deploy started: Project: HelloWorld, Configuration: Debug Any CPU ------
    1>Updating the layout...
    1>Copying files: Total <1 mb to layout...
    1>Checking whether required frameworks are installed...
    1>Framework: Microsoft.WinJS.1.0/neutral, app package version 1.0.9200.20789 is not currently installed.
    1>Installing missing frameworks...
    1>Error : DEP0800 : The required framework "C:\Program Files (x86)\Microsoft SDKs\Windows\v8.0\ExtensionSDKs\Microsoft.WinJS.1.0\1.0\Microsoft.WinJS.1.0.appx" failed to install. 
    1>error 0x80070241: Failed to load the extension DLL due to the following error: Windows cannot verify the digital signature for this file. A recent hardware or software change might have installed a file that is signed incorrectly or damaged, or that might be malicious software from an unknown source.
    1>.
    1>Deployment of the application to the target device failed.


    Saturday, September 14, 2013 10:58 AM
  • I find an simple and effective method.

    Just right-click  on your Solution and click on "Clean Solution".

    Then you can deploy your project.

    Saturday, April 19, 2014 1:24 PM
  • In my case, Run Visual Studio as Administrator and it worked!
    Friday, January 16, 2015 2:09 AM