【问题标题】:Trying to Resolve supported APIs test detected the errors: [duplicate]尝试解决支持的 API 测试检测到错误:[重复]
【发布时间】:2016-12-23 11:01:14
【问题描述】:

您好,我在本地创建应用程序包时遇到以下错误。 发现错误:

支持的 API 测试检测到以下错误: ◦System.UnauthorizedAccessException:访问路径 'C:\Program 文件 (x86)\Windows Kits\10\App 认证 Kit\SupportedAPIs-x64.xml' 被拒绝。在 System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) 在 System.IO.FileStream.Init(String path, FileMode mode, FileAccess 访问、Int32 权限、布尔用户权限、FileShare 共享、Int32 bufferSize,FileOptions 选项,SECURITY_ATTRIBUTES secAttrs,字符串 msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) 在 System.IO.FileStream..ctor(字符串路径,FileMode 模式,FileAccess 访问,文件共享共享,Int32 bufferSize)在 System.Xml.XmlDownloadManager.GetStream(Uri uri,ICredentials 凭据,IWebProxy 代理,RequestCachePolicy 缓存策略)在 System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri,字符串角色,类型 ofObjectToReturn) 在 System.Xml.XmlTextReaderImpl.OpenUrlDelegate(对象 xmlResolver)在 System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode 代码,CleanupCode backoutCode,对象 userData)在 System.Threading.CompressedStack.Run(CompressedStack 压缩栈, ContextCallback 回调,对象状态)在 System.Xml.XmlTextReaderImpl.OpenUrl() 在 System.Xml.XmlTextReaderImpl.Read() 在 System.Xml.XmlLoader.Load(XmlDocument 文档,XmlReader 阅读器,布尔值 preserveWhitespace)在 System.Xml.XmlDocument.Load(XmlReader 阅读器) 在 System.Xml.XmlDocument.Load(字符串文件名) Microsoft.Windows.SoftwareLogo.Tests.SupportedApis.SupportedApis.GetNativeAllowList() 在 Microsoft.Windows.SoftwareLogo.Tests.SupportedApis.SupportedApis.ExecuteSharedTests(EnumApplicationType appType,字符串 packageFullName) 在 Microsoft.Windows.SoftwareLogo.Tests.SupportedApis.SupportedApis.Test(UapApp uapApp)在 Microsoft.Windows.SoftwareLogo.TestBase.TestBase.ExecuteTest() ◦[HRESULT 0x80131604] 测试操作失败:'ExecuteTest'。

.关于如何解决它的任何想法。

【问题讨论】:

    标签: c# xaml uwp


    【解决方案1】:

    在我看来,这个较老的问题正在处理同样的问题: Error when creating App Packages

    (stackoverflow 专家,我不知道如何将问题标记为重复或类似的问题 - 也许我什至没有权限这样做)

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2019-08-01
      • 1970-01-01
      • 1970-01-01
      • 2019-05-27
      • 1970-01-01
      相关资源
      最近更新 更多