Skip to content

Commit aef022e

Browse files
committed
Revert to older SDK version due to bug in .NET > 9.0.200 on macOS
1 parent 0953bd6 commit aef022e

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.azuredevops/pipelines/templates/stages/unit-tests.yml

+4
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ stages:
1919
vmImage: $(imageName)
2020
steps:
2121
- template: ../steps/install-required-dotnet-versions-for-building.yml
22+
- task: UseDotNet@2
23+
inputs:
24+
version: '9.0.101'
25+
displayName: 'Install .NET 9'
2226
# Ubuntu 24.04 does not have Mono installed, which is Required for Cake.Recipe
2327
- bash: sudo apt-get install mono-complete
2428
condition: eq(variables['imageName'], 'ubuntu-24.04')

.github/workflows/unittests.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
dotnet-version: |
3838
5.x
3939
8.x
40-
9.x
40+
9.0.101
4141
# Ubuntu 24.04 does not have Mono installed, which is Required for Cake.Recipe
4242
- name: Install Mono
4343
if: ${{ matrix.os == 'ubuntu-24.04' }}

0 commit comments

Comments
 (0)