From 1c5ece0c7b5235eb97e188a4e2689939da0469a7 Mon Sep 17 00:00:00 2001 From: Morten Nielsen Date: Thu, 21 Sep 2023 23:49:09 -0700 Subject: [PATCH 1/2] Add support for TFM override in MAUI --- src/Directory.Build.props | 9 +++++---- .../Toolkit.Maui/Esri.ArcGISRuntime.Toolkit.Maui.csproj | 2 +- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/Directory.Build.props b/src/Directory.Build.props index bc42de462..2a0dcdde2 100644 --- a/src/Directory.Build.props +++ b/src/Directory.Build.props @@ -38,10 +38,11 @@ net472 uap10.0.$(WindowsSDKTargetBuild) net6.0-windows10.0.$(WindowsSDKTargetBuild).0 - net7.0-windows10.0.$(WindowsSDKTargetBuild).0 - net7.0-android33.0 - net7.0-maccatalyst16.1 - net7.0-ios16.1 + net7.0 + $(NETMauiTarget)-windows10.0.$(WindowsSDKTargetBuild).0 + $(NETMauiTarget)-android33.0 + $(NETMauiTarget)-maccatalyst16.1 + $(NETMauiTarget)-ios16.1 true diff --git a/src/Toolkit/Toolkit.Maui/Esri.ArcGISRuntime.Toolkit.Maui.csproj b/src/Toolkit/Toolkit.Maui/Esri.ArcGISRuntime.Toolkit.Maui.csproj index 2dc5adb9f..2862e5b5c 100644 --- a/src/Toolkit/Toolkit.Maui/Esri.ArcGISRuntime.Toolkit.Maui.csproj +++ b/src/Toolkit/Toolkit.Maui/Esri.ArcGISRuntime.Toolkit.Maui.csproj @@ -1,7 +1,7 @@  - net7.0;$(NetAndroidTargetFramework);$(NetiOSTargetFramework);$(NetCatalystTargetFramework) + $(NETMauiTarget);$(NetAndroidTargetFramework);$(NetiOSTargetFramework);$(NetCatalystTargetFramework) ArcGIS Maps SDK for .NET controls and utilities for .NET MAUI apps including .NET for Android, .NET for iOS, .NET for macOS, or Windows UI 3 (WinUI 3) ArcGIS Cartography Geo Geographic Geography Geolocation Geospatial GIS Latitude Location Longitude Map Mapping Maps Places Spatial 3D WinUI Android iOS Mac Catalyst MacCatalyst Windows UI 3 toolkit $(TargetFrameworks);$(NetMauiWindowsTargetFramework) From 273fb57f3e71a4c13b3b1cd3cd6b17d80999f320 Mon Sep 17 00:00:00 2001 From: Morten Nielsen Date: Thu, 21 Sep 2023 23:50:08 -0700 Subject: [PATCH 2/2] Fix indent --- src/Directory.Build.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Directory.Build.props b/src/Directory.Build.props index 2a0dcdde2..3aaa7dbfb 100644 --- a/src/Directory.Build.props +++ b/src/Directory.Build.props @@ -38,7 +38,7 @@ net472 uap10.0.$(WindowsSDKTargetBuild) net6.0-windows10.0.$(WindowsSDKTargetBuild).0 - net7.0 + net7.0 $(NETMauiTarget)-windows10.0.$(WindowsSDKTargetBuild).0 $(NETMauiTarget)-android33.0 $(NETMauiTarget)-maccatalyst16.1