Skip to content

Could not load file or assembly CefSharp.dll

5 January 2014

Trying the C#  System.Windows.Forms.WebBrowser control alternative CefSharp I’ve faced a runtime problem. Nevertheless compilation was successful Windows Forms application crashed on start with error:

Could not load file or assembly “CefSharp.WinForms.dll”

I found a lot of discussions on the topic where some said there is no problem with running application using CefSharp control, while others constantly failing to start it.

It was very teasing getting this error again and again, referencing different versions of CefSharp.dll and CefSharp.WinForms.dll.

The decision

turns out to be very trivial: adding msvcp110.dll and msvcr110.dll into runtime directory wiped out the error. Hope this will help to others too.

Advertisements

From → C#, Dev Tools, NET, Tips

Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: