用CefSharp项目Winform CL20R3
我对这个问题有类似的问题C#windows appication事件:CLR20r3在应用程序启动时
错误是这样的:
应用程序:MantenedorPlanesMain.exe Framework版本:v4.0.30319描述:由于未处理的exception,进程已终止。 exception信息:System.IO.FileNotFoundException电池:在CefSharp.WinForms.Example.Program.Main()中的CefSharp.Example.CefExample.Init()中
但是只有在某些机器上,例如,在我的计算机上,我可以毫无问题地使用该程序,也可以在我办公室的计算机中使用。
我试图在stackoverflow中找到问题的根源,并意识到错误是由找不到的cs文件引起的,但是在项目中。
当我去看CefSharp.WinForms.Example.Program.cs
并注释CefSharp.Example.CefExample.Init()
的行时,在另一个文件中抛出相同的错误。
我尝试了一切,甚至CopyLocal = true
和x86
,但仍然无法正常工作。 我认为系统语言可能存在问题,这是西class牙语系统工作的唯一常见因素。
有任何想法吗?
在此上下文中, FileNotFoundException
通常意味着您需要安装VC++
或在Debug
模式下编译(在没有安装VS的计算机上运行时需要在Release
模式下构建)
https://github.com/cefsharp/CefSharp/blob/master/NuGet/Readme.txt#L18
另请参阅https://github.com/cefsharp/CefSharp/wiki/Frequently-asked-questions#6-how-do-i-include-the-visual-studio-c-2012-redistributables-on-the中的Note
-target-应用