none
[UWP] [Desktop Bridge] RRS feed

  • Question

  • I'm getting a strange error in my Appx Manifest saying


    Severity


    Code


    Description


    Project


    File


    Line


    Suppression State


    Warning


    Imported schema for namespace 'http://schemas.microsoft.com/appx/manifest/foundation/windows10/windowscapabilities/3' was not resolved.


    Directions.UWPPackage


    C:\Users\dvdal\Documents\Visual Studio 2017\Projects\Directions\Directions.UWPPackage\Package.appxmanifest


    16


    Severity


    Code


    Description


    Project


    File


    Line


    Suppression State


    Warning


    Namespace 'http://schemas.microsoft.com/appx/manifest/uap/windows10/3' is not available to be referenced in this schema.


    Directions.UWPPackage


    C:\Users\dvdal\Documents\Visual Studio 2017\Projects\Directions\Directions.UWPPackage\Package.appxmanifest


    49

    Here's my source code:

    <?xml version="1.0" encoding="utf-8"?>
    <Package xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10/windowscapabilities/3"
            xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10/"
    
            xmlns:mp="http://schemas.microsoft.com/appx/2014/phone/manifest"
            xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities/3"
            xmlns:desktop="http://schemas.microsoft.com/appx/manifest/desktop/windows10"
            IgnorableNamespaces="uap rescap mp">
      
      <mp:PhoneIdentity PhoneProductId="6f6600a4-6da1-4d91-b493-35808d01f8de" PhonePublisherId="00000000-0000-0000-0000-000000000000" />
      <Properties>
        <DisplayName>DirectionsStep1</DisplayName>
        <PublisherDisplayName>CN=Test</PublisherDisplayName>
        <Logo>Assets\Square150x150Logo.scale-200.png</Logo>
      </Properties>
      <Resources>
        <Resource Language="en-us" />
      </Resources>
      <Dependencies>
        <TargetDeviceFamily Name="Windows.Desktop"
                            MinVersion="10.0.14393.0"
                            MaxVersionTested="10.0.14393.0" />
      </Dependencies>
      <Capabilities>
        <Capability Name="runFullTrust" />
      </Capabilities>
      <Applications>
        <Application Id="DirectionsStep1"
                     Executable="win32\Directions.exe"
                     EntryPoint="Windows.FullTrustApplication">
          <uap:VisualElements DisplayName="DirectionsStep1"
                              Description="DirectionsStep1"
                              BackgroundColor="#777777"
                              Square150x150Logo="Assets\SampleAppx.150x150.png"
                              Square44x44Logo="Assets\SampleAppx.44x44.png">
          </uap:VisualElements>
        </Application>
      </Applications>
      <Extensions>
      <Extension Category="windows.backgroundTasks"
                  EntryPoint="BackgroundTasks.MyBackgroundTask">
        <BackgroundTasks>
          <Task Type="timer" />
        </BackgroundTasks>
      </Extension>
    </Extensions>
    <desktop:Extension Category="windows.fullTrustProcess"
                        Executable="win32\Directions.exe" />
    </Package>
    Am I missing reference for another Desktop App Extension?

    Thursday, June 29, 2017 9:00 PM

All replies

  • Hi dvdalimi,

    If you just only got warning, but you could make app package successfully. You could ignore it.

    For the first warning: “http://schemas.microsoft.com/appx/manifest/foundation/windows10/windowscapabilities/3” was not resolved.

    The xmlns namespaces should be like the following: 

    xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10"

    For the second warning:

    namespace 'http://schemas.microsoft.com/appx/manifest/uap/windows10/3' is not available to be referenced in this schema.

    I have not saw you used it in your manifest. Please check the document:Integrate your app with Windows 10 (Desktop Bridge) for more details.

    Best Regards,

    Xavier Eoro


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.



    Friday, June 30, 2017 2:39 AM
  • @dvdalimi

    Any update?

    Have you solved your issue?

    Best Regards,

    Xavier


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Thursday, July 6, 2017 6:18 AM