diff --git a/build.ps1 b/build.ps1
index c0c0e6123c..4634dc03e9 100644
--- a/build.ps1
+++ b/build.ps1
@@ -20,9 +20,8 @@ $DotNetGlobalFile = "$PSScriptRoot\\global.json"
$DotNetInstallUrl = "https://dot.net/v1/dotnet-install.ps1"
$DotNetChannel = "STS"
-$env:DOTNET_SKIP_FIRST_TIME_EXPERIENCE = 1
$env:DOTNET_CLI_TELEMETRY_OPTOUT = 1
-$env:DOTNET_MULTILEVEL_LOOKUP = 0
+$env:DOTNET_NOLOGO = 1
###########################################################################
# EXECUTION
@@ -61,6 +60,7 @@ else {
ExecSafe { & powershell $DotNetInstallFile -InstallDir $DotNetDirectory -Version $DotNetVersion -NoPath }
}
$env:DOTNET_EXE = "$DotNetDirectory\dotnet.exe"
+ $env:PATH = "$DotNetDirectory;$env:PATH"
}
Write-Output "Microsoft (R) .NET SDK version $(& $env:DOTNET_EXE --version)"
diff --git a/build.sh b/build.sh
index 2f10dcb543..fdff0c6236 100755
--- a/build.sh
+++ b/build.sh
@@ -17,8 +17,7 @@ DOTNET_INSTALL_URL="https://dot.net/v1/dotnet-install.sh"
DOTNET_CHANNEL="STS"
export DOTNET_CLI_TELEMETRY_OPTOUT=1
-export DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1
-export DOTNET_MULTILEVEL_LOOKUP=0
+export DOTNET_NOLOGO=1
###########################################################################
# EXECUTION
@@ -54,6 +53,7 @@ else
"$DOTNET_INSTALL_FILE" --install-dir "$DOTNET_DIRECTORY" --version "$DOTNET_VERSION" --no-path
fi
export DOTNET_EXE="$DOTNET_DIRECTORY/dotnet"
+ export PATH="$DOTNET_DIRECTORY:$PATH"
fi
echo "Microsoft (R) .NET SDK version $("$DOTNET_EXE" --version)"
diff --git a/build/Build.cs b/build/Build.cs
index d7bd52b215..d223f79124 100644
--- a/build/Build.cs
+++ b/build/Build.cs
@@ -148,7 +148,7 @@ protected override void OnBuildInitialized()
DotNetRestore(x => x
.SetProjectFile(Solution)
- .SetVerbosity(DotNetVerbosity.Minimal)
+ .SetVerbosity(DotNetVerbosity.minimal)
);
});
diff --git a/build/_build.csproj b/build/_build.csproj
index c376345a6f..feca84c4f1 100644
--- a/build/_build.csproj
+++ b/build/_build.csproj
@@ -8,7 +8,6 @@
..
..
1
- true
false
false
true
@@ -17,7 +16,7 @@
-
+