Replies: 1 comment 4 replies
-
As a short term workaround add the following to your project file <PropertyGroup>
<CefSharpPlatformTargetOverride>AnyCPU</CefSharpPlatformTargetOverride>
</PropertyGroup> The condition at https://github.com/cefsharp/CefSharp/blob/cefsharp/89/NuGet/CefSharp.Common.targets#L110 needs a little tweak. This is a workaround for dotnet/sdk#1560 This should be fixed in |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm unable to upgrade my .NET Framework 4.8.2 Windows Forms project from CefSharp 86 to 87 or 88. Compiling as AnyCPU causes the following error.
System.BadImageFormatException: 'Could not load file or assembly 'CefSharp.Core.Runtime, Version=88.2.90.0, Culture=neutral, PublicKeyToken=40c4b6fc221f4138' or one of its dependencies. An attempt was made to load a program with an incorrect format.'
It works when I switch to 64bit. One possible quirk. We are using SDK style projects with .NET Framework 4.8.2 and Windows Forms. But everything works perfectly with 86.
Can anyone provide assistance?
Beta Was this translation helpful? Give feedback.
All reactions