diff --git a/.ncrunch/Avalonia.Android.v3.ncrunchproject b/.ncrunch/Avalonia.Android.v3.ncrunchproject
index a4953e14f9..319cd523ce 100644
--- a/.ncrunch/Avalonia.Android.v3.ncrunchproject
+++ b/.ncrunch/Avalonia.Android.v3.ncrunchproject
@@ -1,6 +1,5 @@
True
- True
\ No newline at end of file
diff --git a/.ncrunch/Avalonia.Animation.UnitTests.netcoreapp2.0.v3.ncrunchproject b/.ncrunch/Avalonia.Animation.UnitTests.netcoreapp2.0.v3.ncrunchproject
deleted file mode 100644
index e9d39b0c74..0000000000
--- a/.ncrunch/Avalonia.Animation.UnitTests.netcoreapp2.0.v3.ncrunchproject
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
- MissingOrIgnoredProjectReference
-
-
-
\ No newline at end of file
diff --git a/.ncrunch/Avalonia.Animation.v3.ncrunchproject b/.ncrunch/Avalonia.Animation.v3.ncrunchproject
deleted file mode 100644
index e12537d535..0000000000
--- a/.ncrunch/Avalonia.Animation.v3.ncrunchproject
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
- MissingOrIgnoredProjectReference
-
- True
-
-
\ No newline at end of file
diff --git a/.ncrunch/Avalonia.Base.UnitTests.net461.v3.ncrunchproject b/.ncrunch/Avalonia.Base.UnitTests.net461.v3.ncrunchproject
deleted file mode 100644
index 6800b4a3fe..0000000000
--- a/.ncrunch/Avalonia.Base.UnitTests.net461.v3.ncrunchproject
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
- True
-
-
\ No newline at end of file
diff --git a/.ncrunch/Avalonia.Base.UnitTests.net47.v3.ncrunchproject b/.ncrunch/Avalonia.Base.UnitTests.net47.v3.ncrunchproject
deleted file mode 100644
index e9d39b0c74..0000000000
--- a/.ncrunch/Avalonia.Base.UnitTests.net47.v3.ncrunchproject
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
- MissingOrIgnoredProjectReference
-
-
-
\ No newline at end of file
diff --git a/.ncrunch/Avalonia.Base.UnitTests.netcoreapp2.0.v3.ncrunchproject b/.ncrunch/Avalonia.Base.UnitTests.netcoreapp2.0.v3.ncrunchproject
deleted file mode 100644
index e9d39b0c74..0000000000
--- a/.ncrunch/Avalonia.Base.UnitTests.netcoreapp2.0.v3.ncrunchproject
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
- MissingOrIgnoredProjectReference
-
-
-
\ No newline at end of file
diff --git a/.ncrunch/Avalonia.Base.UnitTests.v3.ncrunchproject b/.ncrunch/Avalonia.Base.UnitTests.v3.ncrunchproject
deleted file mode 100644
index 13f78c1d4c..0000000000
--- a/.ncrunch/Avalonia.Base.UnitTests.v3.ncrunchproject
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
- LongTestTimesWithoutParallelExecution
-
- True
-
-
\ No newline at end of file
diff --git a/.ncrunch/Avalonia.Base.v3.ncrunchproject b/.ncrunch/Avalonia.Base.v3.ncrunchproject
deleted file mode 100644
index e12537d535..0000000000
--- a/.ncrunch/Avalonia.Base.v3.ncrunchproject
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
- MissingOrIgnoredProjectReference
-
- True
-
-
\ No newline at end of file
diff --git a/.ncrunch/Avalonia.Benchmarks.v3.ncrunchproject b/.ncrunch/Avalonia.Benchmarks.v3.ncrunchproject
deleted file mode 100644
index e12537d535..0000000000
--- a/.ncrunch/Avalonia.Benchmarks.v3.ncrunchproject
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
- MissingOrIgnoredProjectReference
-
- True
-
-
\ No newline at end of file
diff --git a/.ncrunch/Avalonia.Build.Tasks.v3.ncrunchproject b/.ncrunch/Avalonia.Build.Tasks.v3.ncrunchproject
deleted file mode 100644
index 95a483b433..0000000000
--- a/.ncrunch/Avalonia.Build.Tasks.v3.ncrunchproject
+++ /dev/null
@@ -1,3 +0,0 @@
-
-
-
\ No newline at end of file
diff --git a/.ncrunch/Avalonia.Cairo.RenderTests.v3.ncrunchproject b/.ncrunch/Avalonia.Cairo.RenderTests.v3.ncrunchproject
deleted file mode 100644
index 101c806e63..0000000000
--- a/.ncrunch/Avalonia.Cairo.RenderTests.v3.ncrunchproject
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
- AbnormalReferenceResolution
-
- True
-
-
\ No newline at end of file
diff --git a/.ncrunch/Avalonia.Cairo.v3.ncrunchproject b/.ncrunch/Avalonia.Cairo.v3.ncrunchproject
deleted file mode 100644
index 6800b4a3fe..0000000000
--- a/.ncrunch/Avalonia.Cairo.v3.ncrunchproject
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
- True
-
-
\ No newline at end of file
diff --git a/.ncrunch/Avalonia.Controls.DataGrid.v3.ncrunchproject b/.ncrunch/Avalonia.Controls.DataGrid.v3.ncrunchproject
deleted file mode 100644
index e9d39b0c74..0000000000
--- a/.ncrunch/Avalonia.Controls.DataGrid.v3.ncrunchproject
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
- MissingOrIgnoredProjectReference
-
-
-
\ No newline at end of file
diff --git a/.ncrunch/Avalonia.Controls.UnitTests.net461.v3.ncrunchproject b/.ncrunch/Avalonia.Controls.UnitTests.net461.v3.ncrunchproject
deleted file mode 100644
index 6800b4a3fe..0000000000
--- a/.ncrunch/Avalonia.Controls.UnitTests.net461.v3.ncrunchproject
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
- True
-
-
\ No newline at end of file
diff --git a/.ncrunch/Avalonia.Controls.UnitTests.net47.v3.ncrunchproject b/.ncrunch/Avalonia.Controls.UnitTests.net47.v3.ncrunchproject
deleted file mode 100644
index f30a20df78..0000000000
--- a/.ncrunch/Avalonia.Controls.UnitTests.net47.v3.ncrunchproject
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
- MissingOrIgnoredProjectReference
-
- Avalonia.Controls.UnitTests.TimePickerTests
-
-
\ No newline at end of file
diff --git a/.ncrunch/Avalonia.Controls.UnitTests.netcoreapp2.0.v3.ncrunchproject b/.ncrunch/Avalonia.Controls.UnitTests.netcoreapp2.0.v3.ncrunchproject
deleted file mode 100644
index e9d39b0c74..0000000000
--- a/.ncrunch/Avalonia.Controls.UnitTests.netcoreapp2.0.v3.ncrunchproject
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
- MissingOrIgnoredProjectReference
-
-
-
\ No newline at end of file
diff --git a/.ncrunch/Avalonia.Controls.UnitTests.v3.ncrunchproject b/.ncrunch/Avalonia.Controls.UnitTests.v3.ncrunchproject
deleted file mode 100644
index 13f78c1d4c..0000000000
--- a/.ncrunch/Avalonia.Controls.UnitTests.v3.ncrunchproject
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
- LongTestTimesWithoutParallelExecution
-
- True
-
-
\ No newline at end of file
diff --git a/.ncrunch/Avalonia.Controls.v3.ncrunchproject b/.ncrunch/Avalonia.Controls.v3.ncrunchproject
deleted file mode 100644
index e12537d535..0000000000
--- a/.ncrunch/Avalonia.Controls.v3.ncrunchproject
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
- MissingOrIgnoredProjectReference
-
- True
-
-
\ No newline at end of file
diff --git a/.ncrunch/Avalonia.Designer.HostApp.net461.v3.ncrunchproject b/.ncrunch/Avalonia.Designer.HostApp.net461.v3.ncrunchproject
index e9d39b0c74..319cd523ce 100644
--- a/.ncrunch/Avalonia.Designer.HostApp.net461.v3.ncrunchproject
+++ b/.ncrunch/Avalonia.Designer.HostApp.net461.v3.ncrunchproject
@@ -1,7 +1,5 @@
-
- MissingOrIgnoredProjectReference
-
+ True
\ No newline at end of file
diff --git a/.ncrunch/Avalonia.Designer.HostApp.netcoreapp2.0.v3.ncrunchproject b/.ncrunch/Avalonia.Designer.HostApp.netcoreapp2.0.v3.ncrunchproject
index e9d39b0c74..319cd523ce 100644
--- a/.ncrunch/Avalonia.Designer.HostApp.netcoreapp2.0.v3.ncrunchproject
+++ b/.ncrunch/Avalonia.Designer.HostApp.netcoreapp2.0.v3.ncrunchproject
@@ -1,7 +1,5 @@
-
- MissingOrIgnoredProjectReference
-
+ True
\ No newline at end of file
diff --git a/.ncrunch/Avalonia.Designer.v3.ncrunchproject b/.ncrunch/Avalonia.Designer.v3.ncrunchproject
deleted file mode 100644
index 6800b4a3fe..0000000000
--- a/.ncrunch/Avalonia.Designer.v3.ncrunchproject
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
- True
-
-
\ No newline at end of file
diff --git a/.ncrunch/Avalonia.DesignerSupport.TestApp.v3.ncrunchproject b/.ncrunch/Avalonia.DesignerSupport.TestApp.v3.ncrunchproject
index a4953e14f9..319cd523ce 100644
--- a/.ncrunch/Avalonia.DesignerSupport.TestApp.v3.ncrunchproject
+++ b/.ncrunch/Avalonia.DesignerSupport.TestApp.v3.ncrunchproject
@@ -1,6 +1,5 @@
True
- True
\ No newline at end of file
diff --git a/.ncrunch/Avalonia.DesignerSupport.Tests.v3.ncrunchproject b/.ncrunch/Avalonia.DesignerSupport.Tests.v3.ncrunchproject
index a4953e14f9..319cd523ce 100644
--- a/.ncrunch/Avalonia.DesignerSupport.Tests.v3.ncrunchproject
+++ b/.ncrunch/Avalonia.DesignerSupport.Tests.v3.ncrunchproject
@@ -1,6 +1,5 @@
True
- True
\ No newline at end of file
diff --git a/.ncrunch/Avalonia.DesignerSupport.v3.ncrunchproject b/.ncrunch/Avalonia.DesignerSupport.v3.ncrunchproject
deleted file mode 100644
index e12537d535..0000000000
--- a/.ncrunch/Avalonia.DesignerSupport.v3.ncrunchproject
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
- MissingOrIgnoredProjectReference
-
- True
-
-
\ No newline at end of file
diff --git a/.ncrunch/Avalonia.Designer.HostApp.NetFX.v3.ncrunchproject b/.ncrunch/Avalonia.Desktop.net6.0.v3.ncrunchproject
similarity index 100%
rename from .ncrunch/Avalonia.Designer.HostApp.NetFX.v3.ncrunchproject
rename to .ncrunch/Avalonia.Desktop.net6.0.v3.ncrunchproject
diff --git a/.ncrunch/Avalonia.Designer.HostApp.v3.ncrunchproject b/.ncrunch/Avalonia.Desktop.netstandard2.0.v3.ncrunchproject
similarity index 100%
rename from .ncrunch/Avalonia.Designer.HostApp.v3.ncrunchproject
rename to .ncrunch/Avalonia.Desktop.netstandard2.0.v3.ncrunchproject
diff --git a/.ncrunch/Avalonia.DesktopRuntime.net461.v3.ncrunchproject b/.ncrunch/Avalonia.DesktopRuntime.net461.v3.ncrunchproject
deleted file mode 100644
index e9d39b0c74..0000000000
--- a/.ncrunch/Avalonia.DesktopRuntime.net461.v3.ncrunchproject
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
- MissingOrIgnoredProjectReference
-
-
-
\ No newline at end of file
diff --git a/.ncrunch/Avalonia.DesktopRuntime.netcoreapp2.0.v3.ncrunchproject b/.ncrunch/Avalonia.DesktopRuntime.netcoreapp2.0.v3.ncrunchproject
deleted file mode 100644
index e9d39b0c74..0000000000
--- a/.ncrunch/Avalonia.DesktopRuntime.netcoreapp2.0.v3.ncrunchproject
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
- MissingOrIgnoredProjectReference
-
-
-
\ No newline at end of file
diff --git a/.ncrunch/Avalonia.DesktopRuntime.v3.ncrunchproject b/.ncrunch/Avalonia.DesktopRuntime.v3.ncrunchproject
deleted file mode 100644
index 95a483b433..0000000000
--- a/.ncrunch/Avalonia.DesktopRuntime.v3.ncrunchproject
+++ /dev/null
@@ -1,3 +0,0 @@
-
-
-
\ No newline at end of file
diff --git a/.ncrunch/Avalonia.Diagnostics.v3.ncrunchproject b/.ncrunch/Avalonia.Diagnostics.v3.ncrunchproject
deleted file mode 100644
index e12537d535..0000000000
--- a/.ncrunch/Avalonia.Diagnostics.v3.ncrunchproject
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
- MissingOrIgnoredProjectReference
-
- True
-
-
\ No newline at end of file
diff --git a/.ncrunch/Avalonia.Direct2D1.RenderTests.v3.ncrunchproject b/.ncrunch/Avalonia.Direct2D1.RenderTests.v3.ncrunchproject
deleted file mode 100644
index 0846098ce5..0000000000
--- a/.ncrunch/Avalonia.Direct2D1.RenderTests.v3.ncrunchproject
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-
- ..\TestFiles\Direct2D1\**.*
-
- 3000
-
- MissingOrIgnoredProjectReference
-
- True
-
-
\ No newline at end of file
diff --git a/.ncrunch/Avalonia.Direct2D1.UnitTests.v3.ncrunchproject b/.ncrunch/Avalonia.Direct2D1.UnitTests.v3.ncrunchproject
deleted file mode 100644
index e12537d535..0000000000
--- a/.ncrunch/Avalonia.Direct2D1.UnitTests.v3.ncrunchproject
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
- MissingOrIgnoredProjectReference
-
- True
-
-
\ No newline at end of file
diff --git a/.ncrunch/Avalonia.Direct2D1.v3.ncrunchproject b/.ncrunch/Avalonia.Direct2D1.v3.ncrunchproject
deleted file mode 100644
index e12537d535..0000000000
--- a/.ncrunch/Avalonia.Direct2D1.v3.ncrunchproject
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
- MissingOrIgnoredProjectReference
-
- True
-
-
\ No newline at end of file
diff --git a/.ncrunch/Avalonia.Gtk3.v3.ncrunchproject b/.ncrunch/Avalonia.Gtk3.v3.ncrunchproject
deleted file mode 100644
index e9d39b0c74..0000000000
--- a/.ncrunch/Avalonia.Gtk3.v3.ncrunchproject
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
- MissingOrIgnoredProjectReference
-
-
-
\ No newline at end of file
diff --git a/.ncrunch/Avalonia.Input.UnitTests.net461.v3.ncrunchproject b/.ncrunch/Avalonia.Input.UnitTests.net461.v3.ncrunchproject
deleted file mode 100644
index 6800b4a3fe..0000000000
--- a/.ncrunch/Avalonia.Input.UnitTests.net461.v3.ncrunchproject
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
- True
-
-
\ No newline at end of file
diff --git a/.ncrunch/Avalonia.Input.UnitTests.net47.v3.ncrunchproject b/.ncrunch/Avalonia.Input.UnitTests.net47.v3.ncrunchproject
deleted file mode 100644
index e9d39b0c74..0000000000
--- a/.ncrunch/Avalonia.Input.UnitTests.net47.v3.ncrunchproject
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
- MissingOrIgnoredProjectReference
-
-
-
\ No newline at end of file
diff --git a/.ncrunch/Avalonia.Input.UnitTests.netcoreapp2.0.v3.ncrunchproject b/.ncrunch/Avalonia.Input.UnitTests.netcoreapp2.0.v3.ncrunchproject
deleted file mode 100644
index e9d39b0c74..0000000000
--- a/.ncrunch/Avalonia.Input.UnitTests.netcoreapp2.0.v3.ncrunchproject
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
- MissingOrIgnoredProjectReference
-
-
-
\ No newline at end of file
diff --git a/.ncrunch/Avalonia.Input.UnitTests.v3.ncrunchproject b/.ncrunch/Avalonia.Input.UnitTests.v3.ncrunchproject
deleted file mode 100644
index 6800b4a3fe..0000000000
--- a/.ncrunch/Avalonia.Input.UnitTests.v3.ncrunchproject
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
- True
-
-
\ No newline at end of file
diff --git a/.ncrunch/Avalonia.Input.v3.ncrunchproject b/.ncrunch/Avalonia.Input.v3.ncrunchproject
deleted file mode 100644
index e12537d535..0000000000
--- a/.ncrunch/Avalonia.Input.v3.ncrunchproject
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
- MissingOrIgnoredProjectReference
-
- True
-
-
\ No newline at end of file
diff --git a/.ncrunch/Avalonia.Interactivity.UnitTests.net461.v3.ncrunchproject b/.ncrunch/Avalonia.Interactivity.UnitTests.net461.v3.ncrunchproject
deleted file mode 100644
index 6800b4a3fe..0000000000
--- a/.ncrunch/Avalonia.Interactivity.UnitTests.net461.v3.ncrunchproject
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
- True
-
-
\ No newline at end of file
diff --git a/.ncrunch/Avalonia.Interactivity.UnitTests.netcoreapp1.1.v3.ncrunchproject b/.ncrunch/Avalonia.Interactivity.UnitTests.netcoreapp1.1.v3.ncrunchproject
deleted file mode 100644
index 6800b4a3fe..0000000000
--- a/.ncrunch/Avalonia.Interactivity.UnitTests.netcoreapp1.1.v3.ncrunchproject
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
- True
-
-
\ No newline at end of file
diff --git a/.ncrunch/Avalonia.Interactivity.UnitTests.v3.ncrunchproject b/.ncrunch/Avalonia.Interactivity.UnitTests.v3.ncrunchproject
deleted file mode 100644
index e12537d535..0000000000
--- a/.ncrunch/Avalonia.Interactivity.UnitTests.v3.ncrunchproject
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
- MissingOrIgnoredProjectReference
-
- True
-
-
\ No newline at end of file
diff --git a/.ncrunch/Avalonia.Interactivity.v3.ncrunchproject b/.ncrunch/Avalonia.Interactivity.v3.ncrunchproject
deleted file mode 100644
index e12537d535..0000000000
--- a/.ncrunch/Avalonia.Interactivity.v3.ncrunchproject
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
- MissingOrIgnoredProjectReference
-
- True
-
-
\ No newline at end of file
diff --git a/.ncrunch/Avalonia.Layout.UnitTests.net461.v3.ncrunchproject b/.ncrunch/Avalonia.Layout.UnitTests.net461.v3.ncrunchproject
deleted file mode 100644
index 6800b4a3fe..0000000000
--- a/.ncrunch/Avalonia.Layout.UnitTests.net461.v3.ncrunchproject
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
- True
-
-
\ No newline at end of file
diff --git a/.ncrunch/Avalonia.Layout.UnitTests.v3.ncrunchproject b/.ncrunch/Avalonia.Layout.UnitTests.v3.ncrunchproject
deleted file mode 100644
index e12537d535..0000000000
--- a/.ncrunch/Avalonia.Layout.UnitTests.v3.ncrunchproject
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
- MissingOrIgnoredProjectReference
-
- True
-
-
\ No newline at end of file
diff --git a/.ncrunch/Avalonia.Layout.v3.ncrunchproject b/.ncrunch/Avalonia.Layout.v3.ncrunchproject
deleted file mode 100644
index e12537d535..0000000000
--- a/.ncrunch/Avalonia.Layout.v3.ncrunchproject
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
- MissingOrIgnoredProjectReference
-
- True
-
-
\ No newline at end of file
diff --git a/.ncrunch/Avalonia.LeakTests.v3.ncrunchproject b/.ncrunch/Avalonia.LeakTests.v3.ncrunchproject
deleted file mode 100644
index e12537d535..0000000000
--- a/.ncrunch/Avalonia.LeakTests.v3.ncrunchproject
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
- MissingOrIgnoredProjectReference
-
- True
-
-
\ No newline at end of file
diff --git a/.ncrunch/Avalonia.LinuxFramebuffer.v3.ncrunchproject b/.ncrunch/Avalonia.LinuxFramebuffer.v3.ncrunchproject
deleted file mode 100644
index e12537d535..0000000000
--- a/.ncrunch/Avalonia.LinuxFramebuffer.v3.ncrunchproject
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
- MissingOrIgnoredProjectReference
-
- True
-
-
\ No newline at end of file
diff --git a/.ncrunch/Avalonia.Logging.Serilog.v3.ncrunchproject b/.ncrunch/Avalonia.Logging.Serilog.v3.ncrunchproject
deleted file mode 100644
index e12537d535..0000000000
--- a/.ncrunch/Avalonia.Logging.Serilog.v3.ncrunchproject
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
- MissingOrIgnoredProjectReference
-
- True
-
-
\ No newline at end of file
diff --git a/.ncrunch/Avalonia.Markup.UnitTests.net461.v3.ncrunchproject b/.ncrunch/Avalonia.Markup.UnitTests.net461.v3.ncrunchproject
deleted file mode 100644
index 6800b4a3fe..0000000000
--- a/.ncrunch/Avalonia.Markup.UnitTests.net461.v3.ncrunchproject
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
- True
-
-
\ No newline at end of file
diff --git a/.ncrunch/Avalonia.Markup.UnitTests.net47.v3.ncrunchproject b/.ncrunch/Avalonia.Markup.UnitTests.net47.v3.ncrunchproject
deleted file mode 100644
index e9d39b0c74..0000000000
--- a/.ncrunch/Avalonia.Markup.UnitTests.net47.v3.ncrunchproject
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
- MissingOrIgnoredProjectReference
-
-
-
\ No newline at end of file
diff --git a/.ncrunch/Avalonia.Markup.UnitTests.netcoreapp1.1.v3.ncrunchproject b/.ncrunch/Avalonia.Markup.UnitTests.netcoreapp1.1.v3.ncrunchproject
deleted file mode 100644
index 15d9efad87..0000000000
--- a/.ncrunch/Avalonia.Markup.UnitTests.netcoreapp1.1.v3.ncrunchproject
+++ /dev/null
@@ -1,9 +0,0 @@
-
-
-
-
- Avalonia.Markup.UnitTests.Data.Plugins.DataAnnotationsValidationPluginTests.Produces_Aggregate_BindingNotificationsx
-
-
-
-
\ No newline at end of file
diff --git a/.ncrunch/Avalonia.Markup.UnitTests.netcoreapp2.0.v3.ncrunchproject b/.ncrunch/Avalonia.Markup.UnitTests.netcoreapp2.0.v3.ncrunchproject
deleted file mode 100644
index e9d39b0c74..0000000000
--- a/.ncrunch/Avalonia.Markup.UnitTests.netcoreapp2.0.v3.ncrunchproject
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
- MissingOrIgnoredProjectReference
-
-
-
\ No newline at end of file
diff --git a/.ncrunch/Avalonia.Markup.UnitTests.v3.ncrunchproject b/.ncrunch/Avalonia.Markup.UnitTests.v3.ncrunchproject
deleted file mode 100644
index 6800b4a3fe..0000000000
--- a/.ncrunch/Avalonia.Markup.UnitTests.v3.ncrunchproject
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
- True
-
-
\ No newline at end of file
diff --git a/.ncrunch/Avalonia.Markup.Xaml.UnitTests.net461.v3.ncrunchproject b/.ncrunch/Avalonia.Markup.Xaml.UnitTests.net461.v3.ncrunchproject
deleted file mode 100644
index 6800b4a3fe..0000000000
--- a/.ncrunch/Avalonia.Markup.Xaml.UnitTests.net461.v3.ncrunchproject
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
- True
-
-
\ No newline at end of file
diff --git a/.ncrunch/Avalonia.Markup.Xaml.UnitTests.net47.v3.ncrunchproject b/.ncrunch/Avalonia.Markup.Xaml.UnitTests.net47.v3.ncrunchproject
deleted file mode 100644
index e9d39b0c74..0000000000
--- a/.ncrunch/Avalonia.Markup.Xaml.UnitTests.net47.v3.ncrunchproject
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
- MissingOrIgnoredProjectReference
-
-
-
\ No newline at end of file
diff --git a/.ncrunch/Avalonia.Markup.Xaml.UnitTests.netcoreapp2.0.v3.ncrunchproject b/.ncrunch/Avalonia.Markup.Xaml.UnitTests.netcoreapp2.0.v3.ncrunchproject
deleted file mode 100644
index e9d39b0c74..0000000000
--- a/.ncrunch/Avalonia.Markup.Xaml.UnitTests.netcoreapp2.0.v3.ncrunchproject
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
- MissingOrIgnoredProjectReference
-
-
-
\ No newline at end of file
diff --git a/.ncrunch/Avalonia.Markup.Xaml.UnitTests.v3.ncrunchproject b/.ncrunch/Avalonia.Markup.Xaml.UnitTests.v3.ncrunchproject
deleted file mode 100644
index 6800b4a3fe..0000000000
--- a/.ncrunch/Avalonia.Markup.Xaml.UnitTests.v3.ncrunchproject
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
- True
-
-
\ No newline at end of file
diff --git a/.ncrunch/Avalonia.Markup.Xaml.v3.ncrunchproject b/.ncrunch/Avalonia.Markup.Xaml.v3.ncrunchproject
deleted file mode 100644
index e12537d535..0000000000
--- a/.ncrunch/Avalonia.Markup.Xaml.v3.ncrunchproject
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
- MissingOrIgnoredProjectReference
-
- True
-
-
\ No newline at end of file
diff --git a/.ncrunch/Avalonia.Markup.v3.ncrunchproject b/.ncrunch/Avalonia.Markup.v3.ncrunchproject
deleted file mode 100644
index e12537d535..0000000000
--- a/.ncrunch/Avalonia.Markup.v3.ncrunchproject
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
- MissingOrIgnoredProjectReference
-
- True
-
-
\ No newline at end of file
diff --git a/.ncrunch/Avalonia.MicroCom.v3.ncrunchproject b/.ncrunch/Avalonia.MicroCom.v3.ncrunchproject
deleted file mode 100644
index 95a483b433..0000000000
--- a/.ncrunch/Avalonia.MicroCom.v3.ncrunchproject
+++ /dev/null
@@ -1,3 +0,0 @@
-
-
-
\ No newline at end of file
diff --git a/.ncrunch/Avalonia.Native.net6.0.v3.ncrunchproject b/.ncrunch/Avalonia.Native.net6.0.v3.ncrunchproject
new file mode 100644
index 0000000000..e8de009693
--- /dev/null
+++ b/.ncrunch/Avalonia.Native.net6.0.v3.ncrunchproject
@@ -0,0 +1,6 @@
+
+
+ True
+
+
+
\ No newline at end of file
diff --git a/.ncrunch/Avalonia.Desktop.v3.ncrunchproject b/.ncrunch/Avalonia.Native.netstandard2.0.v3.ncrunchproject
similarity index 100%
rename from .ncrunch/Avalonia.Desktop.v3.ncrunchproject
rename to .ncrunch/Avalonia.Native.netstandard2.0.v3.ncrunchproject
diff --git a/.ncrunch/Avalonia.OpenGL.v3.ncrunchproject b/.ncrunch/Avalonia.OpenGL.v3.ncrunchproject
deleted file mode 100644
index e9d39b0c74..0000000000
--- a/.ncrunch/Avalonia.OpenGL.v3.ncrunchproject
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
- MissingOrIgnoredProjectReference
-
-
-
\ No newline at end of file
diff --git a/.ncrunch/Avalonia.ReactiveUI.UnitTests.v3.ncrunchproject b/.ncrunch/Avalonia.ReactiveUI.UnitTests.v3.ncrunchproject
deleted file mode 100644
index e9d39b0c74..0000000000
--- a/.ncrunch/Avalonia.ReactiveUI.UnitTests.v3.ncrunchproject
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
- MissingOrIgnoredProjectReference
-
-
-
\ No newline at end of file
diff --git a/.ncrunch/Avalonia.ReactiveUI.v3.ncrunchproject b/.ncrunch/Avalonia.ReactiveUI.v3.ncrunchproject
deleted file mode 100644
index e12537d535..0000000000
--- a/.ncrunch/Avalonia.ReactiveUI.v3.ncrunchproject
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
- MissingOrIgnoredProjectReference
-
- True
-
-
\ No newline at end of file
diff --git a/.ncrunch/Avalonia.RenderTests.v3.ncrunchproject b/.ncrunch/Avalonia.RenderTests.v3.ncrunchproject
deleted file mode 100644
index 95a483b433..0000000000
--- a/.ncrunch/Avalonia.RenderTests.v3.ncrunchproject
+++ /dev/null
@@ -1,3 +0,0 @@
-
-
-
\ No newline at end of file
diff --git a/.ncrunch/Avalonia.Skia.Android.v3.ncrunchproject b/.ncrunch/Avalonia.Skia.Android.v3.ncrunchproject
deleted file mode 100644
index a4953e14f9..0000000000
--- a/.ncrunch/Avalonia.Skia.Android.v3.ncrunchproject
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
- True
- True
-
-
\ No newline at end of file
diff --git a/.ncrunch/Avalonia.Skia.Desktop.v3.ncrunchproject b/.ncrunch/Avalonia.Skia.Desktop.v3.ncrunchproject
deleted file mode 100644
index ae3801f32b..0000000000
--- a/.ncrunch/Avalonia.Skia.Desktop.v3.ncrunchproject
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
- True
- False
- True
- x86
-
-
\ No newline at end of file
diff --git a/.ncrunch/Avalonia.Skia.RenderTests.v3.ncrunchproject b/.ncrunch/Avalonia.Skia.RenderTests.v3.ncrunchproject
deleted file mode 100644
index 2966be8f73..0000000000
--- a/.ncrunch/Avalonia.Skia.RenderTests.v3.ncrunchproject
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-
- ..\TestFiles\Skia\**.*
-
- 3000
-
- MissingOrIgnoredProjectReference
-
- True
-
-
\ No newline at end of file
diff --git a/.ncrunch/Avalonia.Skia.UnitTests.v3.ncrunchproject b/.ncrunch/Avalonia.Skia.UnitTests.v3.ncrunchproject
deleted file mode 100644
index e9d39b0c74..0000000000
--- a/.ncrunch/Avalonia.Skia.UnitTests.v3.ncrunchproject
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
- MissingOrIgnoredProjectReference
-
-
-
\ No newline at end of file
diff --git a/.ncrunch/Avalonia.Skia.iOS.v3.ncrunchproject b/.ncrunch/Avalonia.Skia.iOS.v3.ncrunchproject
deleted file mode 100644
index a4953e14f9..0000000000
--- a/.ncrunch/Avalonia.Skia.iOS.v3.ncrunchproject
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
- True
- True
-
-
\ No newline at end of file
diff --git a/.ncrunch/Avalonia.Skia.v3.ncrunchproject b/.ncrunch/Avalonia.Skia.v3.ncrunchproject
deleted file mode 100644
index e9d39b0c74..0000000000
--- a/.ncrunch/Avalonia.Skia.v3.ncrunchproject
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
- MissingOrIgnoredProjectReference
-
-
-
\ No newline at end of file
diff --git a/.ncrunch/Avalonia.Styling.UnitTests.net461.v3.ncrunchproject b/.ncrunch/Avalonia.Styling.UnitTests.net461.v3.ncrunchproject
deleted file mode 100644
index 6800b4a3fe..0000000000
--- a/.ncrunch/Avalonia.Styling.UnitTests.net461.v3.ncrunchproject
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
- True
-
-
\ No newline at end of file
diff --git a/.ncrunch/Avalonia.Styling.UnitTests.net47.v3.ncrunchproject b/.ncrunch/Avalonia.Styling.UnitTests.net47.v3.ncrunchproject
deleted file mode 100644
index e9d39b0c74..0000000000
--- a/.ncrunch/Avalonia.Styling.UnitTests.net47.v3.ncrunchproject
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
- MissingOrIgnoredProjectReference
-
-
-
\ No newline at end of file
diff --git a/.ncrunch/Avalonia.Styling.UnitTests.netcoreapp2.0.v3.ncrunchproject b/.ncrunch/Avalonia.Styling.UnitTests.netcoreapp2.0.v3.ncrunchproject
deleted file mode 100644
index e9d39b0c74..0000000000
--- a/.ncrunch/Avalonia.Styling.UnitTests.netcoreapp2.0.v3.ncrunchproject
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
- MissingOrIgnoredProjectReference
-
-
-
\ No newline at end of file
diff --git a/.ncrunch/Avalonia.Styling.UnitTests.v3.ncrunchproject b/.ncrunch/Avalonia.Styling.UnitTests.v3.ncrunchproject
deleted file mode 100644
index 6800b4a3fe..0000000000
--- a/.ncrunch/Avalonia.Styling.UnitTests.v3.ncrunchproject
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
- True
-
-
\ No newline at end of file
diff --git a/.ncrunch/Avalonia.Styling.v3.ncrunchproject b/.ncrunch/Avalonia.Styling.v3.ncrunchproject
deleted file mode 100644
index e12537d535..0000000000
--- a/.ncrunch/Avalonia.Styling.v3.ncrunchproject
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
- MissingOrIgnoredProjectReference
-
- True
-
-
\ No newline at end of file
diff --git a/.ncrunch/Avalonia.Themes.Default.v3.ncrunchproject b/.ncrunch/Avalonia.Themes.Default.v3.ncrunchproject
deleted file mode 100644
index e12537d535..0000000000
--- a/.ncrunch/Avalonia.Themes.Default.v3.ncrunchproject
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
- MissingOrIgnoredProjectReference
-
- True
-
-
\ No newline at end of file
diff --git a/.ncrunch/Avalonia.UnitTests.net461.v3.ncrunchproject b/.ncrunch/Avalonia.UnitTests.net461.v3.ncrunchproject
deleted file mode 100644
index 6800b4a3fe..0000000000
--- a/.ncrunch/Avalonia.UnitTests.net461.v3.ncrunchproject
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
- True
-
-
\ No newline at end of file
diff --git a/.ncrunch/Avalonia.UnitTests.v3.ncrunchproject b/.ncrunch/Avalonia.UnitTests.v3.ncrunchproject
deleted file mode 100644
index e12537d535..0000000000
--- a/.ncrunch/Avalonia.UnitTests.v3.ncrunchproject
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
- MissingOrIgnoredProjectReference
-
- True
-
-
\ No newline at end of file
diff --git a/.ncrunch/Avalonia.Visuals.UnitTests.net461.v3.ncrunchproject b/.ncrunch/Avalonia.Visuals.UnitTests.net461.v3.ncrunchproject
deleted file mode 100644
index 6800b4a3fe..0000000000
--- a/.ncrunch/Avalonia.Visuals.UnitTests.net461.v3.ncrunchproject
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
- True
-
-
\ No newline at end of file
diff --git a/.ncrunch/Avalonia.Visuals.UnitTests.net47.v3.ncrunchproject b/.ncrunch/Avalonia.Visuals.UnitTests.net47.v3.ncrunchproject
deleted file mode 100644
index e9d39b0c74..0000000000
--- a/.ncrunch/Avalonia.Visuals.UnitTests.net47.v3.ncrunchproject
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
- MissingOrIgnoredProjectReference
-
-
-
\ No newline at end of file
diff --git a/.ncrunch/Avalonia.Visuals.UnitTests.netcoreapp2.0.v3.ncrunchproject b/.ncrunch/Avalonia.Visuals.UnitTests.netcoreapp2.0.v3.ncrunchproject
deleted file mode 100644
index e9d39b0c74..0000000000
--- a/.ncrunch/Avalonia.Visuals.UnitTests.netcoreapp2.0.v3.ncrunchproject
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
- MissingOrIgnoredProjectReference
-
-
-
\ No newline at end of file
diff --git a/.ncrunch/Avalonia.Visuals.UnitTests.v3.ncrunchproject b/.ncrunch/Avalonia.Visuals.UnitTests.v3.ncrunchproject
deleted file mode 100644
index ee655751a0..0000000000
--- a/.ncrunch/Avalonia.Visuals.UnitTests.v3.ncrunchproject
+++ /dev/null
@@ -1,9 +0,0 @@
-
-
-
- AbnormalReferenceResolution
- LongTestTimesWithoutParallelExecution
-
- True
-
-
\ No newline at end of file
diff --git a/.ncrunch/Avalonia.Visuals.v3.ncrunchproject b/.ncrunch/Avalonia.Visuals.v3.ncrunchproject
deleted file mode 100644
index e12537d535..0000000000
--- a/.ncrunch/Avalonia.Visuals.v3.ncrunchproject
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
- MissingOrIgnoredProjectReference
-
- True
-
-
\ No newline at end of file
diff --git a/.ncrunch/Avalonia.Win32.Interop.v3.ncrunchproject b/.ncrunch/Avalonia.Win32.Interop.v3.ncrunchproject
deleted file mode 100644
index e12537d535..0000000000
--- a/.ncrunch/Avalonia.Win32.Interop.v3.ncrunchproject
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
- MissingOrIgnoredProjectReference
-
- True
-
-
\ No newline at end of file
diff --git a/.ncrunch/Avalonia.Win32.v3.ncrunchproject b/.ncrunch/Avalonia.Win32.net6.0.v3.ncrunchproject
similarity index 50%
rename from .ncrunch/Avalonia.Win32.v3.ncrunchproject
rename to .ncrunch/Avalonia.Win32.net6.0.v3.ncrunchproject
index bc2ee91007..28b692bb51 100644
--- a/.ncrunch/Avalonia.Win32.v3.ncrunchproject
+++ b/.ncrunch/Avalonia.Win32.net6.0.v3.ncrunchproject
@@ -3,9 +3,5 @@
..\..\tools\MicroComGenerator\bin\Debug\net6.0\**.*
-
- MissingOrIgnoredProjectReference
-
- True
\ No newline at end of file
diff --git a/.ncrunch/Avalonia.Win32.netstandard2.0.v3.ncrunchproject b/.ncrunch/Avalonia.Win32.netstandard2.0.v3.ncrunchproject
new file mode 100644
index 0000000000..28b692bb51
--- /dev/null
+++ b/.ncrunch/Avalonia.Win32.netstandard2.0.v3.ncrunchproject
@@ -0,0 +1,7 @@
+
+
+
+ ..\..\tools\MicroComGenerator\bin\Debug\net6.0\**.*
+
+
+
\ No newline at end of file
diff --git a/.ncrunch/Avalonia.X11.v3.ncrunchproject b/.ncrunch/Avalonia.X11.v3.ncrunchproject
deleted file mode 100644
index e9d39b0c74..0000000000
--- a/.ncrunch/Avalonia.X11.v3.ncrunchproject
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
- MissingOrIgnoredProjectReference
-
-
-
\ No newline at end of file
diff --git a/.ncrunch/Avalonia.net461.v3.ncrunchproject b/.ncrunch/Avalonia.net461.v3.ncrunchproject
index 319cd523ce..4fdcd169ae 100644
--- a/.ncrunch/Avalonia.net461.v3.ncrunchproject
+++ b/.ncrunch/Avalonia.net461.v3.ncrunchproject
@@ -1,5 +1,7 @@
- True
+
+ DerivedFilesIncludedInWorkspace
+
\ No newline at end of file
diff --git a/.ncrunch/Avalonia.Animation.UnitTests.net47.v3.ncrunchproject b/.ncrunch/Avalonia.net6.0.v3.ncrunchproject
similarity index 59%
rename from .ncrunch/Avalonia.Animation.UnitTests.net47.v3.ncrunchproject
rename to .ncrunch/Avalonia.net6.0.v3.ncrunchproject
index e9d39b0c74..4fdcd169ae 100644
--- a/.ncrunch/Avalonia.Animation.UnitTests.net47.v3.ncrunchproject
+++ b/.ncrunch/Avalonia.net6.0.v3.ncrunchproject
@@ -1,7 +1,7 @@
- MissingOrIgnoredProjectReference
+ DerivedFilesIncludedInWorkspace
\ No newline at end of file
diff --git a/.ncrunch/Avalonia.netcoreapp2.0.v3.ncrunchproject b/.ncrunch/Avalonia.netcoreapp2.0.v3.ncrunchproject
index 3f3c53a7fd..4fdcd169ae 100644
--- a/.ncrunch/Avalonia.netcoreapp2.0.v3.ncrunchproject
+++ b/.ncrunch/Avalonia.netcoreapp2.0.v3.ncrunchproject
@@ -2,7 +2,6 @@
DerivedFilesIncludedInWorkspace
- MissingOrIgnoredProjectReference
\ No newline at end of file
diff --git a/.ncrunch/Avalonia.netstandard2.0.v3.ncrunchproject b/.ncrunch/Avalonia.netstandard2.0.v3.ncrunchproject
index 3f3c53a7fd..4fdcd169ae 100644
--- a/.ncrunch/Avalonia.netstandard2.0.v3.ncrunchproject
+++ b/.ncrunch/Avalonia.netstandard2.0.v3.ncrunchproject
@@ -2,7 +2,6 @@
DerivedFilesIncludedInWorkspace
- MissingOrIgnoredProjectReference
\ No newline at end of file
diff --git a/.ncrunch/BindingDemo.net461.v3.ncrunchproject b/.ncrunch/BindingDemo.net461.v3.ncrunchproject
deleted file mode 100644
index 319cd523ce..0000000000
--- a/.ncrunch/BindingDemo.net461.v3.ncrunchproject
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
- True
-
-
\ No newline at end of file
diff --git a/.ncrunch/BindingDemo.netcoreapp2.0.v3.ncrunchproject b/.ncrunch/BindingDemo.netcoreapp2.0.v3.ncrunchproject
deleted file mode 100644
index 319cd523ce..0000000000
--- a/.ncrunch/BindingDemo.netcoreapp2.0.v3.ncrunchproject
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
- True
-
-
\ No newline at end of file
diff --git a/.ncrunch/Avalonia.Native.v3.ncrunchproject b/.ncrunch/ControlCatalog.Web.v3.ncrunchproject
similarity index 100%
rename from .ncrunch/Avalonia.Native.v3.ncrunchproject
rename to .ncrunch/ControlCatalog.Web.v3.ncrunchproject
diff --git a/.ncrunch/ControlCatalog.v3.ncrunchproject b/.ncrunch/ControlCatalog.v3.ncrunchproject
index a4953e14f9..319cd523ce 100644
--- a/.ncrunch/ControlCatalog.v3.ncrunchproject
+++ b/.ncrunch/ControlCatalog.v3.ncrunchproject
@@ -1,6 +1,5 @@
True
- True
\ No newline at end of file
diff --git a/.ncrunch/Avalonia.Skia.Desktop.NetStandard.v3.ncrunchproject b/.ncrunch/ControlSamples.v3.ncrunchproject
similarity index 100%
rename from .ncrunch/Avalonia.Skia.Desktop.NetStandard.v3.ncrunchproject
rename to .ncrunch/ControlSamples.v3.ncrunchproject
diff --git a/.ncrunch/Direct3DInteropSample.v3.ncrunchproject b/.ncrunch/Direct3DInteropSample.v3.ncrunchproject
index 21fcdee3a6..319cd523ce 100644
--- a/.ncrunch/Direct3DInteropSample.v3.ncrunchproject
+++ b/.ncrunch/Direct3DInteropSample.v3.ncrunchproject
@@ -1,9 +1,5 @@
-
- MissingOrIgnoredProjectReference
-
True
- True
\ No newline at end of file
diff --git a/.ncrunch/GtkInteropDemo.v3.ncrunchproject b/.ncrunch/GtkInteropDemo.v3.ncrunchproject
deleted file mode 100644
index 319cd523ce..0000000000
--- a/.ncrunch/GtkInteropDemo.v3.ncrunchproject
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
- True
-
-
\ No newline at end of file
diff --git a/.ncrunch/Avalonia.iOSTestApplication.v3.ncrunchproject b/.ncrunch/MiniMvvm.v3.ncrunchproject
similarity index 100%
rename from .ncrunch/Avalonia.iOSTestApplication.v3.ncrunchproject
rename to .ncrunch/MiniMvvm.v3.ncrunchproject
diff --git a/.ncrunch/PlatformSanityChecks.v3.ncrunchproject b/.ncrunch/PlatformSanityChecks.v3.ncrunchproject
index e9d39b0c74..319cd523ce 100644
--- a/.ncrunch/PlatformSanityChecks.v3.ncrunchproject
+++ b/.ncrunch/PlatformSanityChecks.v3.ncrunchproject
@@ -1,7 +1,5 @@
-
- MissingOrIgnoredProjectReference
-
+ True
\ No newline at end of file
diff --git a/.ncrunch/PlatformSupport.v3.ncrunchproject b/.ncrunch/PlatformSupport.v3.ncrunchproject
deleted file mode 100644
index 95a483b433..0000000000
--- a/.ncrunch/PlatformSupport.v3.ncrunchproject
+++ /dev/null
@@ -1,3 +0,0 @@
-
-
-
\ No newline at end of file
diff --git a/.ncrunch/RenderDemo.net461.v3.ncrunchproject b/.ncrunch/RenderDemo.net461.v3.ncrunchproject
deleted file mode 100644
index 319cd523ce..0000000000
--- a/.ncrunch/RenderDemo.net461.v3.ncrunchproject
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
- True
-
-
\ No newline at end of file
diff --git a/.ncrunch/RenderDemo.netcoreapp2.0.v3.ncrunchproject b/.ncrunch/RenderDemo.netcoreapp2.0.v3.ncrunchproject
deleted file mode 100644
index 319cd523ce..0000000000
--- a/.ncrunch/RenderDemo.netcoreapp2.0.v3.ncrunchproject
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
- True
-
-
\ No newline at end of file
diff --git a/.ncrunch/RenderHelpers.v3.ncrunchproject b/.ncrunch/RenderHelpers.v3.ncrunchproject
deleted file mode 100644
index 95a483b433..0000000000
--- a/.ncrunch/RenderHelpers.v3.ncrunchproject
+++ /dev/null
@@ -1,3 +0,0 @@
-
-
-
\ No newline at end of file
diff --git a/.ncrunch/VirtualizationDemo.net461.v3.ncrunchproject b/.ncrunch/VirtualizationDemo.net461.v3.ncrunchproject
deleted file mode 100644
index 319cd523ce..0000000000
--- a/.ncrunch/VirtualizationDemo.net461.v3.ncrunchproject
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
- True
-
-
\ No newline at end of file
diff --git a/.ncrunch/VirtualizationDemo.netcoreapp2.0.v3.ncrunchproject b/.ncrunch/VirtualizationDemo.netcoreapp2.0.v3.ncrunchproject
deleted file mode 100644
index 319cd523ce..0000000000
--- a/.ncrunch/VirtualizationDemo.netcoreapp2.0.v3.ncrunchproject
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
- True
-
-
\ No newline at end of file
diff --git a/Avalonia.sln b/Avalonia.sln
index a5707d086f..3c2fc7437b 100644
--- a/Avalonia.sln
+++ b/Avalonia.sln
@@ -60,7 +60,6 @@ EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Shared", "Shared", "{A689DEF5-D50F-4975-8B72-124C9EB54066}"
ProjectSection(SolutionItems) = preProject
.editorconfig = .editorconfig
- src\Shared\SharedAssemblyInfo.cs = src\Shared\SharedAssemblyInfo.cs
EndProjectSection
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Avalonia.ReactiveUI", "src\Avalonia.ReactiveUI\Avalonia.ReactiveUI.csproj", "{6417B24E-49C2-4985-8DB2-3AB9D898EC91}"
@@ -234,7 +233,9 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Avalonia.Web.Blazor", "src\
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ControlCatalog.Web", "samples\ControlCatalog.Web\ControlCatalog.Web.csproj", "{C08E9894-AA92-426E-BF56-033E262CAD3E}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WindowsInteropTest", "samples\interop\WindowsInteropTest\WindowsInteropTest.csproj", "{26A98DA1-D89D-4A95-8152-349F404DA2E2}"
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WindowsInteropTest", "samples\interop\WindowsInteropTest\WindowsInteropTest.csproj", "{26A98DA1-D89D-4A95-8152-349F404DA2E2}"
+EndProject
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ControlSamples", "samples\SampleControls\ControlSamples.csproj", "{A0D0A6A4-5C72-4ADA-9B27-621C7D94F270}"
EndProject
Global
GlobalSection(SharedMSBuildProjectFiles) = preSolution
@@ -2170,6 +2171,30 @@ Global
{26A98DA1-D89D-4A95-8152-349F404DA2E2}.Release|iPhone.Build.0 = Release|Any CPU
{26A98DA1-D89D-4A95-8152-349F404DA2E2}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU
{26A98DA1-D89D-4A95-8152-349F404DA2E2}.Release|iPhoneSimulator.Build.0 = Release|Any CPU
+ {A0D0A6A4-5C72-4ADA-9B27-621C7D94F270}.Ad-Hoc|Any CPU.ActiveCfg = Debug|Any CPU
+ {A0D0A6A4-5C72-4ADA-9B27-621C7D94F270}.Ad-Hoc|Any CPU.Build.0 = Debug|Any CPU
+ {A0D0A6A4-5C72-4ADA-9B27-621C7D94F270}.Ad-Hoc|iPhone.ActiveCfg = Debug|Any CPU
+ {A0D0A6A4-5C72-4ADA-9B27-621C7D94F270}.Ad-Hoc|iPhone.Build.0 = Debug|Any CPU
+ {A0D0A6A4-5C72-4ADA-9B27-621C7D94F270}.Ad-Hoc|iPhoneSimulator.ActiveCfg = Debug|Any CPU
+ {A0D0A6A4-5C72-4ADA-9B27-621C7D94F270}.Ad-Hoc|iPhoneSimulator.Build.0 = Debug|Any CPU
+ {A0D0A6A4-5C72-4ADA-9B27-621C7D94F270}.AppStore|Any CPU.ActiveCfg = Debug|Any CPU
+ {A0D0A6A4-5C72-4ADA-9B27-621C7D94F270}.AppStore|Any CPU.Build.0 = Debug|Any CPU
+ {A0D0A6A4-5C72-4ADA-9B27-621C7D94F270}.AppStore|iPhone.ActiveCfg = Debug|Any CPU
+ {A0D0A6A4-5C72-4ADA-9B27-621C7D94F270}.AppStore|iPhone.Build.0 = Debug|Any CPU
+ {A0D0A6A4-5C72-4ADA-9B27-621C7D94F270}.AppStore|iPhoneSimulator.ActiveCfg = Debug|Any CPU
+ {A0D0A6A4-5C72-4ADA-9B27-621C7D94F270}.AppStore|iPhoneSimulator.Build.0 = Debug|Any CPU
+ {A0D0A6A4-5C72-4ADA-9B27-621C7D94F270}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {A0D0A6A4-5C72-4ADA-9B27-621C7D94F270}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {A0D0A6A4-5C72-4ADA-9B27-621C7D94F270}.Debug|iPhone.ActiveCfg = Debug|Any CPU
+ {A0D0A6A4-5C72-4ADA-9B27-621C7D94F270}.Debug|iPhone.Build.0 = Debug|Any CPU
+ {A0D0A6A4-5C72-4ADA-9B27-621C7D94F270}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU
+ {A0D0A6A4-5C72-4ADA-9B27-621C7D94F270}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU
+ {A0D0A6A4-5C72-4ADA-9B27-621C7D94F270}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {A0D0A6A4-5C72-4ADA-9B27-621C7D94F270}.Release|Any CPU.Build.0 = Release|Any CPU
+ {A0D0A6A4-5C72-4ADA-9B27-621C7D94F270}.Release|iPhone.ActiveCfg = Release|Any CPU
+ {A0D0A6A4-5C72-4ADA-9B27-621C7D94F270}.Release|iPhone.Build.0 = Release|Any CPU
+ {A0D0A6A4-5C72-4ADA-9B27-621C7D94F270}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU
+ {A0D0A6A4-5C72-4ADA-9B27-621C7D94F270}.Release|iPhoneSimulator.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
@@ -2233,6 +2258,7 @@ Global
{25831348-EB2A-483E-9576-E8F6528674A5} = {86A3F706-DC3C-43C6-BE1B-B98F5BAAA268}
{C08E9894-AA92-426E-BF56-033E262CAD3E} = {9B9E3891-2366-4253-A952-D08BCEB71098}
{26A98DA1-D89D-4A95-8152-349F404DA2E2} = {A0CC0258-D18C-4AB3-854F-7101680FC3F9}
+ {A0D0A6A4-5C72-4ADA-9B27-621C7D94F270} = {9B9E3891-2366-4253-A952-D08BCEB71098}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {87366D66-1391-4D90-8999-95A620AD786A}
diff --git a/build/ApiDiff.props b/build/ApiDiff.props
index a7454b4a4f..b0b1942f60 100644
--- a/build/ApiDiff.props
+++ b/build/ApiDiff.props
@@ -3,6 +3,7 @@
0.10.0
$(PackageId)
Avalonia
+ false
diff --git a/build/MicroCom.targets b/build/MicroCom.targets
index 1ed388f689..029d7f95f5 100644
--- a/build/MicroCom.targets
+++ b/build/MicroCom.targets
@@ -6,6 +6,7 @@
false
all
true
+ TargetFramework=net6.0
diff --git a/build/NullableEnable.props b/build/NullableEnable.props
new file mode 100644
index 0000000000..cf5f9069d4
--- /dev/null
+++ b/build/NullableEnable.props
@@ -0,0 +1,11 @@
+
+
+
+ enable
+ $(WarningsAsErrors);nullable
+ $(NoWarn);nullable
+
+
diff --git a/global.json b/global.json
index e3e652761c..b160e4561d 100644
--- a/global.json
+++ b/global.json
@@ -4,7 +4,7 @@
},
"msbuild-sdks": {
"Microsoft.Build.Traversal": "1.0.43",
- "MSBuild.Sdk.Extras": "2.0.54",
+ "MSBuild.Sdk.Extras": "3.0.22",
"AggregatePackage.NuGet.Sdk" : "0.1.12"
}
}
diff --git a/native/Avalonia.Native/src/OSX/app.mm b/native/Avalonia.Native/src/OSX/app.mm
index e1972b22f4..79175d9ff1 100644
--- a/native/Avalonia.Native/src/OSX/app.mm
+++ b/native/Avalonia.Native/src/OSX/app.mm
@@ -97,3 +97,30 @@ extern void InitializeAvnApp(IAvnApplicationEvents* events)
id delegate = [[AvnAppDelegate alloc] initWithEvents:events];
[app setDelegate:delegate];
}
+
+HRESULT AvnApplicationCommands::HideApp()
+{
+ START_COM_CALL;
+ [[NSApplication sharedApplication] hide:[NSApp delegate]];
+ return S_OK;
+}
+
+HRESULT AvnApplicationCommands::ShowAll()
+{
+ START_COM_CALL;
+ [[NSApplication sharedApplication] unhideAllApplications:[NSApp delegate]];
+ return S_OK;
+}
+
+HRESULT AvnApplicationCommands::HideOthers()
+{
+ START_COM_CALL;
+ [[NSApplication sharedApplication] hideOtherApplications:[NSApp delegate]];
+ return S_OK;
+}
+
+
+extern IAvnApplicationCommands* CreateApplicationCommands()
+{
+ return new AvnApplicationCommands();
+}
diff --git a/native/Avalonia.Native/src/OSX/common.h b/native/Avalonia.Native/src/OSX/common.h
index 8896fbe88b..126c9aa87b 100644
--- a/native/Avalonia.Native/src/OSX/common.h
+++ b/native/Avalonia.Native/src/OSX/common.h
@@ -25,12 +25,12 @@ extern IAvnMenu* CreateAppMenu(IAvnMenuEvents* events);
extern IAvnTrayIcon* CreateTrayIcon();
extern IAvnMenuItem* CreateAppMenuItem();
extern IAvnMenuItem* CreateAppMenuItemSeparator();
+extern IAvnApplicationCommands* CreateApplicationCommands();
extern IAvnNativeControlHost* CreateNativeControlHost(NSView* parent);
extern void SetAppMenu (NSString* appName, IAvnMenu* appMenu);
+extern void SetServicesMenu (IAvnMenu* menu);
extern IAvnMenu* GetAppMenu ();
extern NSMenuItem* GetAppMenuItem ();
-extern void SetAutoGenerateDefaultAppMenuItems (bool enabled);
-extern bool GetAutoGenerateDefaultAppMenuItems ();
extern void InitializeAvnApp(IAvnApplicationEvents* events);
extern NSApplicationActivationPolicy AvnDesiredActivationPolicy;
@@ -67,4 +67,15 @@ public:
~AvnInsidePotentialDeadlock();
};
+
+class AvnApplicationCommands : public ComSingleObject
+{
+public:
+ FORWARD_IUNKNOWN()
+
+ virtual HRESULT HideApp() override;
+ virtual HRESULT ShowAll() override;
+ virtual HRESULT HideOthers() override;
+};
+
#endif
diff --git a/native/Avalonia.Native/src/OSX/main.mm b/native/Avalonia.Native/src/OSX/main.mm
index eeaaecfdbd..69f2995847 100644
--- a/native/Avalonia.Native/src/OSX/main.mm
+++ b/native/Avalonia.Native/src/OSX/main.mm
@@ -2,7 +2,6 @@
#define COM_GUIDS_MATERIALIZE
#include "common.h"
-static bool s_generateDefaultAppMenuItems = true;
static NSString* s_appTitle = @"Avalonia";
// Copyright (c) 2011 The Chromium Authors. All rights reserved.
@@ -134,16 +133,6 @@ public:
}
}
- virtual HRESULT SetDisableDefaultApplicationMenuItems (bool enabled) override
- {
- START_COM_CALL;
-
- @autoreleasepool
- {
- SetAutoGenerateDefaultAppMenuItems(!enabled);
- return S_OK;
- }
- }
};
/// See "Using POSIX Threads in a Cocoa Application" section here:
@@ -357,6 +346,29 @@ public:
return S_OK;
}
}
+
+ virtual HRESULT SetServicesMenu (IAvnMenu* servicesMenu) override
+ {
+ START_COM_CALL;
+
+ @autoreleasepool
+ {
+ ::SetServicesMenu(servicesMenu);
+ return S_OK;
+ }
+ }
+
+ virtual HRESULT CreateApplicationCommands (IAvnApplicationCommands** ppv) override
+ {
+ START_COM_CALL;
+
+ @autoreleasepool
+ {
+ *ppv = ::CreateApplicationCommands();
+ return S_OK;
+ }
+ }
+
};
extern "C" IAvaloniaNativeFactory* CreateAvaloniaNative()
@@ -410,13 +422,3 @@ CGFloat PrimaryDisplayHeight()
{
return NSMaxY([[[NSScreen screens] firstObject] frame]);
}
-
-void SetAutoGenerateDefaultAppMenuItems (bool enabled)
-{
- s_generateDefaultAppMenuItems = enabled;
-}
-
-bool GetAutoGenerateDefaultAppMenuItems ()
-{
- return s_generateDefaultAppMenuItems;
-}
diff --git a/native/Avalonia.Native/src/OSX/menu.mm b/native/Avalonia.Native/src/OSX/menu.mm
index 38f8c2a7cb..2dbe76bc6d 100644
--- a/native/Avalonia.Native/src/OSX/menu.mm
+++ b/native/Avalonia.Native/src/OSX/menu.mm
@@ -490,53 +490,6 @@ extern void SetAppMenu (NSString* appName, IAvnMenu* menu)
{
[s_appMenuItem setSubmenu:[NSMenu new]];
}
-
- auto appMenu = [s_appMenuItem submenu];
-
- if(GetAutoGenerateDefaultAppMenuItems())
- {
- [appMenu addItem:[NSMenuItem separatorItem]];
-
- // Services item and menu
- auto servicesItem = [[NSMenuItem alloc] init];
- servicesItem.title = @"Services";
- NSMenu *servicesMenu = [[NSMenu alloc] initWithTitle:@"Services"];
- servicesItem.submenu = servicesMenu;
- [NSApplication sharedApplication].servicesMenu = servicesMenu;
- [appMenu addItem:servicesItem];
-
- [appMenu addItem:[NSMenuItem separatorItem]];
-
- // Hide Application
- auto hideItem = [[NSMenuItem alloc] initWithTitle:[@"Hide " stringByAppendingString:appName] action:@selector(hide:) keyEquivalent:@"h"];
-
- [appMenu addItem:hideItem];
-
- // Hide Others
- auto hideAllOthersItem = [[NSMenuItem alloc] initWithTitle:@"Hide Others"
- action:@selector(hideOtherApplications:)
- keyEquivalent:@"h"];
-
- hideAllOthersItem.keyEquivalentModifierMask = NSEventModifierFlagCommand | NSEventModifierFlagOption;
- [appMenu addItem:hideAllOthersItem];
-
- // Show All
- auto showAllItem = [[NSMenuItem alloc] initWithTitle:@"Show All"
- action:@selector(unhideAllApplications:)
- keyEquivalent:@""];
-
- [appMenu addItem:showAllItem];
-
- [appMenu addItem:[NSMenuItem separatorItem]];
-
- // Quit Application
- auto quitItem = [[NSMenuItem alloc] init];
- quitItem.title = [@"Quit " stringByAppendingString:appName];
- quitItem.keyEquivalent = @"q";
- quitItem.target = [AvnWindow class];
- quitItem.action = @selector(closeAll);
- [appMenu addItem:quitItem];
- }
}
else
{
@@ -544,6 +497,12 @@ extern void SetAppMenu (NSString* appName, IAvnMenu* menu)
}
}
+extern void SetServicesMenu (IAvnMenu* menu)
+{
+ auto nativeMenu = dynamic_cast(menu);
+ [NSApplication sharedApplication].servicesMenu = nativeMenu->GetNative();
+}
+
extern IAvnMenu* GetAppMenu ()
{
return s_appMenu;
diff --git a/native/Avalonia.Native/src/OSX/window.mm b/native/Avalonia.Native/src/OSX/window.mm
index 9208848b4c..16f49b8e26 100644
--- a/native/Avalonia.Native/src/OSX/window.mm
+++ b/native/Avalonia.Native/src/OSX/window.mm
@@ -175,7 +175,7 @@ public:
{
if(Window != nullptr)
{
- [Window makeKeyWindow];
+ [Window makeKeyAndOrderFront:nil];
[NSApp activateIgnoringOtherApps:YES];
}
}
diff --git a/packages/Avalonia/Avalonia.csproj b/packages/Avalonia/Avalonia.csproj
index 44e2290a0d..af9ed71c5f 100644
--- a/packages/Avalonia/Avalonia.csproj
+++ b/packages/Avalonia/Avalonia.csproj
@@ -1,6 +1,6 @@
- netstandard2.0;net461;netcoreapp2.0
+ netstandard2.0;net461;netcoreapp2.0;net6.0
Avalonia
diff --git a/samples/ControlCatalog.Android/Resources/Resource.Designer.cs b/samples/ControlCatalog.Android/Resources/Resource.Designer.cs
index b1ca548e2c..dccc3f7159 100644
--- a/samples/ControlCatalog.Android/Resources/Resource.Designer.cs
+++ b/samples/ControlCatalog.Android/Resources/Resource.Designer.cs
@@ -14,7 +14,7 @@ namespace ControlCatalog.Android
{
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Xamarin.Android.Build.Tasks", "1.0.0.0")]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Xamarin.Android.Build.Tasks", "12.1.99.62")]
public partial class Resource
{
diff --git a/samples/ControlCatalog.Web/ControlCatalog.Web.csproj b/samples/ControlCatalog.Web/ControlCatalog.Web.csproj
index 96936f3000..d463dfa84a 100644
--- a/samples/ControlCatalog.Web/ControlCatalog.Web.csproj
+++ b/samples/ControlCatalog.Web/ControlCatalog.Web.csproj
@@ -29,6 +29,7 @@
+
diff --git a/samples/ControlCatalog/App.xaml b/samples/ControlCatalog/App.xaml
index 6e57686e00..227b31bf20 100644
--- a/samples/ControlCatalog/App.xaml
+++ b/samples/ControlCatalog/App.xaml
@@ -5,6 +5,9 @@
x:CompileBindings="True"
x:Class="ControlCatalog.App">
+
-
+
diff --git a/samples/ControlCatalog/ControlCatalog.csproj b/samples/ControlCatalog/ControlCatalog.csproj
index 53ad213d92..7864459e77 100644
--- a/samples/ControlCatalog/ControlCatalog.csproj
+++ b/samples/ControlCatalog/ControlCatalog.csproj
@@ -26,6 +26,7 @@
+
diff --git a/samples/ControlCatalog/MainView.xaml b/samples/ControlCatalog/MainView.xaml
index f61b59e6cd..3d869bb723 100644
--- a/samples/ControlCatalog/MainView.xaml
+++ b/samples/ControlCatalog/MainView.xaml
@@ -1,108 +1,195 @@
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
-
-
+
+
-
-
+
+
+
+
+
-
+
-
-
-
+
+
+
+
+
+
+
+
-
+ ScrollViewer.HorizontalScrollBarVisibility="Disabled"
+ ScrollViewer.VerticalScrollBarVisibility="Disabled">
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- No Decorations
- Border Only
- Full Decorations
-
-
- Fluent - Light
- Fluent - Dark
- Simple - Light
- Simple - Dark
-
-
- None
- Transparent
- Blur
- AcrylicBlur
- Mica
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ None
+ BorderOnly
+ Full
+
+
+
+
+ FluentLight
+ FluentDark
+ DefaultLight
+ DefaultDark
+
+
+
+
+ None
+ Transparent
+ Blur
+ AcrylicBlur
+ Mica
+
+
+
+
+
+
+
diff --git a/samples/ControlCatalog/MainView.xaml.cs b/samples/ControlCatalog/MainView.xaml.cs
index c84f2f06b6..abedda3c85 100644
--- a/samples/ControlCatalog/MainView.xaml.cs
+++ b/samples/ControlCatalog/MainView.xaml.cs
@@ -6,8 +6,11 @@ using Avalonia.Markup.Xaml;
using Avalonia.Markup.Xaml.MarkupExtensions;
using Avalonia.Markup.Xaml.Styling;
using Avalonia.Markup.Xaml.XamlIl;
+using Avalonia.Media;
+using Avalonia.Media.Immutable;
using Avalonia.Platform;
using ControlCatalog.Pages;
+using ControlCatalog.Models;
namespace ControlCatalog
{
@@ -16,9 +19,12 @@ namespace ControlCatalog
public MainView()
{
AvaloniaXamlLoader.Load(this);
+
+ var sideBar = this.FindControl("Sidebar");
+
if (AvaloniaLocator.Current.GetService().GetRuntimeInfo().IsDesktop)
{
- IList tabItems = ((IList)this.FindControl("Sidebar").Items);
+ IList tabItems = ((IList)sideBar.Items);
tabItems.Add(new TabItem()
{
Header = "Dialogs",
@@ -35,28 +41,42 @@ namespace ControlCatalog
var themes = this.Find("Themes");
themes.SelectionChanged += (sender, e) =>
{
- switch (themes.SelectedIndex)
+ if (themes.SelectedItem is CatalogTheme theme)
{
- case 0:
- Application.Current.Styles[0] = App.FluentLight;
- break;
- case 1:
- Application.Current.Styles[0] = App.FluentDark;
- break;
- case 2:
- Application.Current.Styles[0] = App.DefaultLight;
- break;
- case 3:
- Application.Current.Styles[0] = App.DefaultDark;
- break;
+ Application.Current.Styles[0] = theme switch
+ {
+ CatalogTheme.FluentLight => App.FluentLight,
+ CatalogTheme.FluentDark => App.FluentDark,
+ CatalogTheme.DefaultLight => App.DefaultLight,
+ CatalogTheme.DefaultDark => App.DefaultDark,
+ _ => Application.Current.Styles[0]
+ };
}
- };
+ };
var decorations = this.Find("Decorations");
decorations.SelectionChanged += (sender, e) =>
{
- if (VisualRoot is Window window)
- window.SystemDecorations = (SystemDecorations)decorations.SelectedIndex;
+ if (VisualRoot is Window window
+ && decorations.SelectedItem is SystemDecorations systemDecorations)
+ {
+ window.SystemDecorations = systemDecorations;
+ }
+ };
+
+ var transparencyLevels = this.Find("TransparencyLevels");
+ IDisposable backgroundSetter = null, paneBackgroundSetter = null;
+ transparencyLevels.SelectionChanged += (sender, e) =>
+ {
+ backgroundSetter?.Dispose();
+ paneBackgroundSetter?.Dispose();
+ if (transparencyLevels.SelectedItem is WindowTransparencyLevel selected
+ && selected != WindowTransparencyLevel.None)
+ {
+ var semiTransparentBrush = new ImmutableSolidColorBrush(Colors.Gray, 0.5);
+ backgroundSetter = sideBar.SetValue(BackgroundProperty, semiTransparentBrush, Avalonia.Data.BindingPriority.Style);
+ paneBackgroundSetter = sideBar.SetValue(SplitView.PaneBackgroundProperty, semiTransparentBrush, Avalonia.Data.BindingPriority.Style);
+ }
};
}
diff --git a/samples/ControlCatalog/MainWindow.xaml b/samples/ControlCatalog/MainWindow.xaml
index 375345f64e..1e4bf2de38 100644
--- a/samples/ControlCatalog/MainWindow.xaml
+++ b/samples/ControlCatalog/MainWindow.xaml
@@ -61,17 +61,7 @@
-
-
-
-
+
diff --git a/samples/ControlCatalog/MainWindow.xaml.cs b/samples/ControlCatalog/MainWindow.xaml.cs
index a9900471c5..dd62698cc7 100644
--- a/samples/ControlCatalog/MainWindow.xaml.cs
+++ b/samples/ControlCatalog/MainWindow.xaml.cs
@@ -33,9 +33,6 @@ namespace ControlCatalog
DataContext = new MainWindowViewModel(_notificationArea);
_recentMenu = ((NativeMenu.GetMenu(this).Items[0] as NativeMenuItem).Menu.Items[2] as NativeMenuItem).Menu;
- var mainMenu = this.FindControl
diff --git a/samples/ControlCatalog/Pages/DialogsPage.xaml.cs b/samples/ControlCatalog/Pages/DialogsPage.xaml.cs
index 49921fb7f6..e96b7aff08 100644
--- a/samples/ControlCatalog/Pages/DialogsPage.xaml.cs
+++ b/samples/ControlCatalog/Pages/DialogsPage.xaml.cs
@@ -3,6 +3,7 @@ using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Avalonia.Controls;
+using Avalonia.Controls.Presenters;
using Avalonia.Dialogs;
using Avalonia.Layout;
using Avalonia.Markup.Xaml;
@@ -16,6 +17,11 @@ namespace ControlCatalog.Pages
{
this.InitializeComponent();
+ var results = this.FindControl("PickerLastResults");
+ var resultsVisible = this.FindControl("PickerLastResultsVisible");
+
+ string lastSelectedDirectory = null;
+
List GetFilters()
{
if (this.FindControl("UseFilters").IsChecked != true)
@@ -34,44 +40,67 @@ namespace ControlCatalog.Pages
};
}
- this.FindControl