From 3761aaab06bee6c3846680f0635d3b084e630bd2 Mon Sep 17 00:00:00 2001 From: Lukas Lansky Date: Thu, 4 Mar 2021 20:17:15 +0100 Subject: [PATCH] Revert "Saving sdk.txt using utf8" This reverts commit 56241026081186c1620b28ae1e578e9552decda4. --- eng/common/tools.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eng/common/tools.ps1 b/eng/common/tools.ps1 index 905819f55e6..d52467eea11 100644 --- a/eng/common/tools.ps1 +++ b/eng/common/tools.ps1 @@ -166,7 +166,7 @@ function InitializeDotNetCli([bool]$install, [bool]$createSdkLocationFile) { $sdkCacheFileTemp = Join-Path $ToolsetDir $([System.IO.Path]::GetRandomFileName()) } until (!(Test-Path $sdkCacheFileTemp)) - Set-Content -Path $sdkCacheFileTemp -Value $dotnetRoot -Encoding utf8 + Set-Content -Path $sdkCacheFileTemp -Value $dotnetRoot try { Move-Item -Force $sdkCacheFileTemp (Join-Path $ToolsetDir 'sdk.txt')