简体   繁体   English

WindowsAppSDK 拒绝读取 PublisherCache 文件夹的权限

[英]WindowsAppSDK denies permission to read PublisherCache folder

As I am upgrading my uwp app to WindowsAppSDK and WinUI3 desktop app, I got this exception of Permission denied on PublisherCacheFolder .当我将uwp应用程序升级到WindowsAppSDKWinUI3桌面应用程序时,我在PublisherCacheFolder上遇到了Permission denied的异常。 And it was working fine in uwp.它在 uwp 中运行良好。 I intend to package the app with msix so I will still technically upload it to store.我打算用msix package 应用程序,所以我仍然会在技术上将它上传到存储。

Just to clarify I do have folder names in package file in Extensions thats how it was working fine in uwp只是为了澄清一下,我在扩展中的 package 文件中确实有文件夹名称,这就是它在 uwp 中的工作方式

在此处输入图像描述

Fixed it by reinstalling the app, dont know why but it had to do something with existing uwp version of the app being overriden with this windowsAppSDK version of the app under same publisher通过重新安装应用程序修复它,不知道为什么,但它必须对现有 uwp 版本的应用程序做一些事情,该应用程序的此 windowsAppSDK 版本在同一发布者下被覆盖

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM