Enable Dependency Check

This commit is contained in:
Alex Maitland 2021-04-07 15:52:14 +10:00
parent 55bcee859a
commit db6479b52e
3 changed files with 3 additions and 3 deletions

View File

@ -35,7 +35,7 @@ namespace CefSharp.MinimalExample.OffScreen
};
//Perform dependency check to make sure all relevant resources are in our output directory.
Cef.Initialize(settings, performDependencyCheck: false, browserProcessHandler: null);
Cef.Initialize(settings, performDependencyCheck: true, browserProcessHandler: null);
// Create the offscreen Chromium browser.
browser = new ChromiumWebBrowser(testUrl);

View File

@ -42,7 +42,7 @@ namespace CefSharp.MinimalExample.WinForms
settings.CefCommandLineArgs.Add("enable-usermedia-screen-capturing");
//Perform dependency check to make sure all relevant resources are in our output directory.
Cef.Initialize(settings, performDependencyCheck: false, browserProcessHandler: null);
Cef.Initialize(settings, performDependencyCheck: true, browserProcessHandler: null);
var browser = new BrowserForm();
Application.Run(browser);

View File

@ -37,7 +37,7 @@ namespace CefSharp.MinimalExample.Wpf
if (!Cef.IsInitialized)
{
//Perform dependency check to make sure all relevant resources are in our output directory.
Cef.Initialize(settings, performDependencyCheck: false, browserProcessHandler: null);
Cef.Initialize(settings, performDependencyCheck: true, browserProcessHandler: null);
}
}