From efaaec6546c28d8d96f0112ebcd303840da8f05e Mon Sep 17 00:00:00 2001 From: Ryan Brandenburg Date: Mon, 7 May 2018 15:14:53 -0700 Subject: [PATCH] Upgrade to netcoreapp22 --- Directory.Build.targets | 5 ++- build/dependencies.props | 39 ++++++++++--------- build/repo.props | 3 +- korebuild-lock.txt | 4 +- test/Directory.Build.props | 4 +- ...rosoft.AspNetCore.Razor.Design.Test.csproj | 2 +- ...soft.AspNetCore.Razor.Language.Test.csproj | 3 +- .../IntegrationTests/IntegrationTestBase.cs | 4 +- ...rosoft.AspNetCore.Razor.Test.Common.csproj | 4 +- ...tCore.Razor.Test.MvcShim.Version1_X.csproj | 4 +- ...osoft.AspNetCore.Razor.Test.MvcShim.csproj | 4 +- ...crosoft.AspNetCore.Razor.Tools.Test.csproj | 2 +- .../RazorPageGenerator.Test.csproj | 4 +- .../AppWithP2PReference.csproj | 2 +- test/testapps/SimpleMvc/SimpleMvc.csproj | 2 +- test/testapps/SimplePages/SimplePages.csproj | 2 +- 16 files changed, 46 insertions(+), 42 deletions(-) diff --git a/Directory.Build.targets b/Directory.Build.targets index 53b3f6e1da..78626b773e 100644 --- a/Directory.Build.targets +++ b/Directory.Build.targets @@ -1,7 +1,10 @@ - + $(MicrosoftNETCoreApp20PackageVersion) $(MicrosoftNETCoreApp21PackageVersion) + $(MicrosoftNETCoreApp22PackageVersion) $(NETStandardLibrary20PackageVersion) + + 99.9 diff --git a/build/dependencies.props b/build/dependencies.props index dc0ff9df55..f315d1c9c2 100644 --- a/build/dependencies.props +++ b/build/dependencies.props @@ -1,25 +1,26 @@ - + $(MSBuildAllProjects);$(MSBuildThisFileFullPath) 0.10.13 - 2.2.0-preview1-17047 - 2.2.0-preview1-34135 - 2.2.0-preview1-34135 - 2.2.0-preview1-34135 + 2.2.0-preview1-17048 + 2.2.0-preview1-34140 + 2.2.0-preview1-34140 + 2.2.0-preview1-34140 15.6.82 15.6.82 15.6.82 - 2.8.0 - 2.8.0 - 2.2.0-preview1-34135 - 2.2.0-preview1-34135 + 2.8.0-beta3 + 2.8.0-beta3 + 2.2.0-preview1-34140 + 2.2.0-preview1-34140 2.2.0-preview1-26424-04 - 2.2.0-preview1-34135 - 2.2.0-preview1-34135 + 2.2.0-preview1-34140 + 2.2.0-preview1-34140 2.0.0 2.2.0-preview1-26424-04 + 2.2.0-preview1-26502-01 15.6.1 15.0.26606 15.6.161-preview @@ -46,15 +47,15 @@ 4.3.0 4.5.0-preview3-26423-04 9.0.1 - 2.8.0 - 2.8.0 - 2.8.0 - 2.8.0 - 2.8.0 + 2.8.0-beta3 + 2.8.0-beta3 + 2.8.0-beta3 + 2.8.0-beta3 + 2.8.0-beta3 2.8.0-beta2-62721-09 - 2.8.0 - 2.8.0 - 2.8.0 + 2.8.0-beta3 + 2.8.0-beta3 + 2.8.0-beta3 2.8.0-beta2-62721-09 0.8.0 2.3.1 diff --git a/build/repo.props b/build/repo.props index fd60435af5..fef2fdc0eb 100644 --- a/build/repo.props +++ b/build/repo.props @@ -1,4 +1,4 @@ - + @@ -27,5 +27,6 @@ + diff --git a/korebuild-lock.txt b/korebuild-lock.txt index 18df6940ae..da5dcd1202 100644 --- a/korebuild-lock.txt +++ b/korebuild-lock.txt @@ -1,2 +1,2 @@ -version:2.2.0-preview1-17047 -commithash:e1957b52ddc8b62bd39c5c400322fccb5364624c +version:2.2.0-preview1-17048 +commithash:de14a0ee5fb48508ee8a29c14280a2928f8dabf8 diff --git a/test/Directory.Build.props b/test/Directory.Build.props index 8ad3d56d0e..1b12a7a57d 100644 --- a/test/Directory.Build.props +++ b/test/Directory.Build.props @@ -1,8 +1,8 @@ - + - netcoreapp2.1 + netcoreapp2.2 $(DeveloperBuildTestTfms) $(StandardTestTfms) net461;$(StandardTestTfms) diff --git a/test/Microsoft.AspNetCore.Razor.Design.Test/Microsoft.AspNetCore.Razor.Design.Test.csproj b/test/Microsoft.AspNetCore.Razor.Design.Test/Microsoft.AspNetCore.Razor.Design.Test.csproj index 22a3b54243..128fb066bf 100644 --- a/test/Microsoft.AspNetCore.Razor.Design.Test/Microsoft.AspNetCore.Razor.Design.Test.csproj +++ b/test/Microsoft.AspNetCore.Razor.Design.Test/Microsoft.AspNetCore.Razor.Design.Test.csproj @@ -7,7 +7,7 @@ This is also a partial workaround for https://github.com/Microsoft/msbuild/issues/2661 - this project has netcoreapp2.0 dependencies that need to be built first. --> - netcoreapp2.1 + netcoreapp2.2 true $(DefineConstants);PRESERVE_WORKING_DIRECTORY diff --git a/test/Microsoft.AspNetCore.Razor.Language.Test/Microsoft.AspNetCore.Razor.Language.Test.csproj b/test/Microsoft.AspNetCore.Razor.Language.Test/Microsoft.AspNetCore.Razor.Language.Test.csproj index 68d1243acf..57a0000191 100644 --- a/test/Microsoft.AspNetCore.Razor.Language.Test/Microsoft.AspNetCore.Razor.Language.Test.csproj +++ b/test/Microsoft.AspNetCore.Razor.Language.Test/Microsoft.AspNetCore.Razor.Language.Test.csproj @@ -1,8 +1,7 @@ - + $(DeveloperBuildTestTfms) - $(TargetFrameworks) $(TargetFrameworks);net46 $(DefaultItemExcludes);TestFiles\**\* $(DefineConstants);GENERATE_BASELINES diff --git a/test/Microsoft.AspNetCore.Razor.Test.Common/Language/IntegrationTests/IntegrationTestBase.cs b/test/Microsoft.AspNetCore.Razor.Test.Common/Language/IntegrationTests/IntegrationTestBase.cs index 0d6dd241ce..c8c41c1f77 100644 --- a/test/Microsoft.AspNetCore.Razor.Test.Common/Language/IntegrationTests/IntegrationTestBase.cs +++ b/test/Microsoft.AspNetCore.Razor.Test.Common/Language/IntegrationTests/IntegrationTestBase.cs @@ -1,4 +1,4 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; @@ -54,7 +54,7 @@ namespace Microsoft.AspNetCore.Razor.Language.IntegrationTests { CallContext.LogicalSetData("IntegrationTestBase_FileName", new ObjectHandle(value)); } -#elif NETCOREAPP2_0 || NETCOREAPP2_1 +#elif NETCOREAPP2_2 get { return _fileName.Value; } set { _fileName.Value = value; } #endif diff --git a/test/Microsoft.AspNetCore.Razor.Test.Common/Microsoft.AspNetCore.Razor.Test.Common.csproj b/test/Microsoft.AspNetCore.Razor.Test.Common/Microsoft.AspNetCore.Razor.Test.Common.csproj index cf35d8f8d7..d1f72c96bb 100644 --- a/test/Microsoft.AspNetCore.Razor.Test.Common/Microsoft.AspNetCore.Razor.Test.Common.csproj +++ b/test/Microsoft.AspNetCore.Razor.Test.Common/Microsoft.AspNetCore.Razor.Test.Common.csproj @@ -1,10 +1,10 @@ - + $(DefineConstants);GENERATE_BASELINES $(DefineConstants);__RemoveThisBitTo__GENERATE_BASELINES - netcoreapp2.1;netcoreapp2.0;net46 + netcoreapp2.2;net46 diff --git a/test/Microsoft.AspNetCore.Razor.Test.MvcShim.Version1_X/Microsoft.AspNetCore.Razor.Test.MvcShim.Version1_X.csproj b/test/Microsoft.AspNetCore.Razor.Test.MvcShim.Version1_X/Microsoft.AspNetCore.Razor.Test.MvcShim.Version1_X.csproj index 1562a234c3..8c0ce3583f 100644 --- a/test/Microsoft.AspNetCore.Razor.Test.MvcShim.Version1_X/Microsoft.AspNetCore.Razor.Test.MvcShim.Version1_X.csproj +++ b/test/Microsoft.AspNetCore.Razor.Test.MvcShim.Version1_X/Microsoft.AspNetCore.Razor.Test.MvcShim.Version1_X.csproj @@ -1,7 +1,7 @@ - + - netcoreapp2.1;netcoreapp2.0;net461 + netcoreapp2.2;net461 true diff --git a/test/Microsoft.AspNetCore.Razor.Test.MvcShim/Microsoft.AspNetCore.Razor.Test.MvcShim.csproj b/test/Microsoft.AspNetCore.Razor.Test.MvcShim/Microsoft.AspNetCore.Razor.Test.MvcShim.csproj index 1562a234c3..8c0ce3583f 100644 --- a/test/Microsoft.AspNetCore.Razor.Test.MvcShim/Microsoft.AspNetCore.Razor.Test.MvcShim.csproj +++ b/test/Microsoft.AspNetCore.Razor.Test.MvcShim/Microsoft.AspNetCore.Razor.Test.MvcShim.csproj @@ -1,7 +1,7 @@ - + - netcoreapp2.1;netcoreapp2.0;net461 + netcoreapp2.2;net461 true diff --git a/test/Microsoft.AspNetCore.Razor.Tools.Test/Microsoft.AspNetCore.Razor.Tools.Test.csproj b/test/Microsoft.AspNetCore.Razor.Tools.Test/Microsoft.AspNetCore.Razor.Tools.Test.csproj index cef7bd4594..352f3a9e7d 100644 --- a/test/Microsoft.AspNetCore.Razor.Tools.Test/Microsoft.AspNetCore.Razor.Tools.Test.csproj +++ b/test/Microsoft.AspNetCore.Razor.Tools.Test/Microsoft.AspNetCore.Razor.Tools.Test.csproj @@ -1,7 +1,7 @@ - netcoreapp2.1 + netcoreapp2.2 diff --git a/test/RazorPageGenerator.Test/RazorPageGenerator.Test.csproj b/test/RazorPageGenerator.Test/RazorPageGenerator.Test.csproj index 6562721f98..414da38a02 100644 --- a/test/RazorPageGenerator.Test/RazorPageGenerator.Test.csproj +++ b/test/RazorPageGenerator.Test/RazorPageGenerator.Test.csproj @@ -1,7 +1,7 @@ - + - netcoreapp2.1 + netcoreapp2.2 $(DefineConstants);GENERATE_BASELINES $(DefineConstants);__RemoveThisBitTo__GENERATE_BASELINES diff --git a/test/testapps/AppWithP2PReference/AppWithP2PReference.csproj b/test/testapps/AppWithP2PReference/AppWithP2PReference.csproj index 6507b127b4..c15d826f9f 100644 --- a/test/testapps/AppWithP2PReference/AppWithP2PReference.csproj +++ b/test/testapps/AppWithP2PReference/AppWithP2PReference.csproj @@ -12,7 +12,7 @@ - netcoreapp2.1 + netcoreapp2.2 diff --git a/test/testapps/SimpleMvc/SimpleMvc.csproj b/test/testapps/SimpleMvc/SimpleMvc.csproj index 53b253536c..021c90eaa2 100644 --- a/test/testapps/SimpleMvc/SimpleMvc.csproj +++ b/test/testapps/SimpleMvc/SimpleMvc.csproj @@ -13,7 +13,7 @@ - netcoreapp2.1 + netcoreapp2.2 diff --git a/test/testapps/SimplePages/SimplePages.csproj b/test/testapps/SimplePages/SimplePages.csproj index 4a35836799..db5a44c5c5 100644 --- a/test/testapps/SimplePages/SimplePages.csproj +++ b/test/testapps/SimplePages/SimplePages.csproj @@ -13,7 +13,7 @@ - netcoreapp2.1 + netcoreapp2.2