Skip to content
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

cefsharp.wpf support x64 compiled? #201

Closed
hellocxj opened this issue Oct 29, 2013 · 11 comments
Closed

cefsharp.wpf support x64 compiled? #201

hellocxj opened this issue Oct 29, 2013 · 11 comments

Comments

@hellocxj
Copy link

Hi Perlun,

Is it possible to compile CefSharp.wpf in x64 ?
Do you help me to solve this problem ? So far as it seems a hard word to me ,are there any demo let me download.
Thank you for your help first !

@perlun
Copy link
Member

perlun commented Oct 29, 2013

Hi @hellocxj,

Thanks for your polite question. Yes, it is possible. You need either Visual Studio 2010 or 2012. Try these simple steps:

  1. Clone the project. Make sure to checkout the CefSharp3 branch, which is where this is supported.
  2. Open up Visual Studio (either one).
  3. Select x64 Debug or x64 Release configuration.
  4. Make sure CefSharp.Wpf.Example is set as the default.
  5. Press F5.

If any of these steps fail, I would be very interested to hear. Let me know. Thanks.

@hellocxj
Copy link
Author

hellocxj commented Nov 1, 2013

Hi @perlun ,
Thanks for your reply,it is a good job.

@peters
Copy link
Contributor

peters commented Nov 1, 2013

@perlun Are there any plans to make nuget pre-release packages for CefSharp3?

@perlun
Copy link
Member

perlun commented Nov 6, 2013

Quite possibly. 😉 I set #137 up to be included in 3.29.0-pre.0 (the next version of the CefSharp3 branch that is due to be released). That means NuGet support.

@peters
Copy link
Contributor

peters commented Nov 6, 2013

👍

@perlun
Copy link
Member

perlun commented Nov 10, 2013

Closing this issue since x64 "should" work. Feel free to reopen if you can't make it so.

@perlun perlun closed this as completed Nov 10, 2013
@perlun
Copy link
Member

perlun commented Nov 12, 2013

@peters - I created a prerelease package of CefSharp.Wpf for #137 now. Please give it a try before we release it to a bigger audience. For some details about how it may be used, you can look at the https://github.com/cefsharp/CefSharp.MinimalExample project; it shows a very bare-bones example of how it can be done.

It has been set up using .props and .targets files, so there is no manual copying of the CEF stuff to the bin\Debug or bin\Release that has to be done. The only really, really important thing is that you must select either x86 or x64 - "AnyCPU" will not work, and the application will crash on startup if you attempt to circumvent this word of warning. 😉

@peters
Copy link
Contributor

peters commented Nov 12, 2013

@perlun Great! I already use a .targets for the NuGet package so it should be pretty straight forward getting this to work really. I'll get back to you.. thanks for an excellent effort so far :)

@peters
Copy link
Contributor

peters commented Nov 12, 2013

@perlun 👍 It works pretty great! Tested both x86/x64. Damn, the speed difference is quite noticeable! But please keep in mind that the application i've tested with does not rely on much of cefsharp's features since it mostly just hosts a CEF3 webview (WPF) and the communication is handled via IPC :)

@peters
Copy link
Contributor

peters commented Nov 12, 2013

@perlun Strange, but why is VC10 required anymore? I was under the impression that CEF3 would link against VC12 ? Dependency walker shows MVCR100.dll on Cefsharp.dll

@perlun
Copy link
Member

perlun commented Nov 12, 2013

Moving to #137 where it better belongs. 😉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants