未能加载文件或程序集“CefSharp.Core.dll”或它的某一个依赖项。


问题描述

语言:C# .NET

环境:wifnorm

使用 CEFSharp 组件,在客户端运行的时候报错

未能加载文件或程序集“CefSharp.Core.dll”或它的某一个依赖项。找不到指定的模块

 

解决方案

下载并尝试安装VC++2015运行库

Visual C++ Redistributable Package 安装 Visual C++ 库的运行时组件。这些组件是运行使用 Visual Studio 2015 开发的 C++ 应用程序所必需的,并与 Visual C+ 库动态链接。这些包可用于在计算机上运行此类应用程序,即使没有安装 Visual Studio 2015。这些包安装以下库的运行时组件:C 运行时 (CRT)、标准 C++、MFC、C++ AMP 和 OpenMP。

百度搜索:Visual C++ Redistributable Packages for Visual Studio 2015

认准 微软官网 www.microsoft.com

直接下载地址

Download Visual C++ Redistributable for Visual Studio 2015 from Official Microsoft Download Center

 

 

注意

不同 CEFSharp 版本对应的 Visual C++ Redistributable Packages 版本不同

需要多试试几个版本:

41.0.0 版本对应 Visual C++ Redistributable for Visual Studio 2012

Microsoft Visual C++ Redistributable 各版本下载地址

官方所有版本下载界面:最新支持的 Visual C++ 下载

 

最新版下载地址:https://www.visualstudio.com/downloads/

所有下载 → 其他工具和框架 → Microsoft Visual C++ Redistributable

Microsoft Visual C++ Redistributable for Visual Studio 2019

x64:https://aka.ms/vs/16/release/VC_redist.x64.exe

arm64:https://aka.ms/vs/16/release/VC_redist.arm64.exe

x86:https://aka.ms/vs/16/release/VC_redist.x86.exe

Microsoft Visual C++ Redistributable 2015

x64: https://download.microsoft.com/download/9/3/F/93FCF1E7-E6A4-478B-96E7-D4B285925B00/vc_redist.x64.exe

x86: https://download.microsoft.com/download/9/3/F/93FCF1E7-E6A4-478B-96E7-D4B285925B00/vc_redist.x86.exe

官方地址:Download Visual C++ Redistributable for Visual Studio 2015 from Official Microsoft Download Center

支持的操作系统

Windows 10, Windows 7 Service Pack 1, Windows 8, Windows 8.1, Windows Server 2003 Service Pack 2, Windows Server 2008 R2 SP1, Windows Server 2008 Service Pack 2, Windows Server 2012, Windows Vista Service Pack 2, Windows XP Service Pack 3

Microsoft Visual C++ Redistributable 2013

arm: https://download.microsoft.com/download/F/3/5/F3500770-8A08-488E-94B6-17A1E1DD526F/vcredist_arm.exe 

x64: https://download.microsoft.com/download/F/3/5/F3500770-8A08-488E-94B6-17A1E1DD526F/vcredist_x64.exe 

x86: https://download.microsoft.com/download/F/3/5/F3500770-8A08-488E-94B6-17A1E1DD526F/vcredist_x86.exe 

官方地址:Download Visual C++ Redistributable Packages for Visual Studio 2013 from Official Microsoft Download Center

支持的操作系统

Windows 7 Service Pack 1, Windows 8, Windows 8.1, Windows Server 2003, Windows Server 2008 R2 SP1, Windows Server 2008 Service Pack 2, Windows Server 2012, Windows Server 2012 R2, Windows Vista Service Pack 2, Windows XP

Microsoft Visual C++ Redistributable 2012

arm: https://download.microsoft.com/download/9/C/D/9CD480DC-0301-41B0-AAAB-FE9AC1F60237/VSU4/vcredist_arm.exe 

x64: https://download.microsoft.com/download/9/C/D/9CD480DC-0301-41B0-AAAB-FE9AC1F60237/VSU4/vcredist_x64.exe

x86: https://download.microsoft.com/download/9/C/D/9CD480DC-0301-41B0-AAAB-FE9AC1F60237/VSU4/vcredist_x86.exe 

官方地址:Download Visual C++ Redistributable for Visual Studio 2012 Update 4 from Official Microsoft Download Center

支持的操作系统

Windows 7 Service Pack 1, Windows 8, Windows 8.1, Windows Server 2003, Windows Server 2008 R2 SP1, Windows Server 2008 Service Pack 2, Windows Server 2012, Windows Vista Service Pack 2, Windows XP

Microsoft Visual C++ Redistributable 2010

官方地址: https://www.microsoft.com/zh-cn/download/details.aspx?id=26999 

支持的操作系统

Windows XP, Windows Server 2003 R2 x64 editions, Windows Vista Service Pack 2, Windows Server 2003 R2 (32-Bit x86), Windows Server 2008 R2, Windows 7

Microsoft Visual C++ Redistributable 2008

官方地址: https://www.microsoft.com/zh-cn/download/details.aspx?id=26368 

支持的操作系统

Windows Server 2008, Windows XP, Windows Server 2003, Windows Server 2008 R2, Windows 7, Windows Vista

Microsoft Visual C++ Redistributable 2005

官方地址: https://www.microsoft.com/zh-CN/download/details.aspx?id=26347

支持的操作系统

Windows Server 2008, Windows XP, Windows Server 2003, Windows Server 2008 R2, Windows 7, Windows Vista

匹配记录

需要安装 Microsoft Visual C++ Redistributable for Visual Studio 2019  x64

 

 

 

版权声明:本文为YES开发框架网发布内容,转载请附上原文出处连接
YES开发框架
上一篇:正则表达式,通俗易懂的介绍
下一篇:无法处理文件 **.resx,因为它位于 Internet 或受限区域中,或者文件上具有 Web 标记。要想处理这些文件,请删除 Web 标记。
评论列表

发表评论

评论内容
昵称:
关联文章

未能文件程序CefSharp.Core.dll一个依赖
System.BadImageFormatException:“未能文件程序 一个依赖。试图格式不正确程序
服务安装失败:未能文件程序
.net Core编译出现错误:指定任务可执行文件“sgen.exe”未能运行,文件名扩展名太长
.NET Core 复制nuget包依赖dll到输出目录
C# 解析读取XML文件正确姿势
MEF会缺少一些dll
从数据库或者其他位置ASP.NET MVC Views 视图 数据库中加 cshtml
.NET Core生成后没有Nugetdll文件
.NET Core定时任务(控制台程序
.NET DLL反编译 JustDecompile
依赖属性使用
IIS初始化(预),解决第一次访问慢,程序池被回收问题
.NET DLL反编译 dnSpy
.Net Core依赖注入
Web应用程序dll获取当前程序路径问题
C# winform选择dll文件
EFCore数据库提供程序
.NET IIS第一次访问慢,程序池被回收问题,IIS初始化(启用预)
C# CefSharp使用

联系我们
联系电话:15090125178(微信同号)
电子邮箱:garson_zhang@163.com
站长微信二维码
微信二维码