Problem with dll versions

318 views
Skip to first unread message

James H

unread,
Apr 22, 2014, 8:30:15 AM4/22/14
to cefs...@googlegroups.com
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 CefSharp.dll file is version 31.0.0.0

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
  HResult=-2146234304
  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.

 

Jørn Hansen

unread,
Apr 24, 2014, 1:23:48 AM4/24/14
to cefs...@googlegroups.com
On Tuesday, April 22, 2014 2:30:15 PM UTC+2, James H wrote:
>
> 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 CefSharp.dll file is version 31.0.0.0
>
>
> 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
>   HResult=-2146234304
>   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

What version is your CefSharp.Wpf.dll?

--
Best regards,
JornH

James H

unread,
Apr 24, 2014, 5:55:29 AM4/24/14
to cefs...@googlegroups.com
31.0.0.0 as well

James H

unread,
May 1, 2014, 8:16:55 AM5/1/14
to cefs...@googlegroups.com
I'm still having problems, but this problem has now gone, so I guess that it could be closed?


On Tuesday, April 22, 2014 1:30:15 PM UTC+1, James H wrote:
Reply all
Reply to author
Forward
0 new messages