none
Add restricted capability runFullTrust in Package.appxmanifest cause App permissions disappear in App settings

    Question

  • Hi,

    As title, if I add runFullTrust capability in Package.appxmanifest,

    then "App permissions" area disappear in my App settings (Start Menu-> right click my app -> More -> App Settings),

    my capability config in Package.appxmanifest:

    <Package xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10"
             xmlns:mp="http://schemas.microsoft.com/appx/2014/phone/manifest"
             xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10"
             xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities"
             IgnorableNamespaces="uap mp rescap">
    
      ...
    
      <Capabilities>
        <Capability Name="internetClient" />
        <uap:Capability Name="videosLibrary" />
        <uap:Capability Name="picturesLibrary" />
    <rescap:Capability Name="runFullTrust" />
    <rescap:Capability Name="appDiagnostics" /> </Capabilities> </Package>

    if remove <rescap:Capability Name="runFullTrust" />, will see the App permissions area normally.

    see screenshot:

    result of after add runFullTrust and before add runFullTrust

    How can I fix it? Or this is a bug?

    OS version: Windows 10, 1803 (17134.441)

    Thanks



    • Edited by Emmett Tsai Friday, December 7, 2018 2:00 AM remove &quot; in title
    Thursday, December 6, 2018 11:14 AM

All replies

  • Hi,

    I could reproduce this behavior, I need to confirm this with the team to see if this is expected. There might be some time delay.

    Best regards,

    Roy


    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, December 7, 2018 6:13 AM
    Moderator