Skip to content

Commit 9d20522

Browse files
committed
dotnet: fix the .NET SDK used in release builds
Fix the .NET SDK version used on Mac and Linux to build release builds in Azure Pipelines. The release build started to hang since .NET SDK 5.0.300 was available. Others have reported issues with new SDK patches: dotnet/sdk#16204 The last successful release build used .NET SDK 5.0.203, so let's fix to that version. Last success: https://mseng.visualstudio.com/AzureDevOps/_build/results?buildId=15246465 Current failure: https://mseng.visualstudio.com/AzureDevOps/_build/results?buildId=15390460
1 parent 1d5a694 commit 9d20522

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

.azure-pipelines/templates/linux/compile.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
steps:
22
- task: UseDotNet@2
3-
displayName: Use .NET SDK 5.0.x
3+
displayName: Use .NET SDK 5.0.203
44
inputs:
55
packageType: sdk
6-
version: 5.0.x
6+
version: 5.0.203
77

88
- task: DotNetCoreCLI@2
99
displayName: Compile common code

.azure-pipelines/templates/osx/compile.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
steps:
22
- task: UseDotNet@2
3-
displayName: Use .NET SDK 5.0.x
3+
displayName: Use .NET SDK 5.0.203
44
inputs:
55
packageType: sdk
6-
version: 5.0.x
6+
version: 5.0.203
77

88
- task: DotNetCoreCLI@2
99
displayName: Compile common code and macOS Helpers

.azure-pipelines/templates/osx/pack.signed/step3-pack.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ steps:
77
downloadPath: '$(Build.StagingDirectory)/payload'
88

99
- task: UseDotNet@2
10-
displayName: Use .NET SDK 5.0.x
10+
displayName: Use .NET SDK 5.0.203
1111
inputs:
1212
packageType: sdk
13-
version: 5.0.x
13+
version: 5.0.203
1414

1515
- script: dotnet tool install --global nbgv
1616
displayName: Install Nerdbank.GitVersioning tool

.azure-pipelines/templates/windows/compile.signed.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ steps:
66
signType: '$(SignType)'
77

88
- task: UseDotNet@2
9-
displayName: Use .NET SDK 5.0.x
9+
displayName: Use .NET SDK 5.0.203
1010
inputs:
1111
packageType: sdk
12-
version: 5.0.x
12+
version: 5.0.203
1313

1414
- task: NuGetToolInstaller@0
1515
displayName: Install NuGet tool >=4.3.0

.azure-pipelines/templates/windows/compile.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
steps:
22
- task: UseDotNet@2
3-
displayName: Use .NET SDK 5.0.x
3+
displayName: Use .NET SDK 5.0.203
44
inputs:
55
packageType: sdk
6-
version: 5.0.x
6+
version: 5.0.203
77

88
- task: DotNetCoreCLI@2
99
displayName: Restore packages

0 commit comments

Comments
 (0)