none
WACK验证时闪退,事件查看器中报appcertui.exe出现System.IO.DirectoryNotFoundException异常 RRS feed

  • 问题

  • WACK版本:10.0.17134.12

    以下是事件查看器里的日志内容:

    第一条:

    应用程序: appcertui.exe
    Framework 版本: v4.0.30319
    说明: 由于未经处理的异常,进程终止。
    异常信息: System.IO.DirectoryNotFoundException
       在 System.IO.__Error.WinIOError(Int32, System.String)
       在 System.IO.FileStream.Init(System.String, System.IO.FileMode, System.IO.FileAccess, Int32, Boolean, System.IO.FileShare, Int32, System.IO.FileOptions, SECURITY_ATTRIBUTES, System.String, Boolean, Boolean, Boolean)
       在 System.IO.FileStream..ctor(System.String, System.IO.FileMode, System.IO.FileAccess, System.IO.FileShare, Int32)
       在 System.Xml.XmlDownloadManager.GetStream(System.Uri, System.Net.ICredentials, System.Net.IWebProxy, System.Net.Cache.RequestCachePolicy)
       在 System.Xml.XmlUrlResolver.GetEntity(System.Uri, System.String, System.Type)
       在 System.Xml.XmlTextReaderImpl.OpenUrlDelegate(System.Object)
       在 System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode, CleanupCode, System.Object)
       在 System.Threading.CompressedStack.Run(System.Threading.CompressedStack, System.Threading.ContextCallback, System.Object)
       在 System.Xml.XmlTextReaderImpl.OpenUrl()
       在 System.Xml.XmlTextReaderImpl.Read()
       在 System.Xml.XmlLoader.Load(System.Xml.XmlDocument, System.Xml.XmlReader, Boolean)
       在 System.Xml.XmlDocument.Load(System.Xml.XmlReader)
       在 System.Xml.XmlDocument.Load(System.String)
       在 Microsoft.Windows.SoftwareLogo.Shared.AppxProgramInventoryHelper.GetPackageFromManifestFile(System.String, Boolean, System.String)
       在 Microsoft.Windows.SoftwareLogo.ExecutionDriver.Execution.ReadAppxPackage()
       在 Microsoft.Windows.SoftwareLogo.ExecutionDriver.Execution.BuildTAEFCommandLine(Microsoft.Windows.SoftwareLogo.ExecutionDriver.ExecutionInstancePerApp, System.String)
       在 Microsoft.Windows.SoftwareLogo.ExecutionDriver.Execution.ExecuteTAEFTaskInstance(Microsoft.Windows.SoftwareLogo.ExecutionDriver.ExecutionInstancePerApp, System.String)
       在 Microsoft.Windows.SoftwareLogo.ExecutionDriver.Execution.ExecuteInstanceThreadProc(System.Object)
       在 System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
       在 System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
       在 System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
       在 System.Threading.ThreadHelper.ThreadStart(System.Object)

    第二条:

    错误应用程序名称: appcertui.exe,版本: 10.0.17134.12,时间戳: 0x8c70cd53
    错误模块名称: KERNELBASE.dll,版本: 10.0.17134.319,时间戳: 0x1e206b26
    异常代码: 0xe0434352
    错误偏移量: 0x000000000003a388
    错误进程 ID: 0x1cb0
    错误应用程序启动时间: 0x01d4751004a957e4
    错误应用程序路径: C:\Program Files (x86)\Windows Kits\10\App Certification Kit\appcertui.exe
    错误模块路径: C:\Windows\System32\KERNELBASE.dll
    报告 ID: 8818b5dd-01d0-427b-9ab8-8c30179cca8e
    错误程序包全名: 
    错误程序包相对应用程序 ID: 


    2018年11月5日 14:06

答案

  • 你好,

    你代码里是不是有用directory的地方?能看下是什么代码么?当然也有可能是VS的问题 https://developercommunity.visualstudio.com/content/problem/267347/windows-app-cerfication-kit-1001713412-crashes.html


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    • 已标记为答案 lfeng1420 2019年6月6日 9:10
    2018年11月15日 9:19
    版主