From ad8ab1e426b3830484875b11571492a6de96af47 Mon Sep 17 00:00:00 2001 From: Morten Nielsen Date: Fri, 6 Oct 2023 12:10:54 -0700 Subject: [PATCH] Allow building samples for .NET 8 --- src/Directory.Build.props | 21 ++++++++++++++++++- .../Toolkit.SampleApp.Maui.csproj | 2 +- .../Toolkit.SampleApp.WPF.csproj | 3 ++- .../Toolkit.SampleApp.WinUI.csproj | 3 ++- 4 files changed, 25 insertions(+), 4 deletions(-) diff --git a/src/Directory.Build.props b/src/Directory.Build.props index 1ffa680f1..77da0797f 100644 --- a/src/Directory.Build.props +++ b/src/Directory.Build.props @@ -30,8 +30,10 @@ false true + + 17763 19041 10.0.$(WindowsSDKTargetBuild).0 @@ -43,7 +45,24 @@ $(NETMauiTarget)-windows10.0.$(WindowsSDKTargetBuild).0 $(NETMauiTarget)-android33.0 $(NETMauiTarget)-maccatalyst16.1 - $(NETMauiTarget)-ios16.1 + $(NETMauiTarget)-ios16.1 + + + + 19041 + 19041 + 10.0.$(WindowsSDKTargetBuild).0 + 10.0.$(ArcGISRuntime_MinimumSupportedWindowsBuild).0 + net472 + uap10.0.$(WindowsSDKTargetBuild) + net8.0-windows10.0.$(WindowsSDKTargetBuild).0 + net8.0 + $(NETMauiTarget)-windows10.0.$(WindowsSDKTargetBuild).0 + $(NETMauiTarget)-android34.0 + $(NETMauiTarget)-maccatalyst16.1 + $(NETMauiTarget)-ios16.1 + + true diff --git a/src/Samples/Toolkit.SampleApp.Maui/Toolkit.SampleApp.Maui.csproj b/src/Samples/Toolkit.SampleApp.Maui/Toolkit.SampleApp.Maui.csproj index 127f18b7a..d09653fc2 100644 --- a/src/Samples/Toolkit.SampleApp.Maui/Toolkit.SampleApp.Maui.csproj +++ b/src/Samples/Toolkit.SampleApp.Maui/Toolkit.SampleApp.Maui.csproj @@ -1,7 +1,7 @@  - net7.0-android;net7.0-ios;net7.0-maccatalyst + $(NETMauiTarget)-android;$(NETMauiTarget)-ios;$(NETMauiTarget)-maccatalyst $(TargetFrameworks);$(NetMauiWindowsTargetFramework) Exe Toolkit.SampleApp.Maui diff --git a/src/Samples/Toolkit.SampleApp.WPF/Toolkit.SampleApp.WPF.csproj b/src/Samples/Toolkit.SampleApp.WPF/Toolkit.SampleApp.WPF.csproj index e77c4a627..1871cd0fd 100644 --- a/src/Samples/Toolkit.SampleApp.WPF/Toolkit.SampleApp.WPF.csproj +++ b/src/Samples/Toolkit.SampleApp.WPF/Toolkit.SampleApp.WPF.csproj @@ -13,7 +13,8 @@ AnyCPU - win10-x86;win10-x64;win10-arm64 + win10-x86;win10-x64;win10-arm64 + win-x86;win-x64;win-arm64 diff --git a/src/Samples/Toolkit.SampleApp.WinUI/Toolkit.SampleApp.WinUI.csproj b/src/Samples/Toolkit.SampleApp.WinUI/Toolkit.SampleApp.WinUI.csproj index 4836cc42f..43b4429b8 100644 --- a/src/Samples/Toolkit.SampleApp.WinUI/Toolkit.SampleApp.WinUI.csproj +++ b/src/Samples/Toolkit.SampleApp.WinUI/Toolkit.SampleApp.WinUI.csproj @@ -1,7 +1,7 @@  WinExe - net6.0-windows10.0.19041.0 + $(NetWindowsTargetFramework) 10.0.17763.0 Esri.ArcGISRuntime.Toolkit.SampleApp app.manifest @@ -11,6 +11,7 @@ true true $(DefineConstants);WINUI + true