Cefsharp没有在客户端计算机上启动? [英] Cefsharp didn't start on Client Machine?

查看:161
本文介绍了Cefsharp没有在客户端计算机上启动?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

.net 4.5.1,Visual C ++ 2012 Redistribution 要添加什么才能使cefsharp在客户端计算机上工作?。

What to add with .net 4.5.1, Visual C++ 2012 Redistribution inorder to make cefsharp work on Client machine?.

我同时安装了 .net 4.5.1,Visual C ++ 2012 Redistribution程序包和dll

I installed both .net 4.5.1, Visual C++ 2012 Redistribution package and the dlls

libcef.dll
icudt.dll
CefSharp.dll
CefSharp.WinForms.dll

都存在,cefsharp表单没有打开。其显示的异常无法加载文件或程序集cefsharp.dll。

are all present, the cefsharp form didn't open up. Its showing exception "Could not load file or assembly cefsharp.dll".

我尝试安装 Visual C ++ 2008、2010、2012 版本。

推荐答案

如果您遇到同样的问题,则需要使用发布dll。

If you have this same problem you need to use the release dll's.

被编译为 Debug 的C ++ dll使用客户端计算机上不可用的调试运行时。这就是为什么它无法在客户端计算机上运行并在开发环境中正常运行的原因。

The C++ dll's that were compiled as Debug use the debug runtime which is not available on a client machine. That's why it fails on the client machines and runs fine in the development environment.

将解决方案配置设置为发布,然后重新编译

Set the solution configuration to Release and then re-compile the solution to get the release dll's.

确保使用以下所有发布依赖项:

Make sure you use all of the following release dependencies:


  • CefSharp.dll

  • CefSharp.Core.dll

  • CefSharp.BrowserSubprocess.exe

  • CefSharp.BrowserSubprocess.Core.dll

  • CefSharp.dll
  • CefSharp.Core.dll
  • CefSharp.BrowserSubprocess.exe
  • CefSharp.BrowserSubprocess.Core.dll

这篇关于Cefsharp没有在客户端计算机上启动?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆