From 875137da0870c0f64b0c169880b06e8f0d24eb6f Mon Sep 17 00:00:00 2001 From: Glenn <5834289+glennawatson@users.noreply.github.com> Date: Sat, 4 Dec 2021 22:02:53 +1100 Subject: [PATCH] fix: add windows net6 to uno winui (#3083) * fix: add windows net6 to uno winui * Update ReactiveUI.Uno.WinUI.csproj * Update ReactiveUI.Uno.WinUI.csproj * fix add HAS_UNO_WINUI declaration * move HAS_UNO_WINUI to project file Co-authored-by: Chris Pulman --- .../ReactiveUI.Uno.WinUI.csproj | 14 +++++++++++--- src/ReactiveUI.Uno/ActivationForViewFetcher.cs | 1 - src/ReactiveUI.Wpf/ReactiveUI.Wpf.csproj | 2 +- 3 files changed, 12 insertions(+), 5 deletions(-) diff --git a/src/ReactiveUI.Uno.WinUI/ReactiveUI.Uno.WinUI.csproj b/src/ReactiveUI.Uno.WinUI/ReactiveUI.Uno.WinUI.csproj index e8e7fd34c9..accd42d78f 100644 --- a/src/ReactiveUI.Uno.WinUI/ReactiveUI.Uno.WinUI.csproj +++ b/src/ReactiveUI.Uno.WinUI/ReactiveUI.Uno.WinUI.csproj @@ -1,6 +1,6 @@  - netstandard20;MonoAndroid11.0;Xamarin.iOS10;Xamarin.Mac20;net6.0-android;net6.0-ios;net6.0-macos + netstandard20;MonoAndroid11.0;Xamarin.iOS10;Xamarin.Mac20;net6.0-android;net6.0-ios;net6.0-macos;net6.0-windows10.0.17763.0 ReactiveUI.Uno.WinUI Contains the ReactiveUI platform specific extensions for Uno WinUI $(DefineConstants);HAS_UNO;HAS_WINUI @@ -11,6 +11,9 @@ $(DefineConstants);WASM + + $(DefineConstants);HAS_UNO_WINUI + @@ -26,10 +29,15 @@ - + - + + $(DefineConstants);HAS_UNO_WINUI + + + + diff --git a/src/ReactiveUI.Uno/ActivationForViewFetcher.cs b/src/ReactiveUI.Uno/ActivationForViewFetcher.cs index f099f331fd..75f99f28cf 100644 --- a/src/ReactiveUI.Uno/ActivationForViewFetcher.cs +++ b/src/ReactiveUI.Uno/ActivationForViewFetcher.cs @@ -5,7 +5,6 @@ using System; using System.Linq; -using System.Reactive; using System.Reactive.Linq; using System.Reflection; diff --git a/src/ReactiveUI.Wpf/ReactiveUI.Wpf.csproj b/src/ReactiveUI.Wpf/ReactiveUI.Wpf.csproj index 29dac8b466..b34f2554a1 100644 --- a/src/ReactiveUI.Wpf/ReactiveUI.Wpf.csproj +++ b/src/ReactiveUI.Wpf/ReactiveUI.Wpf.csproj @@ -16,7 +16,7 @@ - +