最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

.net - uwp destroyed disc access- I cannot access disc with uwp app - Stack Overflow

programmeradmin7浏览0评论

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>
发布评论

评论列表(0)

  1. 暂无评论