System.BadImageFormatException HResult = 0x8007000B

-3

I was building a CefSharp Project using WindowsFormsApp.

I downloaded CefSharp.Winforms using NuGet Package Manager but it gave a lot of errors so i deleted the NuGet Package and manually added these referances to my project: CefSharp.dll, CefSharp.Core.dll and CefSharp.WinForms.dll.

I am kinda sure that all three files work very well.

But when i build the project, it says

System.BadImageFormatException HResult = 0x8007000B Message = Could not load file or assembly 'CefSharp.Core, Version = 51.0.0.0, Culture = neutral, PublicKeyToken = 40c4b6fc221f4138'. An attempt was made to load a program in an invalid format.

Some friends told me it is about my .net version.

Will it be fixed if i update my .net?

Update: Updating .net didn't work.

c#
.net
asked on Stack Overflow Jan 5, 2020 by 1mpossible • edited Jan 5, 2020 by Phong

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0