From 7b773324410cb075ea1821bcc50f018f86d8a0f6 Mon Sep 17 00:00:00 2001 From: dotnet-maestro-bot Date: Tue, 18 Dec 2018 19:43:32 -0800 Subject: [PATCH] [automated] Merge branch 'release/2.2' => 'master' (#5892) --- build/dependencies.props | 1 + .../Microsoft.AspNetCore.Mvc.Core.csproj | 2 +- src/Servers/IIS/ResolveIisReferences.targets | 6 +++--- .../Microsoft.AspNetCore.Server.IIS.csproj | 11 +++++++++-- ...spNetCore.Server.IntegrationTesting.IIS.csproj | 15 +++++++++++++++ .../Utilities/IISTestSiteFixture.cs | 2 +- .../BackwardsCompatibilityTests.cs | 2 +- .../ForwardsCompatibilityTests.cs | 2 +- .../IIS/test/IIS.Tests/Utilities/TestServer.cs | 3 ++- .../IISExpress.FunctionalTests.csproj | 2 +- .../InProcessWebSite.csproj | 2 +- 11 files changed, 36 insertions(+), 12 deletions(-) diff --git a/build/dependencies.props b/build/dependencies.props index dddf86abfa..09f515241a 100644 --- a/build/dependencies.props +++ b/build/dependencies.props @@ -149,6 +149,7 @@ 2.2.0 2.2.0 2.2.1 + 2.2.0 5.2.6 2.3.2 1.1.3 diff --git a/src/Mvc/src/Microsoft.AspNetCore.Mvc.Core/Microsoft.AspNetCore.Mvc.Core.csproj b/src/Mvc/src/Microsoft.AspNetCore.Mvc.Core/Microsoft.AspNetCore.Mvc.Core.csproj index 075b0b3411..02e20b65df 100644 --- a/src/Mvc/src/Microsoft.AspNetCore.Mvc.Core/Microsoft.AspNetCore.Mvc.Core.csproj +++ b/src/Mvc/src/Microsoft.AspNetCore.Mvc.Core/Microsoft.AspNetCore.Mvc.Core.csproj @@ -51,4 +51,4 @@ Microsoft.AspNetCore.Mvc.RouteAttribute - + diff --git a/src/Servers/IIS/ResolveIisReferences.targets b/src/Servers/IIS/ResolveIisReferences.targets index b69a024af0..11b7c2a16c 100644 --- a/src/Servers/IIS/ResolveIisReferences.targets +++ b/src/Servers/IIS/ResolveIisReferences.targets @@ -16,7 +16,7 @@ with the right MSBuild incantations to get output copied to the right place. - + @@ -26,7 +26,7 @@ with the right MSBuild incantations to get output copied to the right place. Platform=x64 - x64\ + x64\%(HandlerPath)\ false @@ -48,7 +48,7 @@ with the right MSBuild incantations to get output copied to the right place. Platform=x86 - x86\ + x86\%(HandlerPath)\ false diff --git a/src/Servers/IIS/src/Microsoft.AspNetCore.Server.IIS/Microsoft.AspNetCore.Server.IIS.csproj b/src/Servers/IIS/src/Microsoft.AspNetCore.Server.IIS/Microsoft.AspNetCore.Server.IIS.csproj index a0d2bfbbc6..6d215a66bd 100644 --- a/src/Servers/IIS/src/Microsoft.AspNetCore.Server.IIS/Microsoft.AspNetCore.Server.IIS.csproj +++ b/src/Servers/IIS/src/Microsoft.AspNetCore.Server.IIS/Microsoft.AspNetCore.Server.IIS.csproj @@ -19,9 +19,16 @@ + + + + + + + + - - diff --git a/src/Servers/IIS/src/Microsoft.AspNetCore.Server.IntegrationTesting.IIS/Microsoft.AspNetCore.Server.IntegrationTesting.IIS.csproj b/src/Servers/IIS/src/Microsoft.AspNetCore.Server.IntegrationTesting.IIS/Microsoft.AspNetCore.Server.IntegrationTesting.IIS.csproj index 920ed36fa9..e3a8989875 100644 --- a/src/Servers/IIS/src/Microsoft.AspNetCore.Server.IntegrationTesting.IIS/Microsoft.AspNetCore.Server.IntegrationTesting.IIS.csproj +++ b/src/Servers/IIS/src/Microsoft.AspNetCore.Server.IntegrationTesting.IIS/Microsoft.AspNetCore.Server.IntegrationTesting.IIS.csproj @@ -13,10 +13,25 @@ true + + + + + + + + + + + + diff --git a/src/Servers/IIS/test/Common.FunctionalTests/Utilities/IISTestSiteFixture.cs b/src/Servers/IIS/test/Common.FunctionalTests/Utilities/IISTestSiteFixture.cs index 1c035a818c..71bd3eb1d6 100644 --- a/src/Servers/IIS/test/Common.FunctionalTests/Utilities/IISTestSiteFixture.cs +++ b/src/Servers/IIS/test/Common.FunctionalTests/Utilities/IISTestSiteFixture.cs @@ -50,7 +50,7 @@ namespace Microsoft.AspNetCore.Server.IISIntegration.FunctionalTests { } - public IISTestSiteFixture(Action configure) + internal IISTestSiteFixture(Action configure) { var logging = AssemblyTestLog.ForAssembly(typeof(IISTestSiteFixture).Assembly); _loggerFactory = logging.CreateLoggerFactory(null, nameof(IISTestSiteFixture)); diff --git a/src/Servers/IIS/test/IIS.BackwardsCompatibility.FunctionalTests/BackwardsCompatibilityTests.cs b/src/Servers/IIS/test/IIS.BackwardsCompatibility.FunctionalTests/BackwardsCompatibilityTests.cs index 1c05a2bc70..85de04c7e4 100644 --- a/src/Servers/IIS/test/IIS.BackwardsCompatibility.FunctionalTests/BackwardsCompatibilityTests.cs +++ b/src/Servers/IIS/test/IIS.BackwardsCompatibility.FunctionalTests/BackwardsCompatibilityTests.cs @@ -30,7 +30,7 @@ namespace Microsoft.AspNetCore.Server.IISIntegration.FunctionalTests { if (handle.ModuleName == "aspnetcorev2.dll") { - Assert.Equal("12.2.18287.0", handle.FileVersionInfo.FileVersion); + Assert.Equal("12.2.18316.0", handle.FileVersionInfo.FileVersion); return; } } diff --git a/src/Servers/IIS/test/IIS.ForwardsCompatibility.FunctionalTests/ForwardsCompatibilityTests.cs b/src/Servers/IIS/test/IIS.ForwardsCompatibility.FunctionalTests/ForwardsCompatibilityTests.cs index 5f4ebb5608..02b247ac4b 100644 --- a/src/Servers/IIS/test/IIS.ForwardsCompatibility.FunctionalTests/ForwardsCompatibilityTests.cs +++ b/src/Servers/IIS/test/IIS.ForwardsCompatibility.FunctionalTests/ForwardsCompatibilityTests.cs @@ -28,7 +28,7 @@ namespace Microsoft.AspNetCore.Server.IISIntegration.FunctionalTests { if (handle.ModuleName == "aspnetcorev2_inprocess.dll") { - Assert.Equal("12.2.18287.0", handle.FileVersionInfo.FileVersion); + Assert.Equal("12.2.18316.0", handle.FileVersionInfo.FileVersion); return; } } diff --git a/src/Servers/IIS/test/IIS.Tests/Utilities/TestServer.cs b/src/Servers/IIS/test/IIS.Tests/Utilities/TestServer.cs index 351b826316..0b94ea4dc3 100644 --- a/src/Servers/IIS/test/IIS.Tests/Utilities/TestServer.cs +++ b/src/Servers/IIS/test/IIS.Tests/Utilities/TestServer.cs @@ -31,7 +31,8 @@ namespace Microsoft.AspNetCore.Server.IISIntegration.FunctionalTests private const string HWebCoreDll = "hwebcore.dll"; internal static string HostableWebCoreLocation => Environment.ExpandEnvironmentVariables($@"%windir%\system32\inetsrv\{HWebCoreDll}"); - internal static string BasePath => Path.GetDirectoryName(new Uri(typeof(TestServer).Assembly.CodeBase).AbsolutePath); + internal static string BasePath => Path.Combine(Path.GetDirectoryName(new Uri(typeof(TestServer).Assembly.CodeBase).AbsolutePath), + Environment.Is64BitProcess ? "x64" : "x86"); internal static string AspNetCoreModuleLocation => Path.Combine(BasePath, AspNetCoreModuleDll); diff --git a/src/Servers/IIS/test/IISExpress.FunctionalTests/IISExpress.FunctionalTests.csproj b/src/Servers/IIS/test/IISExpress.FunctionalTests/IISExpress.FunctionalTests.csproj index 814c151b4f..82a46f110a 100644 --- a/src/Servers/IIS/test/IISExpress.FunctionalTests/IISExpress.FunctionalTests.csproj +++ b/src/Servers/IIS/test/IISExpress.FunctionalTests/IISExpress.FunctionalTests.csproj @@ -1,4 +1,4 @@ - + netcoreapp3.0 diff --git a/src/Servers/IIS/test/testassets/InProcessForwardsCompatWebSite/InProcessWebSite.csproj b/src/Servers/IIS/test/testassets/InProcessForwardsCompatWebSite/InProcessWebSite.csproj index 86844203a3..0b45b7c6f4 100644 --- a/src/Servers/IIS/test/testassets/InProcessForwardsCompatWebSite/InProcessWebSite.csproj +++ b/src/Servers/IIS/test/testassets/InProcessForwardsCompatWebSite/InProcessWebSite.csproj @@ -18,7 +18,7 @@ - +