Skip to content

Commit 58b8495

Browse files
author
Oren Novotny
committed
use dotnet from host
1 parent cdcc1c9 commit 58b8495

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

build.ps1

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,4 @@
11
$repositoryRoot = split-path $MyInvocation.MyCommand.Definition
2-
$toolsPath = join-path $repositoryRoot ".dotnet"
3-
$getDotNet = join-path $toolsPath "dotnet-install.ps1"
4-
$nugetExePath = join-path $toolsPath "nuget.exe"
5-
6-
write-host "Download latest install script from CLI repo"
7-
8-
New-Item -type directory -f -path $toolsPath | Out-Null
9-
10-
Invoke-WebRequest https://raw.githubusercontent.com/dotnet/cli/rel/1.0.0-preview2/scripts/obtain/dotnet-install.ps1 -OutFile $getDotNet
11-
12-
$env:DOTNET_INSTALL_DIR="$repositoryRoot\.dotnet\win7-x64"
13-
14-
if (!(Test-Path $env:DOTNET_INSTALL_DIR)) {
15-
New-Item -type directory -path $env:DOTNET_INSTALL_DIR | Out-Null
16-
}
17-
18-
19-
& $getDotNet -arch x64
20-
21-
$env:PATH = "$env:DOTNET_INSTALL_DIR;$env:PATH"
222

233
Write-Host "Building Rx.NET" -ForegroundColor Green
244
.\Rx.NET\Source\build-new

0 commit comments

Comments
 (0)