From f4ac0935c530be5b33c3fc043b574b95d41a1ca5 Mon Sep 17 00:00:00 2001 From: Aditya Patwardhan Date: Wed, 11 Nov 2020 14:53:33 -0800 Subject: [PATCH] Remove workarounds for .NET 5 RTM builds (#14038) --- build.psm1 | 5 ----- nuget.config | 1 - test/hosting/NuGet.Config | 1 - tools/releaseBuild/azureDevOps/templates/nuget.yml | 7 ------- 4 files changed, 14 deletions(-) diff --git a/build.psm1 b/build.psm1 index 5e079e4fa2..ce9ff123b1 100644 --- a/build.psm1 +++ b/build.psm1 @@ -1773,11 +1773,6 @@ function Start-PSBootstrap { Write-Log -message "Installing PowerShell build dependencies" - # Temporary workaround to consume .NET 5 pre-release RTM build. Remove after .NET 5 RTM. Details: https://github.com/PowerShell/PowerShell/issues/13974 - if ($Version -eq '5.0.100') { - $Version = '5.0.100-rtm.20526.5' - } - Push-Location $PSScriptRoot/tools try { diff --git a/nuget.config b/nuget.config index a1713070c6..cbb2494cec 100644 --- a/nuget.config +++ b/nuget.config @@ -2,7 +2,6 @@ - diff --git a/test/hosting/NuGet.Config b/test/hosting/NuGet.Config index fcdcf93170..c2c6e1b7c2 100644 --- a/test/hosting/NuGet.Config +++ b/test/hosting/NuGet.Config @@ -2,7 +2,6 @@ - diff --git a/tools/releaseBuild/azureDevOps/templates/nuget.yml b/tools/releaseBuild/azureDevOps/templates/nuget.yml index d18dfb0e97..0e81e337ae 100644 --- a/tools/releaseBuild/azureDevOps/templates/nuget.yml +++ b/tools/releaseBuild/azureDevOps/templates/nuget.yml @@ -34,13 +34,6 @@ jobs: displayName: 'Use .NET Core SDK from global.json' inputs: version: '$(SDKVersion)' - condition: ne(variables['SDKVersion'], '5.0.100') - - - pwsh: | - Import-Module "$(Build.SourcesDirectory)/build.psm1" -Force - Install-Dotnet -Version '5.0.100-rtm.20526.5' - displayName: Install-DotNet - condition: eq(variables['SDKVersion'], '5.0.100') - task: DownloadBuildArtifacts@0 displayName: 'Download PowerShell build artifacts'