Enable Dependency Checking for all three projects
This commit is contained in:
parent
2efb9bbf27
commit
f862aa4f44
@ -22,7 +22,8 @@ namespace CefSharp.MinimalExample.OffScreen
|
|||||||
Console.WriteLine("You may see Chromium debugging output, please wait...");
|
Console.WriteLine("You may see Chromium debugging output, please wait...");
|
||||||
Console.WriteLine();
|
Console.WriteLine();
|
||||||
|
|
||||||
Cef.Initialize(new CefSettings());
|
//Perform dependency check to make sure all relevant resources are in our output directory.
|
||||||
|
Cef.Initialize(new CefSettings(), shutdownOnProcessExit: true, performDependencyCheck: true);
|
||||||
|
|
||||||
// Create the offscreen Chromium browser.
|
// Create the offscreen Chromium browser.
|
||||||
browser = new ChromiumWebBrowser(testUrl);
|
browser = new ChromiumWebBrowser(testUrl);
|
||||||
|
@ -12,7 +12,8 @@ namespace CefSharp.MinimalExample.WinForms
|
|||||||
[STAThread]
|
[STAThread]
|
||||||
public static void Main()
|
public static void Main()
|
||||||
{
|
{
|
||||||
Cef.Initialize(new CefSettings());
|
//Perform dependency check to make sure all relevant resources are in our output directory.
|
||||||
|
Cef.Initialize(new CefSettings(), shutdownOnProcessExit:true, performDependencyCheck:true);
|
||||||
|
|
||||||
var browser = new BrowserForm();
|
var browser = new BrowserForm();
|
||||||
Application.Run(browser);
|
Application.Run(browser);
|
||||||
|
@ -6,7 +6,8 @@ namespace CefSharp.MinimalExample.Wpf
|
|||||||
{
|
{
|
||||||
public App()
|
public App()
|
||||||
{
|
{
|
||||||
Cef.Initialize(new CefSettings());
|
//Perform dependency check to make sure all relevant resources are in our output directory.
|
||||||
|
Cef.Initialize(new CefSettings(), shutdownOnProcessExit: true, performDependencyCheck: true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user