install CEF without NuGet

Having problems with building or using the CefSharp .NET binding? Ask your CEF-related questions here. Please ask general usage questions on StackOverflow.

Moderator: amaitland

install CEF without NuGet

Postby sirjo66 » Wed Nov 02, 2022 7:27 am

Hi,
I know that this request is very very strange, but I need to install "CEF Winform" on Visual Studio 2010 (.NET framework 4.0)

On VS2010 there isn't NuGet package manager, so I need to install it in manual mode.

I know also that I need to install CEF version 49.0.1

So......
1) download and unzip CEF Winform 49.0.1
2) download and unzip CEF Common 49.0.1
3) download and unzip cef.redist.x64.3.2623.1401
4) download and unzip cef.redist.x86.3.2623.1401
5) download and install VC++ 2013 redistributable x64
6) download and install VC++ 2013 redistributable x86

In my project......
1) change "Any CPU" in "x86"
2) in reference panel add CefSharp.dll, CefSharp.Core.dll and CefSharp.Winforms.dll

Now I create code to start CEF example, but there is an error for dependencies on CefSharp.Core.dll
I know that the application needs to find cef.redist...... folders, but I don't understand how to tell it where are these folder

On Visual Studio 2022 there is pakages.config file, but on VS2010 how to do it ??

Many thanks for your help
Sergio
sirjo66
Newbie
 
Posts: 6
Joined: Wed Oct 23, 2019 7:24 am

Re: install CEF without NuGet

Postby amaitland » Thu Nov 03, 2022 3:45 pm

You'll need to manually copy the files from the Nuget packages to your bin folder.

I'd be creating a demo in a newer visual studio version, get that working then copy the files from it's bin directory.
Maintainer of the CefSharp project.
amaitland
Virtuoso
 
Posts: 1292
Joined: Wed Jan 14, 2015 2:35 am

Re: install CEF without NuGet

Postby sirjo66 » Thu Nov 03, 2022 4:47 pm

Solved !!
Many thanks
sirjo66
Newbie
 
Posts: 6
Joined: Wed Oct 23, 2019 7:24 am


Return to CefSharp Forum

Who is online

Users browsing this forum: No registered users and 106 guests