Skip to content
This repository was archived by the owner on Apr 20, 2023. It is now read-only.

Commit b250271

Browse files
committed
Removing the dependency on the project.json CLI from the windows build scripts as well.
1 parent 094a7b2 commit b250271

File tree

1 file changed

+0
-22
lines changed

1 file changed

+0
-22
lines changed

run-build.ps1

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -53,20 +53,6 @@ if (!(Test-Path $env:DOTNET_INSTALL_DIR))
5353
mkdir $env:DOTNET_INSTALL_DIR | Out-Null
5454
}
5555

56-
# We also need to pull down a project.json based CLI that is used by some tests
57-
# so create another directory for that.
58-
if (!$env:DOTNET_INSTALL_DIR_PJ)
59-
{
60-
$env:DOTNET_INSTALL_DIR_PJ="$RepoRoot\.dotnet_stage0PJ\$Architecture"
61-
}
62-
63-
if (!(Test-Path $env:DOTNET_INSTALL_DIR_PJ))
64-
{
65-
mkdir $env:DOTNET_INSTALL_DIR_PJ | Out-Null
66-
}
67-
68-
69-
7056
# Disable first run since we want to control all package sources
7157
$env:DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1
7258

@@ -88,14 +74,6 @@ if ($LastExitCode -ne 0)
8874
exit $LastExitCode
8975
}
9076

91-
Write-Output "$dotnetInstallPath -InstallDir $env:DOTNET_INSTALL_DIR_PJ -Architecture ""$Architecture"" -Version 1.0.0-preview2-1-003177"
92-
Invoke-Expression "$dotnetInstallPath -InstallDir $env:DOTNET_INSTALL_DIR_PJ -Architecture ""$Architecture"" -Version 1.0.0-preview2-1-003177"
93-
if ($LastExitCode -ne 0)
94-
{
95-
Write-Output "The .NET CLI installation failed with exit code $LastExitCode"
96-
exit $LastExitCode
97-
}
98-
9977
# Put the stage0 on the path
10078
$env:PATH = "$env:DOTNET_INSTALL_DIR;$env:PATH"
10179

0 commit comments

Comments
 (0)