mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-04 10:22:55 +00:00
Net Core - Support for compiling with .Net Core 3.1
- Make Wpf/WinForms/OffScreen projects target AnyCPU Only the VC++ projects are platform specific now. - Remove BrowserSubProcess project reference Not needed as we now have a standalone exe - Add OffScreen example - Add WPF Example project - Fix some compile errors for main solution - Add BrowserSubProcess executable - JavascriptObjectRepository remove isAsync param Rather than throw exception remove the option - BrowserSubprocess Exclude the WCF specific code from the netCore project - Add some ifdef/ifndef to exclude the WCF specific implementation - Move WCF implementation into separate namespace
This commit is contained in:
@@ -167,10 +167,14 @@ namespace CefSharp.OffScreen.Example
|
||||
// Dispose it to avoid keeping the memory alive. Especially important in 32-bit applications.
|
||||
bitmap.Dispose();
|
||||
|
||||
Console.WriteLine("Screenshot saved. Launching your default image viewer...");
|
||||
Console.WriteLine("Screenshot saved. Launching your default image viewer...");
|
||||
|
||||
// Tell Windows to launch the saved image.
|
||||
Process.Start(screenshotPath);
|
||||
Process.Start(new ProcessStartInfo(screenshotPath)
|
||||
{
|
||||
// UseShellExecute is false by default on .NET Core.
|
||||
UseShellExecute = true
|
||||
});
|
||||
|
||||
Console.WriteLine("Image viewer launched. Press any key to exit.");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user