Could not load file or assembly 'CefSharp.Core.dll' or one of its dependencies.

I’ve written a large C# 4.0 App in Visual Studio 2010. Some time ago I added the CEF framework (version in order to utilize a webbrowser inside my WinForms application.

If I run my app from Visual Studio, the browser runs correctly. However, upon using ClickOnce to deploy my app and attempting to launch the Web Browser, it threw the following error: “Could not load file or assembly ‘CefSharp.Core.dll’ or one of its dependencies. The specified module could not be found.” Although all the CEF files are present in the bin\Debug folder.

The Github\CefSharp site offers 3-suggestions, of which I have tried steps 1 and 2, i.e.,
I have carefully checked that ALL dll’s are present in the executing folder. (step 2.)

A list of required files can be found here:

Although my App was created in Visual Studio 2010 , the first suggestion was to include Visual C++ 2012 Redistributable Package. The FAQ’s state that CefSharp version 43.0.0 requires the 2012 redistributables. (step 1.)

I downloaded and installed vcredist_x86.exe (2012 version), created product.xml and package.xml Bootstrapper files in the Program Files (x86)\Microsoft SDKs directory. However, even after including these as prerequisites, the same error remains.

Here’s the 3rd suggestion, which I cannot find any specifics on, i.e., “You packaged your application for distribution via an installer and it doesn’t run on the target machine. Installers don’t include the unmanaged resources by default, you’ll need to add them manually. For ClickOnce, see #1314 for some pointers and solutions other users have come up with.”

Where can I find #1314 for some pointers and solutions on using ClickOnce? Even after implementing steps 1 and 2, the same exception is thrown and I’m unable to launch the CEF browser.


Hi @codemann1,

I think the instructions you’re looking at are refrencing Issue #1314 in the repository that you linked to: ClickOnce application not starting. To find this issue, I opened an unrelated issue in the repository and replaced the Issue ID with 1314 in the URL.


Hello @that-pat

After looking at the article, I don’t think it actually pertains to my situation. First, of all because the post references WPF and my App is a C# WinForms application. Second because the post seems to describe missing files.

Here are my circumstances. My App was written in Visual Studio 2010 , ALL the dll’s (version 43.0.0) are present in the bin\Debug folder. If I launch my program via Visual Studio and launch the browser, the browser works flawlessly. However, if I deploy the App via ClickOnce and attempt to launch the browser, I receive the familiar “Could not load file or assembly ‘CefSharp.Core.dll’ or one of its dependencies” error.

I’m still a bit confused by the FAQ’s stating that VC++ 2012 is needed, as the browser successfully launches using the native VC++ 2010 dll’s, if I launch it via VS.

The CEF browser is a wonderful browser, but I can’t seem to get my App to the point of a successful ClickOnce deployment for the end-user to utilize it. This is holding up my deployment in a large way.

Could someone please offer suggestion(s) on what to do next, in order to have the browser launch post-deployment? I am at a complete loss as to what to do to get this working. Thanks

Hi @codemann1,

If that particular Issue doesn’t solve your problem, my recommendation would be to create a new Issue in that repository to get direct help from the people who maintain that tool.

It is possible that people in this forum might be able to help you with this problem, but since you’re looking to clarify some questions in the documentation, going directly to the source may be more effective.


Hello @that-pat

OK, I’ll do that. Thanks. I had a little trouble with finding the correct forum for my post, but I’ll post my question there now.

I appreciate your responses though, as it was helpful.

You’re very welcome! Glad I could be of help. :slight_smile:

Hi did you ever solve this issue. Im experiencing the same problem. I have an winform app written on Computer using VS 2012. when i copy the project onto second computer (also has exact same VS installed) I get the same error message when i Run the app. App works fine of first computer

1 Like

This post is marked solved though i didn’t find the solution. Could you please provide the link where i can track this particular issue ?


I agree with ncomo, this is marked as solved but no solution is evident.

I am having the same issue when installer runs it gives error:

“The application requires that assembly CefSharp.Core Version be installed in the Global Assembly Cache (GAC) first”

which i assume is the same underlying issue …

The post was marked “solved” because the issue is too specific to be pursued in this forum. You’d get better results by posting an issue in the CefSharp repository, or posting a StackOverflow question (as recommended by the Readme in the CefSharp repository).

Regarding your specific issue, I suggest a search in stack overflow. This answer may be applicable:

Most likely, the problem is that you need the Visual C++ runtime:

I ran into the same problem and installing the “Microsoft Visual C++ 2015 Redistributable (x64)” package fixed it.  The FileNotFoundException gives “CefSharp.Core.dll” as the filename that wasn’t found, but it was actually the C++ runtime that was missing.  (Note: which version of the runtime you need may vary depending on which version of CefSharp you’re using.  The link above contains a table.)