From 349769fd263a596e9377042d39aa688b49c9f7be Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Mon, 24 Feb 2025 16:32:07 +0300 Subject: [PATCH 1/2] Roll back to .NET 6 --- .azure-pipelines/common-templates/install-tools.yml | 2 +- .../Microsoft.Graph.Authentication.Core.csproj | 4 ++-- src/Authentication/Authentication/build-module.ps1 | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.azure-pipelines/common-templates/install-tools.yml b/.azure-pipelines/common-templates/install-tools.yml index 1a1d771bce8..64b2e3678ad 100644 --- a/.azure-pipelines/common-templates/install-tools.yml +++ b/.azure-pipelines/common-templates/install-tools.yml @@ -5,7 +5,7 @@ steps: - task: UseDotNet@2 displayName: Use .NET SDK inputs: - version: 8.x + version: 6.x - task: NuGetToolInstaller@1 displayName: Install Nuget diff --git a/src/Authentication/Authentication.Core/Microsoft.Graph.Authentication.Core.csproj b/src/Authentication/Authentication.Core/Microsoft.Graph.Authentication.Core.csproj index bcce1da6292..fded9e51139 100644 --- a/src/Authentication/Authentication.Core/Microsoft.Graph.Authentication.Core.csproj +++ b/src/Authentication/Authentication.Core/Microsoft.Graph.Authentication.Core.csproj @@ -2,9 +2,9 @@ 9.0 - netstandard2.0;net8.0;net472 + netstandard2.0;net6.0;net472 Microsoft.Graph.PowerShell.Authentication.Core - 2.25.0 + 2.26.1 true diff --git a/src/Authentication/Authentication/build-module.ps1 b/src/Authentication/Authentication/build-module.ps1 index 85edb194e06..44d580f4009 100644 --- a/src/Authentication/Authentication/build-module.ps1 +++ b/src/Authentication/Authentication/build-module.ps1 @@ -8,7 +8,7 @@ $ErrorActionPreference = 'Stop' $ModuleName = "Authentication" $ModulePrefix = "Microsoft.Graph" $netStandard = "netstandard2.0" -$netApp = "net8.0" +$netApp = "net6.0" $netFx = "net472" $copyExtensions = @('.dll', '.pdb') From f2ff0563f4812083dd465e49c2a03276d5c71ffe Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Mon, 24 Feb 2025 19:43:19 +0300 Subject: [PATCH 2/2] Returned installation of 8.x because of xunit tests --- .azure-pipelines/common-templates/install-tools.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.azure-pipelines/common-templates/install-tools.yml b/.azure-pipelines/common-templates/install-tools.yml index 64b2e3678ad..a9ecbe8f605 100644 --- a/.azure-pipelines/common-templates/install-tools.yml +++ b/.azure-pipelines/common-templates/install-tools.yml @@ -5,7 +5,12 @@ steps: - task: UseDotNet@2 displayName: Use .NET SDK inputs: - version: 6.x + version: 8.x + + - task: UseDotNet@2 + displayName: Use .NET SDK + inputs: + version: 6.x - task: NuGetToolInstaller@1 displayName: Install Nuget