Could not load file or assembly ‘CefSharp.Core.Runtime, Version=93.1.140.0
Posted 棉晗榜
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Could not load file or assembly ‘CefSharp.Core.Runtime, Version=93.1.140.0相关的知识,希望对你有一定的参考价值。
转载:
https://blog.csdn.net/bahuan1987/article/details/102344645
ChromiumWebBrowser实例化异常:System.BadImageFormatException: Could not load file or assembly ‘CefSharp.Core.Runtime, Version=93.1.140.0, Culture=neutral, PublicKeyToken=40c4b6fc221f4138’. 试图加载格式不正确的程序。
File name: ‘CefSharp.Core.Runtime, Version=93.1.140.0, Culture=neutral, PublicKeyToken=40c4b6fc221f4138’
at CefSharp.CefSettingsBase…ctor()
at CefSharp.Wpf.CefSettings…ctor() in C:\\projects\\cefsharp\\CefSharp.Wpf\\CefSettings.cs:line 16
这个是本机没有安装依赖组件Microsoft Visual C++ 2015-2019 Redistributable,如图,需要本机安装下面的组件
下载地址
链接: https://pan.baidu.com/s/14q4mGEzJj7JSDcrpvHCVPw 提取码: 7vhi
以上是关于Could not load file or assembly ‘CefSharp.Core.Runtime, Version=93.1.140.0的主要内容,如果未能解决你的问题,请参考以下文章