-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The dependency of CefSharp #519
Comments
First obvious problem is that Finally I suggest you use NuGet to install CefSharp into your project. If you start by creating a fresh |
@jornh Yeah, I have used NuGet to install CefSharp. And all the thing is fine. |
@jornh I have added all |
@jessicasco did you follow the instructions as per https://github.com/cefsharp/CefSharp/wiki/Frequently-asked-questions#6-how-do-i-include-the-visual-studio-c-2012-redistributables-on-the-target-app? |
You said
I think Google/ and Stack Owerflow in particular is your friend: http://stackoverflow.com/a/18625875/210723 |
I installed |
Did you read the FAQ article I linked to above? |
yeah,i have copied the dll files under the directory in your link |
Is there a reason you installed Latest version of |
Ah, I think that might point to either:
Oh, and
certainly won't do it .. it's Update yes of course @amaitland is right - you also need it to be 2012, not the link I gave! |
Its no wonder you cannot run cefsharp on a target machine when you compile On Monday, October 20, 2014, Alex Maitland notifications@github.com wrote:
Regards, |
Should probably add that to the FAQ, might be relevant for those building from source.
I guess we should include some info about |
@peters yes, that would be true if the CefSharp dll's came from a source build with debug from a VS2013. As @jessicasco uses the release ones (from I hope I guess we need to draw a real simple picture with the dependencies and why, because it will haunt us from now on, with |
@jessicasco did you get it working? |
@jornh yeah, it's working now. I compiled it under |
Great! Then please go ahead and close this issue so it's nice and tidy in here 👍 |
Hi guys, I still found that the app didn't function normally. Is there something needed to do about
|
ps. The exception is |
Are you executing Javascript at some point in your application? |
@amaitland yeah, I am executing Javascript at some point. Also I found that |
I'd say you have two separate issues.
|
@amaitland |
Do you have a code sample? |
@amaitland |
I don't think https://github.com/cefsharp/CefSharp/blob/v33.1.0-pre01/CefSharp.Example/CefExample.cs#L11 does blend very well with:
Note what expectations it sets up for where the BrowserSubprocess should live. Not very obvious 😧 |
Nice spot @jornh I've just committed a small change which hopefully is workable 9380f8f |
@jornh @amaitland I got things right now, thank you for your help. Also, I found that if I use functionality of RegisterJsObject, I need to install .Net 4.5.1. If not BrowserSubprocess.exe will crash and report something wrong on |
@jessicasco As I don't have a machine with |
Hi Guys,
I have successfully compiled the
CefSharp.WinForms.Example
and run the app. After that, I just copy theCefSharp.WinForms.Example\bin\x86\Debug
folder to another machine which has.NET 4.0
installed. But the app could not run successfully again.The debug information says:
I have used
Dependency Walker
to search for missingdll
forCefSharp.Core.dll
, and addedmsvcp120d.dll
andmsvcr120d.dll
. When I rerun the app, I still encounter the same problem.So, I really want to know what the other dependencies are, which can help me package my app.
The text was updated successfully, but these errors were encountered: