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:
amaitland
2020-07-18 13:30:54 +10:00
parent a0d90788aa
commit e8cf336bf3
42 changed files with 420 additions and 181 deletions
-12
View File
@@ -50,18 +50,6 @@ namespace CefSharp.WinForms.Example
}
else
{
#if NETCOREAPP
//We are using our current exe as the BrowserSubProcess
//Multiple instances will be spawned to handle all the
//Chromium proceses, render, gpu, network, plugin, etc.
var subProcessExe = new CefSharp.BrowserSubprocess.BrowserSubprocessExecutable();
var result = subProcessExe.Main(args);
if (result > 0)
{
return result;
}
#endif
#if DEBUG
if (!System.Diagnostics.Debugger.IsAttached)
{