From 20dcccd8473b7384904200cc8d54d45e6495cd8d Mon Sep 17 00:00:00 2001 From: Pranav K Date: Thu, 23 Mar 2017 09:08:05 -0700 Subject: [PATCH] Revert "Revert "Change compilation targets."" This reverts commit 5f76cd272a99719125ec31c4747688a61dacd74e. --- .gitignore | 3 ++- build/dependencies.props | 2 ++ samples/IISSample/IISSample.csproj | 2 +- samples/IISSample/web.config | 4 ++-- .../Microsoft.AspNetCore.Server.IISIntegration.csproj | 5 +---- .../HelloWorldTest.cs | 2 +- .../HttpsTest.cs | 4 ++-- ...spNetCore.Server.IISIntegration.FunctionalTests.csproj | 8 ++++---- .../NtlmAuthentationTest.cs | 2 +- ...icrosoft.AspNetCore.Server.IISIntegration.Tests.csproj | 6 ++++-- test/TestSites/TestSites.csproj | 4 ++-- 11 files changed, 22 insertions(+), 20 deletions(-) diff --git a/.gitignore b/.gitignore index f78ee9c2e4..25ea28a4e6 100644 --- a/.gitignore +++ b/.gitignore @@ -29,4 +29,5 @@ project.lock.json .testPublish/ .build/ *.nuget.props -*.nuget.targets \ No newline at end of file +*.nuget.targets +global.json diff --git a/build/dependencies.props b/build/dependencies.props index ecbe769d13..5e7ffd30e2 100644 --- a/build/dependencies.props +++ b/build/dependencies.props @@ -5,6 +5,8 @@ 1.0.0-* 4.3.0 1.6.1 + 2.0.0-* + 4.3.1 15.0.0 2.2.0 diff --git a/samples/IISSample/IISSample.csproj b/samples/IISSample/IISSample.csproj index f6ddaf7cf2..5d80070c40 100644 --- a/samples/IISSample/IISSample.csproj +++ b/samples/IISSample/IISSample.csproj @@ -3,7 +3,7 @@ - netcoreapp1.1;net451 + netcoreapp2.0;net46 diff --git a/samples/IISSample/web.config b/samples/IISSample/web.config index 710f1d6a23..afc7a862f0 100644 --- a/samples/IISSample/web.config +++ b/samples/IISSample/web.config @@ -10,11 +10,11 @@ - - diff --git a/src/Microsoft.AspNetCore.Server.IISIntegration/Microsoft.AspNetCore.Server.IISIntegration.csproj b/src/Microsoft.AspNetCore.Server.IISIntegration/Microsoft.AspNetCore.Server.IISIntegration.csproj index eebbca7bb9..e38b9bf8d7 100644 --- a/src/Microsoft.AspNetCore.Server.IISIntegration/Microsoft.AspNetCore.Server.IISIntegration.csproj +++ b/src/Microsoft.AspNetCore.Server.IISIntegration/Microsoft.AspNetCore.Server.IISIntegration.csproj @@ -4,7 +4,7 @@ ASP.NET Core components for working with the IIS AspNetCoreModule. - net451;netstandard1.3 + netstandard1.3 $(NoWarn);CS1591 true aspnetcore;iis @@ -19,9 +19,6 @@ - - - diff --git a/test/Microsoft.AspNetCore.Server.IISIntegration.FunctionalTests/HelloWorldTest.cs b/test/Microsoft.AspNetCore.Server.IISIntegration.FunctionalTests/HelloWorldTest.cs index ccd8eea846..04194275eb 100644 --- a/test/Microsoft.AspNetCore.Server.IISIntegration.FunctionalTests/HelloWorldTest.cs +++ b/test/Microsoft.AspNetCore.Server.IISIntegration.FunctionalTests/HelloWorldTest.cs @@ -57,7 +57,7 @@ namespace Microsoft.AspNetCore.Server.IISIntegration.FunctionalTests EnvironmentName = "HelloWorld", // Will pick the Start class named 'StartupHelloWorld', ServerConfigTemplateContent = (serverType == ServerType.IISExpress) ? File.ReadAllText("Http.config") : null, SiteName = "HttpTestSite", // This is configured in the Http.config - TargetFramework = runtimeFlavor == RuntimeFlavor.Clr ? "net452" : "netcoreapp1.1", + TargetFramework = runtimeFlavor == RuntimeFlavor.Clr ? "net46" : "netcoreapp2.0", ApplicationType = applicationType }; diff --git a/test/Microsoft.AspNetCore.Server.IISIntegration.FunctionalTests/HttpsTest.cs b/test/Microsoft.AspNetCore.Server.IISIntegration.FunctionalTests/HttpsTest.cs index 22fea9325e..9d45d66f44 100644 --- a/test/Microsoft.AspNetCore.Server.IISIntegration.FunctionalTests/HttpsTest.cs +++ b/test/Microsoft.AspNetCore.Server.IISIntegration.FunctionalTests/HttpsTest.cs @@ -44,7 +44,7 @@ namespace Microsoft.AspNetCore.Server.IISIntegration.FunctionalTests EnvironmentName = "HttpsHelloWorld", // Will pick the Start class named 'StartupHttpsHelloWorld', ServerConfigTemplateContent = (serverType == ServerType.IISExpress) ? File.ReadAllText("Https.config") : null, SiteName = "HttpsTestSite", // This is configured in the Https.config - TargetFramework = runtimeFlavor == RuntimeFlavor.Clr ? "net452" : "netcoreapp1.1", + TargetFramework = runtimeFlavor == RuntimeFlavor.Clr ? "net46" : "netcoreapp2.0", ApplicationType = applicationType }; @@ -116,7 +116,7 @@ namespace Microsoft.AspNetCore.Server.IISIntegration.FunctionalTests EnvironmentName = "HttpsHelloWorld", // Will pick the Start class named 'StartupHttpsHelloWorld', ServerConfigTemplateContent = (serverType == ServerType.IISExpress) ? File.ReadAllText("Https.config") : null, SiteName = "HttpsTestSite", // This is configured in the Https.config - TargetFramework = runtimeFlavor == RuntimeFlavor.Clr ? "net452" : "netcoreapp1.1", + TargetFramework = runtimeFlavor == RuntimeFlavor.Clr ? "net46" : "netcoreapp2.0", ApplicationType = applicationType }; diff --git a/test/Microsoft.AspNetCore.Server.IISIntegration.FunctionalTests/Microsoft.AspNetCore.Server.IISIntegration.FunctionalTests.csproj b/test/Microsoft.AspNetCore.Server.IISIntegration.FunctionalTests/Microsoft.AspNetCore.Server.IISIntegration.FunctionalTests.csproj index c435919a54..12dc5c3e89 100644 --- a/test/Microsoft.AspNetCore.Server.IISIntegration.FunctionalTests/Microsoft.AspNetCore.Server.IISIntegration.FunctionalTests.csproj +++ b/test/Microsoft.AspNetCore.Server.IISIntegration.FunctionalTests/Microsoft.AspNetCore.Server.IISIntegration.FunctionalTests.csproj @@ -3,7 +3,9 @@ - net452 + net46 + true + true @@ -16,11 +18,9 @@ + - - - diff --git a/test/Microsoft.AspNetCore.Server.IISIntegration.FunctionalTests/NtlmAuthentationTest.cs b/test/Microsoft.AspNetCore.Server.IISIntegration.FunctionalTests/NtlmAuthentationTest.cs index a2c1ab728d..a8e6b0e6e7 100644 --- a/test/Microsoft.AspNetCore.Server.IISIntegration.FunctionalTests/NtlmAuthentationTest.cs +++ b/test/Microsoft.AspNetCore.Server.IISIntegration.FunctionalTests/NtlmAuthentationTest.cs @@ -51,7 +51,7 @@ namespace Microsoft.AspNetCore.Server.IISIntegration.FunctionalTests EnvironmentName = "NtlmAuthentication", // Will pick the Start class named 'StartupNtlmAuthentication' ServerConfigTemplateContent = (serverType == ServerType.IISExpress) ? File.ReadAllText("NtlmAuthentation.config") : null, SiteName = "NtlmAuthenticationTestSite", // This is configured in the NtlmAuthentication.config - TargetFramework = runtimeFlavor == RuntimeFlavor.Clr ? "net452" : "netcoreapp1.1", + TargetFramework = runtimeFlavor == RuntimeFlavor.Clr ? "net46" : "netcoreapp2.0", ApplicationType = applicationType, AdditionalPublishParameters = ApplicationType.Standalone == applicationType && RuntimeFlavor.CoreClr == runtimeFlavor ? "-r " + windowsRid diff --git a/test/Microsoft.AspNetCore.Server.IISIntegration.Tests/Microsoft.AspNetCore.Server.IISIntegration.Tests.csproj b/test/Microsoft.AspNetCore.Server.IISIntegration.Tests/Microsoft.AspNetCore.Server.IISIntegration.Tests.csproj index 53215c9b33..7bc92ba003 100644 --- a/test/Microsoft.AspNetCore.Server.IISIntegration.Tests/Microsoft.AspNetCore.Server.IISIntegration.Tests.csproj +++ b/test/Microsoft.AspNetCore.Server.IISIntegration.Tests/Microsoft.AspNetCore.Server.IISIntegration.Tests.csproj @@ -3,8 +3,10 @@ - netcoreapp1.1;net452 - netcoreapp1.1 + netcoreapp2.0;net46 + netcoreapp2.0 + true + true diff --git a/test/TestSites/TestSites.csproj b/test/TestSites/TestSites.csproj index 2dabde6b8f..d203449431 100644 --- a/test/TestSites/TestSites.csproj +++ b/test/TestSites/TestSites.csproj @@ -3,8 +3,8 @@ - netcoreapp1.1;net452 - netcoreapp1.1 + netcoreapp2.0;net46 + netcoreapp2.0