Skip to content

Commit

Permalink
install latest .netcore 3 sdk
Browse files Browse the repository at this point in the history
  • Loading branch information
dansiegel committed Nov 3, 2018
1 parent 8600c4d commit 9b643d9
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions Source/build/steps/build.yml
Expand Up @@ -3,6 +3,20 @@ parameters:
solutionName: 'Build Solution'

steps:
- powershell: |
$latestInstallerUri = "https://dotnetcli.blob.core.windows.net/dotnet/Sdk/master/dotnet-sdk-latest-win-x64.exe"
$dotnetInstaller = Join-Path -Path $Env:TEMP -ChildPath "dotnet-sdk.exe"
Write-Output "Downloading Latest .NET Core 3.0 SDK..."
Invoke-WebRequest -Uri $latestInstallerUri -OutFile $dotnetInstaller
Write-Output "Installing .NET Core 3.0 SDK..."
Start-Process $dotnetInstaller -ArgumentList "-q" -Wait
Write-Output "Finished Installing..."
dotnet --version
displayName: 'Install .NET Core SDK 3.0 Preview'

- task: NuGetToolInstaller@0
displayName: Use NuGet 4.7.1
inputs:
Expand Down

0 comments on commit 9b643d9

Please sign in to comment.