locked
Failing to deploy app to RT surface pro

    General discussion

  • Trying to test my app on surface pro, deploying via powershell and getting the following error:

    add-appxpackage : Deployment failed with HRESULT: 0x80080204, The Appx
    package's manifest is invalid. (Exception from HRESULT: 0x80080204)
    error 0xC00CE014: App manifest validation error: The app manifest must be
    valid as per schema: Line 25, Column 8, Reason: Element
    '{http://schemas.microsoft.com/appx/2013/manifest}VisualElements' is
    unexpected according to content model of parent element
    '{http://schemas.microsoft.com/appx/2010/manifest}Application'.
    Expecting: {http://schemas.microsoft.com/appx/2010/manifest}VisualElements.

    My manifest:

    <Package xmlns="http://schemas.microsoft.com/appx/2010/manifest" xmlns:m2="http://schemas.microsoft.com/appx/2013/manifest">

    Any ideas? Using VS2013.

    Thanks

    Wednesday, October 29, 2014 4:51 PM

All replies

  • Will try by removing the 2013 schema references: e.g. Square150x150Logo etc.
    Wednesday, October 29, 2014 5:14 PM
  • Hello,

    You can try to run the app on a remote surface machine using visual studio. This approach can easily solve this problem. Please refer to the following link for more information. http://msdn.microsoft.com/en-us/library/windows/apps/hh441469.aspx.

    Regards,


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. Click HERE to participate the survey.

    Friday, October 31, 2014 5:49 AM
    Moderator
  • Got it working on Windows 8 by removing 2013 schema references.

    Decided to keep references and upgrade surface pro to 8.1

    Tuesday, November 04, 2014 9:07 AM