cefsharp / CefSharp

.NET (WPF and Windows Forms) bindings for the Chromium Embedded Framework
http://cefsharp.github.io/
Other
9.87k stars 2.92k forks source link

Bug: can't run in another computer #1061

Closed khoaakt closed 9 years ago

khoaakt commented 9 years ago

I develop my web browser in my computer and it run perfectly. But i copied it to another computer(it isn't have Visual Studio, just install .net 4.0 and it get crashed) 11406830_375442059316906_5004218933353406840_n I make sure i copied all of component without missing any file. How can I fix it and why? (CefSharp 39.0.0.2):

Update: Example App Crashed with that message, too :cry:

amaitland commented 9 years ago

https://github.com/cefsharp/CefSharp/blob/master/NuGet/Readme.txt#L18

khoaakt commented 9 years ago

@amaitland yes, i have read it. i installed it and get that error again untitled

jamespearce2006 commented 9 years ago

@khoaakt, the exception is System.IO.FileNotFoundException.

Can you use ProcMon to see what files are being accessed during startup of the process, and see which file is not being found?

amaitland commented 9 years ago

Based on your second screenshot you've built CefSharp.WinForms.Example from source in Debug mode. You need to build in Release mode to run on a a computer without VS installed.

Read the Note in the following FAQ item. https://github.com/cefsharp/CefSharp/wiki/Frequently-asked-questions#6-how-do-i-include-the-visual-studio-c-2012-redistributables-on-the-target-app

khoaakt commented 9 years ago

thanks @amaitland. It's fixed, please highlight the note more with red color !

jankurianski commented 9 years ago

It's fixed, please highlight the note more with red color !

@khoaakt Anyone can edit the wiki. Please don't tell others to do work in open-source projects, it is impolite.

Also, most people are using the NuGet packages and will not have this problem.

khoaakt commented 9 years ago

@jankurianski Sorry, it's my bad.