Fix versionless UCRT probing path (#40642)
authorJuan Hoyos <juan.hoyos@microsoft.com>
Tue, 11 Aug 2020 06:43:58 +0000 (23:43 -0700)
committerGitHub <noreply@github.com>
Tue, 11 Aug 2020 06:43:58 +0000 (06:43 +0000)
src/coreclr/build-runtime.cmd

index aa9573d..628f4ee 100644 (file)
@@ -550,7 +550,7 @@ if %__BuildNative% EQU 1 (
 
     if /i "%__BuildArch%" == "arm64" goto SkipCopyUcrt
 
-    set "__UCRTDir=%UniversalCRTSDKDIR%Redist\ucrxxxt\DLLs\%__BuildArch%\"
+    set "__UCRTDir=%UniversalCRTSDKDIR%Redist\ucrt\DLLs\%__BuildArch%\"
     if not exist "!__UCRTDir!" set "__UCRTDir=%UniversalCRTSDKDIR%Redist\%UCRTVersion%\ucrt\DLLs\%__BuildArch%\"
     if not exist "!__UCRTDir!" (
         echo %__ErrMsgPrefix%%__MsgPrefix%Error: Please install the Redistributable Universal C Runtime.