admin管理员组

文章数量:1401491

I made sucessful Silverlight apps with disc access. See enter link description here I couln't get ExtendedExecutionSession so app can work when navigated away. So I made UWP app. See enter link description here I am getting exceptions that disc access is denied. Did UWP destroy disc access?

I made sucessful Silverlight apps with disc access. See enter link description here I couln't get ExtendedExecutionSession so app can work when navigated away. So I made UWP app. See enter link description here I am getting exceptions that disc access is denied. Did UWP destroy disc access?

Share Improve this question asked Mar 23 at 16:06 jacekjacek 11 bronze badge 2
  • broadFileSystemAccess capability – Hans Passant Commented Mar 23 at 16:37
  • 1 Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking. – Community Bot Commented Mar 24 at 16:01
Add a comment  | 

1 Answer 1

Reset to default 0

Please add the broadFileSystemAccess capability into your project in order to access the file in locations that the app doesn't have permission. This is mentioned here: App capability

<?xml version="1.0" encoding="utf-8"?>
<Package
    ...
    xmlns:rescap="http://schemas.microsoft/appx/manifest/foundation/windows10/restrictedcapabilities"
    IgnorableNamespaces="... rescap">
...
<Capabilities>
    <rescap:Capability Name="broadFileSystemAccess"/>
</Capabilities>
</Package>

本文标签: netuwp destroyed disc access I cannot access disc with uwp appStack Overflow