We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 76591f7 commit a702e4fCopy full SHA for a702e4f
build/install-dotnet.yml
@@ -1,4 +1,11 @@
1
steps:
2
+- task: PowerShell@2
3
+ displayName: 'Install .NET 3.1'
4
+ inputs:
5
+ targetType: 'inline'
6
+ script: |
7
+ Invoke-WebRequest 'https://dot.net/v1/dotnet-install.ps1' -OutFile 'dotnet-install.ps1'
8
+ ./dotnet-install.ps1 -InstallDir 'C:\Program Files\dotnet' -Verbose -Channel 3.1
9
- task: PowerShell@2
10
displayName: 'Install .NET 6'
11
inputs:
@@ -8,3 +15,4 @@ steps:
15
# Official release versions can be found at: https://dotnet.microsoft.com/download/dotnet/6.0
16
# Newer versions can be found at: https://github.com/dotnet/installer#installers-and-binaries
17
./dotnet-install.ps1 -InstallDir 'C:\Program Files\dotnet' -Verbose -Channel 6.0
18
+ & dotnet --info
0 commit comments