Share via


rescap:Capability Name="runFullTrust" causes problem

Question

Sunday, February 9, 2020 12:06 AM

Hi

I use visual studio 2019 and wrote an uwp project.

Now i added a windows application packing project to  the solution project.

When i open the package.appxmanifest with the xml editor 

 <Dependencies>
    <TargetDeviceFamily Name="Windows.Universal" MinVersion="10.0.0.0" MaxVersionTested="10.0.0.0" />
    <TargetDeviceFamily Name="Windows.Desktop" MinVersion="10.0.14393.0" MaxVersionTested="10.0.14393.0" />
  </Dependencies>

  <Resources>
    <Resource Language="x-generate"/>
  </Resources>

  <Applications>
    <Application Id="App"
      Executable="$targetnametoken$.exe"
      EntryPoint="$targetentrypoint$">
      <uap:VisualElements
        DisplayName="timerpack"
        Description="timerpack"
        BackgroundColor="transparent"
        Square150x150Logo="Images\Square150x150Logo.png"
        Square44x44Logo="Images\Square44x44Logo.png">
        <uap:DefaultTile Wide310x150Logo="Images\Wide310x150Logo.png" />
        <uap:SplashScreen Image="Images\SplashScreen.png" />
      </uap:VisualElements>
    </Application>
  </Applications>

  <Capabilities>
    <Capability Name="internetClient" />
    <rescap:Capability Name="runFullTrust" />
  </Capabilities>
</Package>

Why in capabilities the default is 

 <rescap:Capability Name="runFullTrust" />

 it causes big problem if i want to publish to microsoft store in submission properties below the support info

before i upload the msixuploadfile 

at the properties below the support info

the "no :please review ...." is checked and that's ok  but when

When i upload in packages the msixuploadfile then in the properties 

submission below the support info 

the "yes :a valid privacy url ....." is checked and it's impossible to uncheck 

Thanks

 

All replies (1)

Monday, February 10, 2020 4:15 AM

Hi Shay_w,

Welcome to MSDN forum.

According to your description, actually, when you generate packaging program, it creates a Desktop-Bridge application. This application often add some win32 APIs and need to be converted. The FullTrust Capability is mainly to help for updating the program’s permissions. It is by default and if you don’t need it, just try to delete it.

In addition, about upload to store, I’m afraid, it is out of our support range. This may be the policy of the Microsoft App Store for Desktop-Bridge applications. We suggest, you could go to the “Partner Center Dashboard”  or go to Microsoft Q&A and start a new ticket there to seek for a more professional help.

Hope all above could help you and sorry for any inconvenience.

Kind Regards,

Tianyu

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 [email protected].