I tried the steps below and get an error of "A first change exception of type 'System.Runtime.InteropServices.COMException' occured in Microsoft.VisualStudio.HostingProcess.Utilities.dll with version 1.2.5.3. I'm using visual studio 2012.
I also tried creating a new project with .net 4.0 since it doesn't sound like cefsharp works with 4.5? I'm using
vb.net. I added "CefSharp" and "CefSharp.Wpf" to References. I copied the libcef.dll and icudt.dll per the FAQ. I also tried to include xmlns:cs="clr-namespace:CefSharp.Wpf;assembly=CefSharp.Wpf" in the xaml, but it complains that it can't find the reference for some reason. Instead I just did the following in the code-behind - just trying to make it work:
Imports CefSharp
Class MainWindow
Public Sub New()
' This call is required by the designer.
InitializeComponent()
' Add any initialization after the InitializeComponent() call.
Dim settings As New CefSharp.Settings
settings.PackLoadingDisabled = True
If CEF.Initialize(settings) Then
Dim web_view As New CefSharp.Wpf.WebView
grid1.Children.Add(web_view)
End If
End Sub
End Class
I get the following error when trying to debug.
'The invocation of the constructor on type 'WpfCesSharp4._0.MainWindow' that matches the specified binding constraints threw an exception.' Line number '3' and line position '5'.