UWP 应用程序中的 runFullTrust 模式是否默认支持 broadFileAccess?

Is runFullTrust mode in UWP app ,capable of broadFileAccess by default?

我有一个 UWP 应用程序,它需要受限功能 "broadFileAccess" 才能访问文件中的数据。我还必须使用 "runFullTrust" 功能进行注册表访问。我的理解是 "runFullTrust" 模式下的应用程序具有文件和注册表访问权限,并且 "runFullTrust" 是更高级别的功能。

问题: 我尝试提供 "runFullTrust" 功能,但由于某种原因,文件访问权限被拒绝,而且我什至没有在应用程序设置下启用它的选项。 我也尝试同时授予这两种权限,然后我得到了文件访问被拒绝的错误。

问题: 我可以为应用程序提供 "runFullTrust" 功能,它会自动继承“broadFileAccess: 功能吗?还是我做错了什么?

来自官方document,

The runFullTrust restricted capability allows apps to run at the full trust permission level on the user’s machine. This capability is required to use the FullTrustProcessLauncher API.

This capability is also required for any desktop application that is delivered as an appx or msix package (as with the Desktop Bridge), and it will automatically appear in your manifest when packaging these apps using the Desktop App Converter (DAC) or Visual Studio.

broadFileSystemAccess 功能允许应用程序获得与当前 运行 应用程序用户相同的文件系统访问权限,而无需在运行时使用任何额外的文件选择器样式提示。此功能适用于 Windows.Storage API。因为用户可以随时在设置中授予或拒绝权限,所以如果您添加了此功能,您还需要在设置页面中勾选该选项。

可在“设置”>“隐私”>“文件系统”中配置访问权限。