summaryrefslogtreecommitdiff
path: root/dotnet.cmd
diff options
context:
space:
mode:
authorJan Kotas <jkotas@microsoft.com>2019-03-02 08:49:52 -0800
committerGitHub <noreply@github.com>2019-03-02 08:49:52 -0800
commitff53a99fb9e4c6e479a60c09a7014bfb72af4936 (patch)
tree074a6b75dc614a2df13e6cfbd79dac5eea9bf882 /dotnet.cmd
parent75ec7c0274f24680d7a880327dafd96ea054a065 (diff)
downloadcoreclr-ff53a99fb9e4c6e479a60c09a7014bfb72af4936.tar.gz
coreclr-ff53a99fb9e4c6e479a60c09a7014bfb72af4936.tar.bz2
coreclr-ff53a99fb9e4c6e479a60c09a7014bfb72af4936.zip
Disable DOTNET_MULTILEVEL_LOOKUP in the build scripts (#22972)
Fixes #22971
Diffstat (limited to 'dotnet.cmd')
-rw-r--r--dotnet.cmd6
1 files changed, 6 insertions, 0 deletions
diff --git a/dotnet.cmd b/dotnet.cmd
index 922100ac3b..afb3f5a50d 100644
--- a/dotnet.cmd
+++ b/dotnet.cmd
@@ -8,6 +8,12 @@ set "__ProjectDir=%~dp0"
set Platform=
set __ProjectDir=
+:: Don't resolve runtime, shared framework, or SDK from other locations to ensure build determinism
+set DOTNET_MULTILEVEL_LOOKUP=0
+
+:: Disable first run since we do not need all ASP.NET packages restored.
+set DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1
+
:: Restore the Tools directory
call %~dp0init-tools.cmd
if NOT [%ERRORLEVEL%]==[0] (