CefSharp.Core.Runtime.dll The specified module could not be found #4733
Ravnholt2102
started this conversation in
General
Replies: 2 comments 1 reply
-
Impossible to say what's going on without an example. Does the problem reproduce with the Specifying a https://github.com/cefsharp/CefSharp/blob/master/NuGet/PackageReference/Readme.txt#L10 |
Beta Was this translation helpful? Give feedback.
0 replies
-
I have added an example here: https://github.com/Ravnholt2102/ConsoleTest |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a very simple Offscreen console application.
It check if Cef.IsInitialized and if not it runs Cef.InitializeAsync().
When i run this, i get this exception:
System.IO.FileNotFoundException: 'Could not load file or assembly 'C:\Sources\PreviewGenerators\ConsoleGenerator\ConsoleGenerator\bin\x64\Debug\net8.0\runtimes\win-x64\lib\netcoreapp3.1\CefSharp.Core.Runtime.dll'. The specified module could not be found.'
If i replace InitializeAsync() with Initialize() it works as expected.
I have installed nuget CefSharp.OffScreen.NETCore 121.3.130
Using .NET 8.0
Beta Was this translation helpful? Give feedback.
All reactions