diff --git a/CefSharp.OffScreen/CefSharp.OffScreen.csproj b/CefSharp.OffScreen/CefSharp.OffScreen.csproj
index 5fa8b02f82..3135a8fdb3 100644
--- a/CefSharp.OffScreen/CefSharp.OffScreen.csproj
+++ b/CefSharp.OffScreen/CefSharp.OffScreen.csproj
@@ -17,7 +17,7 @@
true
bin\x64\Debug\
- DEBUG;TRACE
+ DEBUG;TRACE;OFFSCREEN
full
x64
prompt
@@ -27,7 +27,7 @@
bin\x64\Release\
- TRACE
+ TRACE;OFFSCREEN
true
pdbonly
x64
@@ -39,7 +39,7 @@
true
bin\x86\Debug\
- DEBUG;TRACE
+ DEBUG;TRACE;OFFSCREEN
full
x86
prompt
@@ -50,7 +50,7 @@
bin\x86\Release\
- TRACE
+ TRACE;OFFSCREEN
true
pdbonly
x86
@@ -75,6 +75,9 @@
+
+ ChromiumWebBrowser.Partial.cs
+
diff --git a/CefSharp.OffScreen/CefSharp.OffScreen.netcore.csproj b/CefSharp.OffScreen/CefSharp.OffScreen.netcore.csproj
index 93a87ccd8b..e9392cd766 100644
--- a/CefSharp.OffScreen/CefSharp.OffScreen.netcore.csproj
+++ b/CefSharp.OffScreen/CefSharp.OffScreen.netcore.csproj
@@ -19,6 +19,7 @@
true
..\CefSharp.snk
MinimumRecommendedRules.ruleset
+ OFFSCREEN
@@ -33,5 +34,9 @@
+
+
+
+
\ No newline at end of file
diff --git a/CefSharp.OffScreen/ChromiumWebBrowser.cs b/CefSharp.OffScreen/ChromiumWebBrowser.cs
index e42c8fee31..330997d32d 100644
--- a/CefSharp.OffScreen/ChromiumWebBrowser.cs
+++ b/CefSharp.OffScreen/ChromiumWebBrowser.cs
@@ -21,7 +21,7 @@ namespace CefSharp.OffScreen
/// An offscreen instance of Chromium that you can use to take
/// snapshots or evaluate JavaScript.
///
- public class ChromiumWebBrowser : IRenderWebBrowser
+ public partial class ChromiumWebBrowser : IRenderWebBrowser
{
///
/// The managed cef browser adapter
diff --git a/CefSharp.WinForms/CefSharp.WinForms.csproj b/CefSharp.WinForms/CefSharp.WinForms.csproj
index 67247d47f4..0a033c2b09 100644
--- a/CefSharp.WinForms/CefSharp.WinForms.csproj
+++ b/CefSharp.WinForms/CefSharp.WinForms.csproj
@@ -18,6 +18,7 @@
x64
bin\x64\Debug\
false
+ TRACE;DEBUG;WINFORMS
x64
@@ -27,6 +28,7 @@
true
true
false
+ TRACE;WINFORMS
true
@@ -40,6 +42,7 @@
x86
MinimumRecommendedRules.ruleset
false
+ TRACE;DEBUG;WINFORMS
bin\x86\Release\
@@ -50,6 +53,7 @@
true
bin\x86\Release\CefSharp.WinForms.XML
false
+ TRACE;WINFORMS
@@ -65,6 +69,10 @@
+
+ ChromiumWebBrowser.Partial.cs
+ Component
+
diff --git a/CefSharp.WinForms/CefSharp.WinForms.netcore.csproj b/CefSharp.WinForms/CefSharp.WinForms.netcore.csproj
index 6e2e1a9fdd..60005a328a 100644
--- a/CefSharp.WinForms/CefSharp.WinForms.netcore.csproj
+++ b/CefSharp.WinForms/CefSharp.WinForms.netcore.csproj
@@ -19,6 +19,7 @@
true
..\CefSharp.snk
MinimumRecommendedRules.ruleset
+ WINFORMS
@@ -41,5 +42,9 @@
+
+
+
+
\ No newline at end of file
diff --git a/CefSharp.WinForms/ChromiumWebBrowser.cs b/CefSharp.WinForms/ChromiumWebBrowser.cs
index 46ac719fac..a079bf1250 100644
--- a/CefSharp.WinForms/ChromiumWebBrowser.cs
+++ b/CefSharp.WinForms/ChromiumWebBrowser.cs
@@ -22,7 +22,7 @@ namespace CefSharp.WinForms
[Docking(DockingBehavior.AutoDock), DefaultEvent("LoadingStateChanged"), ToolboxBitmap(typeof(ChromiumWebBrowser)),
Description("CefSharp ChromiumWebBrowser - Chromium Embedded Framework .Net wrapper. https://github.com/cefsharp/CefSharp"),
Designer(typeof(ChromiumWebBrowserDesigner))]
- public class ChromiumWebBrowser : Control, IWebBrowserInternal, IWinFormsWebBrowser
+ public partial class ChromiumWebBrowser : Control, IWebBrowserInternal, IWinFormsWebBrowser
{
//TODO: If we start adding more consts then extract them into a common class
//Possibly in the CefSharp assembly and move the WPF ones into there as well.
diff --git a/CefSharp.Wpf/CefSharp.Wpf.csproj b/CefSharp.Wpf/CefSharp.Wpf.csproj
index 7618a9b591..df942ea97c 100644
--- a/CefSharp.Wpf/CefSharp.Wpf.csproj
+++ b/CefSharp.Wpf/CefSharp.Wpf.csproj
@@ -26,7 +26,7 @@
true
bin\x64\Debug\
- DEBUG;TRACE
+ TRACE;DEBUG;WPF
full
x64
prompt
@@ -35,7 +35,7 @@
bin\x64\Release\
- TRACE
+ TRACE;WPF
true
pdbonly
x64
@@ -47,7 +47,7 @@
true
bin\x86\Debug\
- DEBUG;TRACE
+ TRACE;DEBUG;WPF
full
x86
prompt
@@ -56,7 +56,7 @@
bin\x86\Release\
- TRACE
+ TRACE;WPF
true
pdbonly
x86
@@ -78,6 +78,9 @@
+
+ ChromiumWebBrowser.Partial.cs
+
diff --git a/CefSharp.Wpf/CefSharp.Wpf.netcore.csproj b/CefSharp.Wpf/CefSharp.Wpf.netcore.csproj
index 9a605a24ff..621586d961 100644
--- a/CefSharp.Wpf/CefSharp.Wpf.netcore.csproj
+++ b/CefSharp.Wpf/CefSharp.Wpf.netcore.csproj
@@ -19,6 +19,7 @@
true
..\CefSharp.snk
MinimumRecommendedRules.ruleset
+ WPF
@@ -33,5 +34,9 @@
+
+
+
+
\ No newline at end of file
diff --git a/CefSharp.Wpf/ChromiumWebBrowser.cs b/CefSharp.Wpf/ChromiumWebBrowser.cs
index fb4d078ad9..85aabd555a 100644
--- a/CefSharp.Wpf/ChromiumWebBrowser.cs
+++ b/CefSharp.Wpf/ChromiumWebBrowser.cs
@@ -35,7 +35,7 @@ namespace CefSharp.Wpf
///
[TemplatePart(Name = PartImageName, Type = typeof(Image))]
[TemplatePart(Name = PartPopupImageName, Type = typeof(Image))]
- public class ChromiumWebBrowser : Control, IRenderWebBrowser, IWpfWebBrowser
+ public partial class ChromiumWebBrowser : Control, IRenderWebBrowser, IWpfWebBrowser
{
///
/// TemplatePart Name constant for the Image used to represent the browser
diff --git a/CefSharp/CefSharp.csproj b/CefSharp/CefSharp.csproj
index a55cd5c173..e2e452e170 100644
--- a/CefSharp/CefSharp.csproj
+++ b/CefSharp/CefSharp.csproj
@@ -317,7 +317,6 @@
-
@@ -336,6 +335,9 @@
+
+
+