2018-2-13-WPF-异常-NativeWPFDLLLoader.LoadNativeWPFDLL
title | author | date | CreateTime | categories |
---|---|---|---|---|
WPF 异常 NativeWPFDLLLoader.LoadNativeWPFDLL |
lindexi |
2018-2-13 17:23:3 +0800 |
2018-2-13 17:23:3 +0800 |
WPF |
如果发现出现下面异常,可以尝试重装 .net Framework
System.ComponentModel.Win32Exception 异常信息: System.DllNotFoundException 在 MS.Internal.NativeWPFDLLLoader.LoadNativeWPFDLL(UInt16*, UInt16*) 在 MS.Internal.NativeWPFDLLLoader.LoadCommonDLLsAndDwrite() 在 <Module>.CModuleInitialize.{ctor}(CModuleInitialize*, Void ()) 在 <Module>.?A0x721f77f1.CreateCModuleInitialize() 在 <Module>.?A0x721f77f1.??__E?A0x721f77f1@cmiStartupRunner@@YMXXZ() 在 <Module>._initterm_m(Void* ()*, Void* ()*) 在 <Module>.<CrtImplementationDetails>.LanguageSupport.InitializePerAppDomain(<CrtImplementationDetails>.LanguageSupport*) 在 <Module>.<CrtImplementationDetails>.LanguageSupport._Initialize(<CrtImplementationDetails>.LanguageSupport*) 在 <Module>.<CrtImplementationDetails>.LanguageSupport.Initialize(<CrtImplementationDetails>.LanguageSupport*) 异常信息: <CrtImplementationDetails>.ModuleLoadException 在 <Module>.<CrtImplementationDetails>.LanguageSupport.Initialize(<CrtImplementationDetails>.LanguageSupport*) 在 <Module>..cctor() 异常信息: System.TypeInitializationException 在 lindexi.Startup.Main(System.String[])
尝试使用 sfc /scannow 看是否系统坏了,重新安装 .net Framework就好了
博客园博客只做备份,博客发布就不再更新,如果想看最新博客,请到 https://blog.lindexi.com/
本作品采用知识共享署名-非商业性使用-相同方式共享 4.0 国际许可协议进行许可。欢迎转载、使用、重新发布,但务必保留文章署名[林德熙](https://www.cnblogs.com/lindexi)(包含链接:https://www.cnblogs.com/lindexi ),不得用于商业目的,基于本文修改后的作品务必以相同的许可发布。如有任何疑问,请与我[联系](mailto:lindexi_gd@163.com)。