I'm trying to add CEF to my C# based application so that i can run an embedded browser window. I'm using VS2012 on Windows 7.
I have CefSharp.dll, CefSharp.Wpf.dll and CefSharp.Core.dll added into the project along with icudt, libcef, libEGL and LibGLESv2.dll's.
The solution builds ok, but when I run it, I keep getting the following exception... It seems to think that it should have 1.25.5.0 rather than 31.0.0.0. I can't locate where it thinks that is the case, would anyone have any suggestions?
System.IO.FileLoadException was unhandled
Message=Could not load file or assembly 'CefSharp.Wpf, Version=1.25.5.0, Culture=neutral, PublicKeyToken=40c4b6fc221f4138' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
Source=Emc.Mfg.Library.UserControlsWPF
FileName=CefSharp.Wpf, Version=1.25.5.0, Culture=neutral, PublicKeyToken=40c4b6fc221f4138
FusionLog==== Pre-bind state information ===
LOG: DisplayName = CefSharp.Wpf, Version=1.25.5.0, Culture=neutral, PublicKeyToken=40c4b6fc221f4138
(Fully-specified)
LOG: Appbase = file:///C:/*******************************************************************************************/bin/Debug/
LOG: Initial PrivatePath = NULL
Calling assembly : ChromeIntegration, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null.
===
LOG: This bind starts in default load context.
LOG: Using application configuration file: C:*******************************************************************************************\bin\Debug\Transformers uMaster Diag GUI.vshost.exe.Config
LOG: Using host configuration file:
LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config.
LOG: Post-policy reference: CefSharp.Wpf, Version=1.25.5.0, Culture=neutral, PublicKeyToken=40c4b6fc221f4138
LOG: Attempting download of new URL file:///C:/*******************************************************************************************/bin/Debug/CefSharp.Wpf.DLL.
WRN: Comparing the assembly name resulted in the mismatch: Major Version
ERR: Failed to complete setup of assembly (hr = 0x80131040). Probing terminated.