Closed lukasrmattos closed 3 years ago
What version of visual studio are you using? Are you targeting. Net Core?
What version of visual studio are you using? Are you targeting. Net Core?
2019, Net Framework 4.8.
So, I discovered that one of dlls inside my output when in same root folder of Cefsharp make cefsharp not to work.
Any leads why cefsharp cant load itself when one of those dlls are in same folder?
http://www.mediafire.com/file/f98yvwe6c8gqf3g/DLLS.rar/file
I will run winmerge to get less candidates and I update here.
The dll dbghelp.dll in my folder made Cefsharp not work. I don't need this dll but for one reason it is on the game folder I'm using (game does not need this too).
I'm closing it but strange behavior
Chromium uses dbghelp to create crash dumps as part of it's crashpad error handling. DbgHelp.dll ships with windows, that is the version chromium will use by default. It is not a stated dependency as it is included in all supported versions of Windows.
Possibly the version you have in your game folder is too old or is the incorrect bitness. Unfortunately .Net throws a misleading System.BadImageFormatException when it is unable to load a dll
Bug Report
Delete this line and everything above, and then fill in the details below.
What version of the product are you using? Nuget 85.3.130
What architecture x86 or x64? x86
On what operating system? Win10
Are you using
WinForms
,WPF
orOffScreen
? WPFWhat steps will reproduce the problem? When I change my output compile:
I Receive System.BadImageFormatException.Assembly "CefSharp.Wpf, but all files in wiki are there
If I change the output back to bin/debug its run fine. If I copy all content from bin/debug and put in any folder outside it (the exactly same files), I still receive this. I can just run it if inside debug folder. Any leads? I don't think it is any dll or file missing cause I'm copying it to test in my folder.