Skip to content

Commit 3c67a9e

Browse files
committed
Install all .NET versions in pipeline to fix run tests task
1 parent 6dc806c commit 3c67a9e

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

build/template-Build-run-tests-sign.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,24 @@ steps:
77
- script: echo $(MicrosoftIdentityModelVersion)
88
displayName: 'display MicrosoftIdentityModelVersion'
99

10+
- task: UseDotNet@2
11+
displayName: 'Use .Net Core SDK 2.x'
12+
inputs:
13+
version: 2.x
14+
installationPath: $(Agent.ToolsDirectory)/dotnet
15+
16+
- task: UseDotNet@2
17+
displayName: 'Use .Net Core SDK 6.x'
18+
inputs:
19+
version: 6.x
20+
installationPath: $(Agent.ToolsDirectory)/dotnet
21+
22+
- task: UseDotNet@2
23+
displayName: 'Use .Net Core SDK 8.x'
24+
inputs:
25+
version: 8.x
26+
installationPath: $(Agent.ToolsDirectory)/dotnet
27+
1028
- task: UseDotNet@2
1129
displayName: 'Use .Net Core SDK 9.x'
1230
inputs:

0 commit comments

Comments
 (0)