Enable Dependency Checking for all three projects

This commit is contained in:
amaitland 2015-11-05 09:13:24 +10:00
parent 2efb9bbf27
commit f862aa4f44
3 changed files with 6 additions and 3 deletions

View File

@ -22,7 +22,8 @@ namespace CefSharp.MinimalExample.OffScreen
Console.WriteLine("You may see Chromium debugging output, please wait...");
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.
browser = new ChromiumWebBrowser(testUrl);

View File

@ -12,7 +12,8 @@ namespace CefSharp.MinimalExample.WinForms
[STAThread]
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();
Application.Run(browser);

View File

@ -6,7 +6,8 @@ namespace CefSharp.MinimalExample.Wpf
{
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);
}
}
}