Home > other >  Error adding ChromiumWebBrowser to project - C# Visual Studio
Error adding ChromiumWebBrowser to project - C# Visual Studio

Time:06-13

I am trying to add the Cef.WinForms library to my project and I'm following the steps found here enter image description here

CodePudding user response:

As noted in the comments, when targeting .Net 5.0 you'll need to use the packages with the NETCore suffix.

For .Net Core 3.1/.Net 5.0

NOTE A minimum of .Net Core 3.1 is required.

For the .Net 4.5.2 to .Net 4.8


All packages require Microsoft Visual C 2019 or greater.

Ijwhost.dll

To support C /CLI libraries in .NET Core/.Net 5 , ijwhost was created by Microsoft as a shim for finding and loading the runtime. All C /CLI libraries are linked to this shim, such that ijwhost.dll is found/loaded when the C /CLI library is loaded. It's important this dll is distributed with your application.

  • Related