Could not load file or assembly "CefSharp.core.runtime.dll" when using VCRuntime.CefSharp.140 Nuget package. #3422
uptodatehuang
started this conversation in
General
Replies: 1 comment 2 replies
-
We found the issue. We try to use this Nuget package to bring in VC++ runtime files: VCRuntime.CefSharp.140 The fix we did is:
Summary: |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What version of the product are you using?
NuGet:
cef.redist.x64(88),
cef.redist.x86(88)
CefSharp.Common(88-pre-release)
CefSharp.WinForms(88-pre-release)
VCRuntime.CefSharp.140(1.0.4)
What architecture x86 or x64?
x86
On what operating system?
Win10
Are you using WinForms, WPF or OffScreen?
WinForms
What steps will reproduce the problem?
3.copy below files into application folder
concrt140.dll
msvcp140.dll
msvcp140_1.dll
msvcp140_2.dll
vccorlib140.dll
vcruntime140.dll
What is the expected output? What do you see instead?
Expected: Cef should initiate properly
Actual: throw 'Unexpected Exception' during Cef Ini and error message is:
CefSharp could not load file or assembly "CefSharp.core.runtime.dll" or one of its dependencies. is not a valid Win32 application
Please provide any additional information below.
Reference:
https://stackoverflow.com/questions/54755445/how-to-include-vc-redistributable-files-needed-by-cefsharp
Beta Was this translation helpful? Give feedback.
All reactions