diff --git a/Directory.Build.props b/Directory.Build.props index 0db7296a9c8..cd7e2a3b5de 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -6,7 +6,7 @@ net$(DotNetTargetFrameworkVersion) $(DotNetTargetFramework)-android - net8.0 + net9.0 netstandard2.0 Debug $(MSBuildThisFileDirectory)bin\$(Configuration)\ diff --git a/Makefile b/Makefile index 103e43b7468..85a0a28b92a 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,7 @@ RUNTIME := $(shell which mono64 2> /dev/null && echo mono64 || echo mono) SOLUTION = Xamarin.Android.sln TEST_TARGETS = build-tools/scripts/RunTests.targets API_LEVEL ?= -PREPARE_NET_FX = net8.0 +PREPARE_NET_FX = net9.0 PREPARE_ARGS = PREPARE_PROJECT = build-tools/xaprepare/xaprepare/xaprepare.csproj PREPARE_MSBUILD_FLAGS = $(PREPARE_MSBUILD_ARGS) $(MSBUILD_ARGS) diff --git a/build-tools/automation/yaml-templates/variables.yaml b/build-tools/automation/yaml-templates/variables.yaml index 4dce9868bb4..c80f03fdc94 100644 --- a/build-tools/automation/yaml-templates/variables.yaml +++ b/build-tools/automation/yaml-templates/variables.yaml @@ -24,7 +24,7 @@ variables: - name: NUnit.NumberOfTestWorkers value: 4 - name: DotNetSdkVersion - value: 8.0 + value: 9.0 - name: DotNetSdkQuality value: GA - name: GitHub.Token @@ -50,7 +50,7 @@ variables: - name: DotNetTargetFramework value: net9.0 - name: DotNetStableTargetFramework - value: net8.0 + value: net9.0 # Workaround: https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1585820 - name: _WriteTelemetryProperties value: false