Skip to content
This repository was archived by the owner on May 1, 2024. It is now read-only.

Commit 43ae903

Browse files
install dotnet
1 parent a797c7d commit 43ae903

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

azure-pipelines.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -196,14 +196,13 @@ jobs:
196196
pool:
197197
vmImage: windows-latest
198198
steps:
199-
- task: CmdLine@2
200-
displayName: Install .NET 6.0
201-
inputs:
202-
script: |
203-
wget https://dot.net/v1/dotnet-install.ps1 -OutFile C:\dotnet-install.ps1
204-
C:\dotnet-install.ps1 -Version 6.0.300-preview.22204.3
205-
dotnet --info
206-
Write-Host "##vso[task.prependpath]C:\\Users\\VssAdministrator\\AppData\\Local\\Microsoft\\dotnet"
199+
- powershell: |
200+
wget https://dot.net/v1/dotnet-install.ps1 -OutFile C:\dotnet-install.ps1
201+
C:\dotnet-install.ps1 -Version 6.0.300-preview.22204.3
202+
dotnet --info
203+
Write-Host "##vso[task.prependpath]C:\\Users\\VssAdministrator\\AppData\\Local\\Microsoft\\dotnet"
204+
dotnet workload install maui;
205+
displayName: Install .NET 6.0.300-preview.22204.3 + .NET MAUI
207206
- task: CmdLine@2
208207
displayName: 'Install .NET MAUI Workload'
209208
inputs:

0 commit comments

Comments
 (0)