应用程序无法启动,因为其并行配置不正确

问题描述 投票:0回答:0

未处理的异常:System.IO.FileLoadException:无法加载文件 或组装'TheLibrary,版本=1.2.3905.36284,文化=中性, PublicKeyToken=14 04827c3a8f2601' 或其依赖项之一。 的 应用程序无法启动,因为它的并行配置 不正确。 请参阅应用程序事件日志以了解更多详细信息。 (HRESULT 异常:0x800736B1)文件名:'TheLibrary, 版本=1.2.3905.36284,文化=中立,PublicKe yToken=1404827c3a8f2601' ---> System.Runtime.InteropServices.COMException(0x800 736B1): 应用程序无法启动,因为它的并行配置 on 是不正确的。请参阅应用程序事件日志了解更多详细信息。 (HRESULT 例外:0x800736B1)

当我查看事件日志时,出现此错误。

激活上下文生成失败 “C:\project\Debug\MyLibrary.dll”。相关组件 Microsoft.VC90.DebugCRT,processorArchitecture =“x86”,publicKeyToken =“1fc8b3b9a1e18e3b”,类型=“win32”,版本=“9.0.21022.8” 找不到。请使用sxstrace.exe进行详细诊断。

我使用

sxstrace
记录错误,结果如下:

================== 开始激活上下文生成。输入参数:Flags = 0 ProcessorArchitecture = x86 CultureFallBacks = en-US;en ManifestPath = C:\Windows\system3

c# .net configuration dependencies
© www.soinside.com 2019 - 2024. All rights reserved.