From e3a7f22a660908fa35e4d699cde59cf4334e003a Mon Sep 17 00:00:00 2001 From: Dan Siegel Date: Thu, 28 Sep 2023 06:04:47 -0600 Subject: [PATCH 1/4] chore: Uno 5 update --- Directory.Packages.props | 51 ++++++++++--------- .../HelloWorld.Mobile.csproj | 2 +- .../HelloWorld.Skia.Gtk.csproj | 2 +- .../HelloWorld.Skia.Linux.FrameBuffer.csproj | 2 +- .../HelloWorld.Skia.WPF.csproj | 2 +- .../HelloWorld.Wasm/HelloWorld.Wasm.csproj | 2 +- .../HelloWorld.Windows.csproj | 6 +-- e2e/Uno/HelloWorld/HelloWorld.csproj | 6 +-- e2e/Uno/ModuleA/ModuleA.csproj | 6 +-- .../Prism.DryIoc.Uno.WinUI.csproj | 2 +- src/Uno/Prism.Uno/Prism.Uno.WinUI.csproj | 2 +- 11 files changed, 42 insertions(+), 41 deletions(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index be9aba98a4..f458a08900 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -15,15 +15,16 @@ - - - - - - - - - + + + + + + + + + + @@ -31,24 +32,24 @@ - - - - - - - - - - - - - - + + + + + + + + + + + + + + - + - + diff --git a/e2e/Uno/HelloWorld.Mobile/HelloWorld.Mobile.csproj b/e2e/Uno/HelloWorld.Mobile/HelloWorld.Mobile.csproj index cbe4836118..1b7a14f2fc 100644 --- a/e2e/Uno/HelloWorld.Mobile/HelloWorld.Mobile.csproj +++ b/e2e/Uno/HelloWorld.Mobile/HelloWorld.Mobile.csproj @@ -21,7 +21,7 @@ - + diff --git a/e2e/Uno/HelloWorld.Skia.Gtk/HelloWorld.Skia.Gtk.csproj b/e2e/Uno/HelloWorld.Skia.Gtk/HelloWorld.Skia.Gtk.csproj index cf28b6c112..5c4d30078e 100644 --- a/e2e/Uno/HelloWorld.Skia.Gtk/HelloWorld.Skia.Gtk.csproj +++ b/e2e/Uno/HelloWorld.Skia.Gtk/HelloWorld.Skia.Gtk.csproj @@ -12,7 +12,7 @@ - + diff --git a/e2e/Uno/HelloWorld.Skia.Linux.FrameBuffer/HelloWorld.Skia.Linux.FrameBuffer.csproj b/e2e/Uno/HelloWorld.Skia.Linux.FrameBuffer/HelloWorld.Skia.Linux.FrameBuffer.csproj index a2669a7004..d8efd94043 100644 --- a/e2e/Uno/HelloWorld.Skia.Linux.FrameBuffer/HelloWorld.Skia.Linux.FrameBuffer.csproj +++ b/e2e/Uno/HelloWorld.Skia.Linux.FrameBuffer/HelloWorld.Skia.Linux.FrameBuffer.csproj @@ -12,7 +12,7 @@ - + diff --git a/e2e/Uno/HelloWorld.Skia.WPF/HelloWorld.Skia.WPF.csproj b/e2e/Uno/HelloWorld.Skia.WPF/HelloWorld.Skia.WPF.csproj index 6d677cab14..32cff4f35d 100644 --- a/e2e/Uno/HelloWorld.Skia.WPF/HelloWorld.Skia.WPF.csproj +++ b/e2e/Uno/HelloWorld.Skia.WPF/HelloWorld.Skia.WPF.csproj @@ -21,7 +21,7 @@ - + diff --git a/e2e/Uno/HelloWorld.Wasm/HelloWorld.Wasm.csproj b/e2e/Uno/HelloWorld.Wasm/HelloWorld.Wasm.csproj index a37b18b10e..037a9a1e85 100644 --- a/e2e/Uno/HelloWorld.Wasm/HelloWorld.Wasm.csproj +++ b/e2e/Uno/HelloWorld.Wasm/HelloWorld.Wasm.csproj @@ -47,7 +47,7 @@ - + diff --git a/e2e/Uno/HelloWorld.Windows/HelloWorld.Windows.csproj b/e2e/Uno/HelloWorld.Windows/HelloWorld.Windows.csproj index 493980fea5..7f0891707a 100644 --- a/e2e/Uno/HelloWorld.Windows/HelloWorld.Windows.csproj +++ b/e2e/Uno/HelloWorld.Windows/HelloWorld.Windows.csproj @@ -1,7 +1,7 @@ WinExe - net7.0-windows10.0.19041.0 + net7.0-windows10.0.22621.0 10.0.18362.0 UnoWinUIQuickStart x86;x64;arm64 @@ -54,7 +54,7 @@ the "Microsoft.Windows.SDK.BuildTools" package above, and the "revision" version number must be the highest found in https://www.nuget.org/packages/Microsoft.Windows.SDK.NET.Ref. --> - - + + diff --git a/e2e/Uno/HelloWorld/HelloWorld.csproj b/e2e/Uno/HelloWorld/HelloWorld.csproj index 680391199b..0fdb105213 100644 --- a/e2e/Uno/HelloWorld/HelloWorld.csproj +++ b/e2e/Uno/HelloWorld/HelloWorld.csproj @@ -2,7 +2,7 @@ net7.0;net7.0-ios;net7.0-android;net7.0-maccatalyst - $(TargetFrameworks);net7.0-windows10.0.19041 + $(TargetFrameworks);net7.0-windows10.0.22621 true @@ -38,8 +38,8 @@ the "Microsoft.Windows.SDK.BuildTools" package above, and the "revision" version number must be the highest found in https://www.nuget.org/packages/Microsoft.Windows.SDK.NET.Ref. --> - - + + diff --git a/e2e/Uno/ModuleA/ModuleA.csproj b/e2e/Uno/ModuleA/ModuleA.csproj index 196362b971..e2ff10b189 100644 --- a/e2e/Uno/ModuleA/ModuleA.csproj +++ b/e2e/Uno/ModuleA/ModuleA.csproj @@ -2,7 +2,7 @@ net7.0;net7.0-ios;net7.0-android;net7.0-maccatalyst - $(TargetFrameworks);net7.0-windows10.0.19041 + $(TargetFrameworks);net7.0-windows10.0.22621 true @@ -32,8 +32,8 @@ the "Microsoft.Windows.SDK.BuildTools" package above, and the "revision" version number must be the highest found in https://www.nuget.org/packages/Microsoft.Windows.SDK.NET.Ref. --> - - + + diff --git a/src/Uno/Prism.DryIoc.Uno/Prism.DryIoc.Uno.WinUI.csproj b/src/Uno/Prism.DryIoc.Uno/Prism.DryIoc.Uno.WinUI.csproj index 6138be3a48..7fc66e4285 100644 --- a/src/Uno/Prism.DryIoc.Uno/Prism.DryIoc.Uno.WinUI.csproj +++ b/src/Uno/Prism.DryIoc.Uno/Prism.DryIoc.Uno.WinUI.csproj @@ -2,7 +2,7 @@ net7.0;net7.0-android;net7.0-ios;net7.0-maccatalyst;net7.0-macos - $(TargetFrameworks);net6.0-windows10.0.18362;net7.0-windows10.0.18362 + $(TargetFrameworks);net7.0-windows10.0.19041 $(NoWarn);1591 Prism.DryIoc.Uno Prism.DryIoc.Uno.WinUI diff --git a/src/Uno/Prism.Uno/Prism.Uno.WinUI.csproj b/src/Uno/Prism.Uno/Prism.Uno.WinUI.csproj index 05a2d5153e..d86277fbe8 100644 --- a/src/Uno/Prism.Uno/Prism.Uno.WinUI.csproj +++ b/src/Uno/Prism.Uno/Prism.Uno.WinUI.csproj @@ -2,7 +2,7 @@ net7.0;net7.0-android;net7.0-ios;net7.0-maccatalyst;net7.0-macos - $(TargetFrameworks);net6.0-windows10.0.18362;net7.0-windows10.0.18362 + $(TargetFrameworks);net7.0-windows10.0.19041 true Prism.Uno Prism From 17b6b701cb569c6315683ac4df8db9fd2d0f28f5 Mon Sep 17 00:00:00 2001 From: Dan Siegel Date: Sat, 30 Sep 2023 06:46:00 -0600 Subject: [PATCH 2/4] chore: adding dialog example to Uno sample --- e2e/Uno/ModuleA/Dialogs/AlertDialog.xaml | 20 +++++++++ e2e/Uno/ModuleA/Dialogs/AlertDialog.xaml.cs | 27 ++++++++++++ .../ModuleA/Dialogs/AlertDialogViewModel.cs | 40 +++++++++++++++++ e2e/Uno/ModuleA/ViewModels/ViewAViewModel.cs | 16 +++++++ e2e/Uno/ModuleA/ViewModels/ViewBViewModel.cs | 9 ++++ e2e/Uno/ModuleA/ViewModels/ViewModelBase.cs | 44 +++++++++++++++++++ 6 files changed, 156 insertions(+) create mode 100644 e2e/Uno/ModuleA/Dialogs/AlertDialog.xaml create mode 100644 e2e/Uno/ModuleA/Dialogs/AlertDialog.xaml.cs create mode 100644 e2e/Uno/ModuleA/Dialogs/AlertDialogViewModel.cs create mode 100644 e2e/Uno/ModuleA/ViewModels/ViewAViewModel.cs create mode 100644 e2e/Uno/ModuleA/ViewModels/ViewBViewModel.cs create mode 100644 e2e/Uno/ModuleA/ViewModels/ViewModelBase.cs diff --git a/e2e/Uno/ModuleA/Dialogs/AlertDialog.xaml b/e2e/Uno/ModuleA/Dialogs/AlertDialog.xaml new file mode 100644 index 0000000000..9ee9c40d0c --- /dev/null +++ b/e2e/Uno/ModuleA/Dialogs/AlertDialog.xaml @@ -0,0 +1,20 @@ + + + + + +