1 @if not defined _echo @echo off
4 set "__ProjectDir=%~dp0"
6 :: Clear the 'Platform' env variable for this session, as it's a per-project setting within the build, and
7 :: misleading value (such as 'MCD' in HP PCs) may lead to build breakage (issue: #69).
11 :: Don't resolve runtime, shared framework, or SDK from other locations to ensure build determinism
12 set DOTNET_MULTILEVEL_LOOKUP=0
14 :: Disable first run since we do not need all ASP.NET packages restored.
15 set DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1
18 call %~dp0\init-dotnet.cmd
19 if NOT [%ERRORLEVEL%]==[0] (
24 echo Running: dotnet %*
25 call "%~dp0\.dotnet\dotnet.exe" %*
27 if NOT [%ERRORLEVEL%]==[0] (