From 257d8d0d727b4fb335e23b301ed219f3eda6586c Mon Sep 17 00:00:00 2001 From: Travis Plunk Date: Tue, 29 Aug 2017 15:46:22 -0700 Subject: [PATCH 1/2] use the options that powershell was built with to find the output instead of new options. --- tools/appveyor.psm1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/appveyor.psm1 b/tools/appveyor.psm1 index ac5a9397ef3..792260a7b14 100644 --- a/tools/appveyor.psm1 +++ b/tools/appveyor.psm1 @@ -320,7 +320,7 @@ function Invoke-AppVeyorTest # # CoreCLR - $env:CoreOutput = Split-Path -Parent (Get-PSOutput -Options (New-PSOptions -Configuration 'Release')) + $env:CoreOutput = Split-Path -Parent (Get-PSOutput -Options (Get-PSOptions)) Write-Host -Foreground Green 'Run CoreCLR tests' $testResultsNonAdminFile = "$pwd\TestsResultsNonAdmin.xml" $testResultsAdminFile = "$pwd\TestsResultsAdmin.xml" From 73a7e6b43d7db3c53bbcd5012e3c0a90623e99a5 Mon Sep 17 00:00:00 2001 From: Travis Plunk Date: Tue, 29 Aug 2017 15:50:58 -0700 Subject: [PATCH 2/2] change the default windows RID to win7- --- build.psm1 | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/build.psm1 b/build.psm1 index db9bd0f3870..59ffad55f75 100644 --- a/build.psm1 +++ b/build.psm1 @@ -641,6 +641,13 @@ function New-PSOptions { } } + # We plan to release packages targetting win7-x64 and win7-x86 RIDs, + # which supports all supported windows platforms. + # So we, will change the RID to win7- + if ($Environment.IsWindows) { + $Runtime = $Runtime -replace "win\d+", "win7" + } + if (-not $Runtime) { Throw "Could not determine Runtime Identifier, please update dotnet" } else {