From 186e9806cd2d276dba5524eda9416388f0d2883b Mon Sep 17 00:00:00 2001 From: Pranav K Date: Thu, 16 Nov 2017 13:59:38 -0800 Subject: [PATCH] Update samples and tests to target netcoreapp2.1 --- Directory.Build.props | 4 ++++ korebuild-lock.txt | 4 ++-- test/Directory.Build.props | 7 +++++++ test/Kestrel.Core.Tests/HttpRequestStreamTests.cs | 2 +- test/Kestrel.Core.Tests/Kestrel.Core.Tests.csproj | 3 +-- test/Kestrel.FunctionalTests/GeneratedCodeTests.cs | 2 +- test/Kestrel.Tests/Kestrel.Tests.csproj | 3 +-- .../Kestrel.Transport.Libuv.FunctionalTests.csproj | 5 ++--- .../Kestrel.Transport.Libuv.Tests.csproj | 3 +-- .../Kestrel.Transport.Sockets.FunctionalTests.csproj | 5 ++--- 10 files changed, 22 insertions(+), 16 deletions(-) diff --git a/Directory.Build.props b/Directory.Build.props index 396fba05b3..ebebe73c9c 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -1,4 +1,8 @@ + + diff --git a/korebuild-lock.txt b/korebuild-lock.txt index 86352477bb..b2036f3394 100644 --- a/korebuild-lock.txt +++ b/korebuild-lock.txt @@ -1,2 +1,2 @@ -version:2.1.0-preview1-15551 -commithash:8fad9553b48533fddbb16a423ea55b9710ea2e63 +version:2.1.0-preview1-15569 +commithash:47312a6364ad0ee6d7052eada54da940c9b17931 diff --git a/test/Directory.Build.props b/test/Directory.Build.props index 5891f8eb0b..3110e89ce7 100644 --- a/test/Directory.Build.props +++ b/test/Directory.Build.props @@ -1,6 +1,13 @@ + + netcoreapp2.1 + $(DeveloperBuildTestTfms) + netcoreapp2.1;netcoreapp2.0 + $(StandardTestTfms);net461 + + @@ -17,7 +16,7 @@ - + diff --git a/test/Kestrel.Transport.Libuv.Tests/Kestrel.Transport.Libuv.Tests.csproj b/test/Kestrel.Transport.Libuv.Tests/Kestrel.Transport.Libuv.Tests.csproj index ca477f9507..ef4f1d7742 100644 --- a/test/Kestrel.Transport.Libuv.Tests/Kestrel.Transport.Libuv.Tests.csproj +++ b/test/Kestrel.Transport.Libuv.Tests/Kestrel.Transport.Libuv.Tests.csproj @@ -3,8 +3,7 @@ Microsoft.AspNetCore.Server.Kestrel.Transport.Libuv.Tests Microsoft.AspNetCore.Server.Kestrel.Transport.Libuv.Tests - netcoreapp2.0;net461 - netcoreapp2.0 + $(StandardTestTfms) true true diff --git a/test/Kestrel.Transport.Sockets.FunctionalTests/Kestrel.Transport.Sockets.FunctionalTests.csproj b/test/Kestrel.Transport.Sockets.FunctionalTests/Kestrel.Transport.Sockets.FunctionalTests.csproj index 8bc5d93436..901c8ca106 100644 --- a/test/Kestrel.Transport.Sockets.FunctionalTests/Kestrel.Transport.Sockets.FunctionalTests.csproj +++ b/test/Kestrel.Transport.Sockets.FunctionalTests/Kestrel.Transport.Sockets.FunctionalTests.csproj @@ -3,8 +3,7 @@ Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.FunctionalTests Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.FunctionalTests - netcoreapp2.0;net461 - netcoreapp2.0 + $(StandardTestTfms) $(DefineConstants);MACOS $(DefineConstants);SOCKETS true @@ -16,7 +15,7 @@ - +