From c92ea7600098007da85b6e8f7200cadabe95ba12 Mon Sep 17 00:00:00 2001 From: Travis Plunk Date: Tue, 13 Mar 2018 10:41:25 -0700 Subject: [PATCH 1/2] update to DotNet Core 2.0.6 # Conflicts: # appveyor.yml # src/Microsoft.PowerShell.ConsoleHost/Microsoft.PowerShell.ConsoleHost.csproj --- .travis.yml | 2 +- PowerShell.Common.props | 2 +- appveyor.yml | 2 +- assets/files.wxs | 4 ++-- build.psm1 | 4 ++-- .../Microsoft.PowerShell.Commands.Utility.csproj | 2 +- .../Microsoft.PowerShell.ConsoleHost.csproj | 2 +- test/Test.Common.props | 2 +- test/tools/WebListener/WebListener.csproj | 2 +- 9 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.travis.yml b/.travis.yml index b84708f21af..898cda2f514 100644 --- a/.travis.yml +++ b/.travis.yml @@ -57,7 +57,7 @@ after_success: # travis-ci will quit using the cache if an enviroment variable changes env: - - CACHE_VERSION=netcoreapp.2.0.5-sdk.2.1.4 + - CACHE_VERSION=netcoreapp.2.0.6-sdk.2.1.4 # timeout uploading cache after 6 minutes (360 seconds) cache: diff --git a/PowerShell.Common.props b/PowerShell.Common.props index 32d8bb5008f..4a8e5d7da2b 100644 --- a/PowerShell.Common.props +++ b/PowerShell.Common.props @@ -94,7 +94,7 @@ (c) Microsoft Corporation. All rights reserved. netcoreapp2.0 - 2.0.5 + 2.0.6 true true diff --git a/appveyor.yml b/appveyor.yml index c997322a085..5d52f914402 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -2,7 +2,7 @@ image: Visual Studio 2017 -# cache version - netcoreapp.2.0.5-sdk.2.1.4 +# cache version - netcoreapp.2.0.6-sdk.2.1.4 cache: - '%LocalAppData%\Microsoft\dotnet -> appveyor.yml' - '%HOMEDRIVE%%HOMEPATH%\.nuget\packages -> appveyor.yml' diff --git a/assets/files.wxs b/assets/files.wxs index a61bee08003..1f3e7c00e90 100644 --- a/assets/files.wxs +++ b/assets/files.wxs @@ -128,7 +128,7 @@ - + @@ -419,7 +419,7 @@ - + diff --git a/build.psm1 b/build.psm1 index 43d9363ce12..00b4af9d0fc 100644 --- a/build.psm1 +++ b/build.psm1 @@ -1446,8 +1446,8 @@ function Start-PSxUnit { # '-fxversion' workaround required due to https://github.com/dotnet/cli/issues/7901#issuecomment-343323674 # Run sequential tests first, and then run the tests that can execute in parallel - dotnet xunit -fxversion 2.0.5 -configuration $Options.configuration -xml $SequentialTestResultsFile -namespace "PSTests.Sequential" -parallel none - dotnet xunit -fxversion 2.0.5 -configuration $Options.configuration -xml $ParallelTestResultsFile -namespace "PSTests.Parallel" -nobuild + dotnet xunit -fxversion 2.0.6 -configuration $Options.configuration -xml $SequentialTestResultsFile -namespace "PSTests.Sequential" -parallel none + dotnet xunit -fxversion 2.0.6 -configuration $Options.configuration -xml $ParallelTestResultsFile -namespace "PSTests.Parallel" -nobuild } finally { Pop-Location diff --git a/src/Microsoft.PowerShell.Commands.Utility/Microsoft.PowerShell.Commands.Utility.csproj b/src/Microsoft.PowerShell.Commands.Utility/Microsoft.PowerShell.Commands.Utility.csproj index f2eef2f0ee9..526ab1f361d 100644 --- a/src/Microsoft.PowerShell.Commands.Utility/Microsoft.PowerShell.Commands.Utility.csproj +++ b/src/Microsoft.PowerShell.Commands.Utility/Microsoft.PowerShell.Commands.Utility.csproj @@ -77,7 +77,7 @@ - + diff --git a/src/Microsoft.PowerShell.ConsoleHost/Microsoft.PowerShell.ConsoleHost.csproj b/src/Microsoft.PowerShell.ConsoleHost/Microsoft.PowerShell.ConsoleHost.csproj index fd34514c316..cef829db680 100644 --- a/src/Microsoft.PowerShell.ConsoleHost/Microsoft.PowerShell.ConsoleHost.csproj +++ b/src/Microsoft.PowerShell.ConsoleHost/Microsoft.PowerShell.ConsoleHost.csproj @@ -9,7 +9,7 @@ - + diff --git a/test/Test.Common.props b/test/Test.Common.props index 308e1cdbe84..ecec4ae51b4 100644 --- a/test/Test.Common.props +++ b/test/Test.Common.props @@ -5,7 +5,7 @@ (c) Microsoft Corporation. All rights reserved. netcoreapp2.0 - 2.0.5 + 2.0.6 true true diff --git a/test/tools/WebListener/WebListener.csproj b/test/tools/WebListener/WebListener.csproj index b688faa33f7..51ca3f8505c 100644 --- a/test/tools/WebListener/WebListener.csproj +++ b/test/tools/WebListener/WebListener.csproj @@ -7,7 +7,7 @@ - + From 89194b4ec03e17eb2bba6108c71b4a13c36cb2b7 Mon Sep 17 00:00:00 2001 From: Dongbo Wang Date: Thu, 15 Mar 2018 13:59:17 -0700 Subject: [PATCH 2/2] Make xunit continue to depend on 2.0.5, the default framework comes with sdk2.1.4 --- build.psm1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.psm1 b/build.psm1 index 00b4af9d0fc..43d9363ce12 100644 --- a/build.psm1 +++ b/build.psm1 @@ -1446,8 +1446,8 @@ function Start-PSxUnit { # '-fxversion' workaround required due to https://github.com/dotnet/cli/issues/7901#issuecomment-343323674 # Run sequential tests first, and then run the tests that can execute in parallel - dotnet xunit -fxversion 2.0.6 -configuration $Options.configuration -xml $SequentialTestResultsFile -namespace "PSTests.Sequential" -parallel none - dotnet xunit -fxversion 2.0.6 -configuration $Options.configuration -xml $ParallelTestResultsFile -namespace "PSTests.Parallel" -nobuild + dotnet xunit -fxversion 2.0.5 -configuration $Options.configuration -xml $SequentialTestResultsFile -namespace "PSTests.Sequential" -parallel none + dotnet xunit -fxversion 2.0.5 -configuration $Options.configuration -xml $ParallelTestResultsFile -namespace "PSTests.Parallel" -nobuild } finally { Pop-Location