Replies: 8 comments 30 replies
-
As per #3319 (comment) The difference in version number has nothing to do with any runtime error you are seeing. Are you upgrading from a previous version? Also please answer the questions listed https://github.com/cefsharp/CefSharp/wiki/Questions-&-Support#when-asking-a-question-please-include-the-following |
Beta Was this translation helpful? Give feedback.
-
I also tried this way (see image), and for scruple also putting all the files in the main dir, where the setup.exe file is present, but it keeps giving the same error ... what am I wrong again? I have not yet tried the modifications you suggest regarding the Click Once, I was thinking first of solving the problem in the "rough and rustic" way, which might be enough for me ... however, while I await your response on my attempt, I give it a look as always thanks .... |
Beta Was this translation helpful? Give feedback.
-
Hello, I use this instructions to compile en AnyCpu, I am using 114.2.120 version of nuget package 1.- Install X64 version of Microsoft Visual C++ Redistributable latest supported downloads I followed this instruccions: 2.- Edit your project.csproj file and add the tags on the firts
Added this lines to the program.cs
!! And its working now on any cpu !!! before close your program you need to call Shutdown.. In windows forms I use:
And.. the log:
|
Beta Was this translation helpful? Give feedback.
-
Please just install this file in your machine. your issue will be resolved. |
Beta Was this translation helpful? Give feedback.
-
I followed all the step as mentioned above BY [mcpbcs] and still getting error "Could not load file or assembly 'CefSharp.Core.Runtime.dll' or one of its dependencies. The specified module could not be found.". I'm running on Windows 10 pro. Please let me know. |
Beta Was this translation helpful? Give feedback.
-
I've the same problem, were you able to solve it? |
Beta Was this translation helpful? Give feedback.
-
@It-Techus2011 was right! Installing the 32-bit version of the C++ libraries solves the problem. |
Beta Was this translation helpful? Give feedback.
-
Same problem - works in Visual Studio 2022 compiled to 64 bit, doesn't work after installation on different 64 bit Win 11. Installing 32-bit c++ library vc_redist.x86.exe on didn't fix it. Cannot build as Any CPU 32-bit preferred as suggested as other components fail. Build for target Any CPU without 32-bit preferred also fails. When I run Dependencies(x64) on CefSharp.core.runtime.dll on the Win 11 machine where the app fails, no dependencies show as missing even though the error 'could not load "CefSharp.core.runtime.dll" or one of its dependencies is missing' is thrown when I try to load CefSharp web browser. libcef.dll shows chrome_elf.dll as missing, but when it is added, another instance of the app is started when the CefSharp web browser is loaded on the Win 11 machine. On the Dev machine it still works OK. |
Beta Was this translation helpful? Give feedback.
-
I think the issue of runtime System.IO.FileNotFoundException: 'Could not load file or assembly 'CefSharp.Core.Runtime.dll' or one of its dependencies. The specified module could not be found.' (see details here (https://stackoverflow.com/questions/66359832/how-can-i-fix-cefsharp-problem-after-update)) is related to differing Product version numbers on CefSharp.dll and 2 other files (version 88.2.90.0) and CefSharp.Core.Runtime.dll (version 88.2.90). It may be (also) related to the version numbers appearing on the NuGet Package manager - it is 88.2.9 for Cef.redist.x86 and 88.2.90 for CefSharp.Common and CefSharp.WinForms.
In any case I am eagerly expecting the issue to be fixed.
Thank you
Originally posted by @u-netanel in #3319 (comment)
Beta Was this translation helpful? Give feedback.
All reactions