Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FAQ 4 & 6: "Could not load file or assembly 'CefSharp.Core.dll'. #2464

Closed
kevindaizj opened this issue Jul 18, 2018 · 2 comments
Closed

FAQ 4 & 6: "Could not load file or assembly 'CefSharp.Core.dll'. #2464

kevindaizj opened this issue Jul 18, 2018 · 2 comments

Comments

@kevindaizj
Copy link

architecture:
x64

operating system:
Win7

enviroment:
Visual Studio 2017

tech:
WPF

I tried to publish wpf application with clickonce, but the published app occur error: "Could not load file or assembly 'CefSharp.Core.dll' or one of its dependencies.

Then I found description of FAQ 6:

Copying over to your project the contents of this folder (Only present if you have the matching version of Visual Studio installed on your computer):

and wanted to include the Visual Studio C++ redistributables on my target app, Here is the my files:
path
files

and Here is all my code:

public partial class App : Application
{
	protected override void OnStartup(StartupEventArgs e)
	{
		base.OnStartup(e);
		this.InitSettings();
	}

	private void InitSettings()
	{
		var type = typeof(CefSettings);
		MessageBox.Show(type.ToString());
	}
}

My question are:

  1. Which files should i include to ?
  2. Where should i copy to? Release/Bin folder or published folder?

I am new on CefSharp. Any help will be appreciated.

@welcome
Copy link

welcome bot commented Jul 18, 2018

Welcome! If you're reporting a bug, please make sure you have completed the bug report template see https://github.com/cefsharp/CefSharp/blob/master/ISSUE_TEMPLATE.md#bug-report. Please make sure you provide enough detail that someone else can reproduce the issue you are experiencing.
We prefer to keep this issue track just for bug reports. If you have a question or need help with something I'd ask that you self close this issue and have a read over https://github.com/cefsharp/CefSharp/blob/master/ISSUE_TEMPLATE.md it contains background information, details on where to ask your questions (hint, Gitter is one such place)
It's also reportant to remember that CefSharp is just a wrapper around the Chromium Embedded Framework(CEF), a lot of questions people have aren't actually CefSharp specific, they're generic to CEF and for those CEF has it's own support forum at http://magpcss.org/ceforum/index.php and issue tracker at https://bitbucket.org/chromiumembedded/cef

@amaitland
Copy link
Member

Duplicate of #1314

@amaitland amaitland marked this as a duplicate of #1314 Jul 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants