C
C#3y ago
mini

❔ Error when using CefSharp's chromium browser

I am creating an instance of ChromiumWebBrowser in the InitializeComponent method of my winforms app. However, upon starting the program, the following exception throws when running the application on the Application.Run line:
System.IO.FileNotFoundException: 'Could not load file or assembly 'CefSharp, Version=107.1.120.0, Culture=neutral, PublicKeyToken=40c4b6fc221f4138'.
System.IO.FileNotFoundException: 'Could not load file or assembly 'CefSharp, Version=107.1.120.0, Culture=neutral, PublicKeyToken=40c4b6fc221f4138'.
6 Replies
mini
miniOP3y ago
Any idea why? Using the newest version of the nuget package and .NET 6
Tvde1
Tvde13y ago
not sure if CefSharp targets .NET 6
mini
miniOP3y ago
worked in a project some weeks ago
Tvde1
Tvde13y ago
I see a .NET Framework and .NET Core 3.1 csproj file
mini
miniOP3y ago
It 100% worked in .NET 5, about 6 I'm unsure but why would there be no .NET 6 support
Accord
Accord3y ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server