From f111a2d73a8a256562e49d03ef330f2e4c647ba7 Mon Sep 17 00:00:00 2001 From: Justin Kotalik Date: Fri, 21 Dec 2018 14:14:10 -0800 Subject: [PATCH] Merge release/2.2 into master --- build/buildorder.props | 1 - build/submodules.props | 1 - src/ServerTests/.gitignore | 31 ---- src/ServerTests/Directory.Build.props | 23 --- src/ServerTests/Directory.Build.targets | 5 - src/ServerTests/NuGetPackageVerifier.json | 7 - src/ServerTests/README.md | 8 - src/ServerTests/ServerTests.sln | 53 ------ src/ServerTests/build/dependencies.props | 31 ---- src/ServerTests/build/repo.props | 12 -- src/ServerTests/build/sources.props | 17 -- .../ServerComparison.FunctionalTests.csproj | 23 --- .../Properties/launchSettings.json | 25 --- .../ServerComparison.TestSites.csproj | 26 --- src/ServerTests/test/aspnetcore_schema.xml | 39 ---- src/ServerTests/test/aspnetcore_schema_v2.xml | 47 ----- src/ServerTests/test/update_schema.ps1 | 72 -------- src/ServerTests/version.props | 12 -- src/Servers/FunctionalTests.sln | 173 ++++++++++++++++++ src/Servers/IIS/IISIntegration.NoV1.sln | 31 ++-- src/Servers/IIS/build/assets.props | 2 + src/Servers/IIS/build/testsite.props | 20 +- .../Microsoft.AspNetCore.Server.IIS.csproj | 9 +- ...tCore.Server.IntegrationTesting.IIS.csproj | 6 + .../IISExpress.FunctionalTests.csproj | 1 + .../TestTasks/InjectRequestHandler.cs | 56 ++++-- .../FunctionalTests/Directory.Build.props | 13 ++ .../test/FunctionalTests}/HelloWorldTest.cs | 2 +- .../test/FunctionalTests}/Helpers.cs | 8 +- .../test/FunctionalTests}/NoCompression.conf | 0 .../NtlmAuthenticationTest.cs | 0 .../Properties/AssemblyInfo.cs | 0 .../ResponseCompressionTests.cs | 0 .../test/FunctionalTests}/ResponseTests.cs | 0 .../ServerComparison.FunctionalTests.csproj | 20 ++ .../test/FunctionalTests}/nginx.conf | 0 .../Directory.Build.props | 13 ++ .../ServerComparison.TestSites/Program.cs | 0 .../ServerComparison.TestSites.csproj | 24 +++ .../ServerComparison.TestSites/Startup.cs | 0 .../StartupNtlmAuthentication.cs | 0 .../StartupResponseCompression.cs | 0 .../StartupResponses.cs | 0 43 files changed, 322 insertions(+), 489 deletions(-) delete mode 100644 src/ServerTests/.gitignore delete mode 100644 src/ServerTests/Directory.Build.props delete mode 100644 src/ServerTests/Directory.Build.targets delete mode 100644 src/ServerTests/NuGetPackageVerifier.json delete mode 100644 src/ServerTests/README.md delete mode 100644 src/ServerTests/ServerTests.sln delete mode 100644 src/ServerTests/build/dependencies.props delete mode 100644 src/ServerTests/build/repo.props delete mode 100644 src/ServerTests/build/sources.props delete mode 100644 src/ServerTests/test/ServerComparison.FunctionalTests/ServerComparison.FunctionalTests.csproj delete mode 100644 src/ServerTests/test/ServerComparison.TestSites/Properties/launchSettings.json delete mode 100644 src/ServerTests/test/ServerComparison.TestSites/ServerComparison.TestSites.csproj delete mode 100644 src/ServerTests/test/aspnetcore_schema.xml delete mode 100644 src/ServerTests/test/aspnetcore_schema_v2.xml delete mode 100644 src/ServerTests/test/update_schema.ps1 delete mode 100644 src/ServerTests/version.props create mode 100644 src/Servers/FunctionalTests.sln create mode 100644 src/Servers/test/FunctionalTests/Directory.Build.props rename src/{ServerTests/test/ServerComparison.FunctionalTests => Servers/test/FunctionalTests}/HelloWorldTest.cs (98%) rename src/{ServerTests/test/ServerComparison.FunctionalTests => Servers/test/FunctionalTests}/Helpers.cs (87%) rename src/{ServerTests/test/ServerComparison.FunctionalTests => Servers/test/FunctionalTests}/NoCompression.conf (100%) rename src/{ServerTests/test/ServerComparison.FunctionalTests => Servers/test/FunctionalTests}/NtlmAuthenticationTest.cs (100%) rename src/{ServerTests/test/ServerComparison.FunctionalTests => Servers/test/FunctionalTests}/Properties/AssemblyInfo.cs (100%) rename src/{ServerTests/test/ServerComparison.FunctionalTests => Servers/test/FunctionalTests}/ResponseCompressionTests.cs (100%) rename src/{ServerTests/test/ServerComparison.FunctionalTests => Servers/test/FunctionalTests}/ResponseTests.cs (100%) create mode 100644 src/Servers/test/FunctionalTests/ServerComparison.FunctionalTests.csproj rename src/{ServerTests/test/ServerComparison.FunctionalTests => Servers/test/FunctionalTests}/nginx.conf (100%) create mode 100644 src/Servers/testassets/ServerComparison.TestSites/Directory.Build.props rename src/{ServerTests/test => Servers/testassets}/ServerComparison.TestSites/Program.cs (100%) create mode 100644 src/Servers/testassets/ServerComparison.TestSites/ServerComparison.TestSites.csproj rename src/{ServerTests/test => Servers/testassets}/ServerComparison.TestSites/Startup.cs (100%) rename src/{ServerTests/test => Servers/testassets}/ServerComparison.TestSites/StartupNtlmAuthentication.cs (100%) rename src/{ServerTests/test => Servers/testassets}/ServerComparison.TestSites/StartupResponseCompression.cs (100%) rename src/{ServerTests/test => Servers/testassets}/ServerComparison.TestSites/StartupResponses.cs (100%) diff --git a/build/buildorder.props b/build/buildorder.props index 4671c2bf63..76b9d518b3 100644 --- a/build/buildorder.props +++ b/build/buildorder.props @@ -7,7 +7,6 @@ - diff --git a/build/submodules.props b/build/submodules.props index 20ff66acb5..1e139132e4 100644 --- a/build/submodules.props +++ b/build/submodules.props @@ -48,6 +48,5 @@ - diff --git a/src/ServerTests/.gitignore b/src/ServerTests/.gitignore deleted file mode 100644 index a7760db659..0000000000 --- a/src/ServerTests/.gitignore +++ /dev/null @@ -1,31 +0,0 @@ -[Oo]bj/ -[Bb]in/ -TestResults/ -.nuget/ -*.sln.ide/ -_ReSharper.*/ -packages/ -artifacts/ -PublishProfiles/ -*.user -*.suo -*.cache -*.docstates -_ReSharper.* -nuget.exe -*net45.csproj -*net451.csproj -*k10.csproj -*.psess -*.vsp -*.pidb -*.userprefs -*DS_Store -*.ncrunchsolution -*.*sdf -*.ipch -project.lock.json -/.vs/ -.testPublish/ -.build/ -global.json diff --git a/src/ServerTests/Directory.Build.props b/src/ServerTests/Directory.Build.props deleted file mode 100644 index 147891aaba..0000000000 --- a/src/ServerTests/Directory.Build.props +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - - - - Microsoft ASP.NET Core - https://github.com/aspnet/AspNetCore - git - $(MSBuildThisFileDirectory) - true - $(MSBuildThisFileDirectory)..\Shared\ - - - - - - - diff --git a/src/ServerTests/Directory.Build.targets b/src/ServerTests/Directory.Build.targets deleted file mode 100644 index 7a09b207eb..0000000000 --- a/src/ServerTests/Directory.Build.targets +++ /dev/null @@ -1,5 +0,0 @@ - - - $(MicrosoftNETCoreAppPackageVersion) - - diff --git a/src/ServerTests/NuGetPackageVerifier.json b/src/ServerTests/NuGetPackageVerifier.json deleted file mode 100644 index 22ef3c09c0..0000000000 --- a/src/ServerTests/NuGetPackageVerifier.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "Default": { - "rules": [ - "DefaultCompositeRule" - ] - } -} diff --git a/src/ServerTests/README.md b/src/ServerTests/README.md deleted file mode 100644 index c992a6e241..0000000000 --- a/src/ServerTests/README.md +++ /dev/null @@ -1,8 +0,0 @@ -Server Tests [Archived] -======================= - -**This GitHub project has been archived.** Ongoing development on this project can be found in . - -This repo hosts [HttpSysServer](https://github.com/aspnet/HttpSysServer) and [Kestrel](https://github.com/aspnet/KestrelHttpServer) tests. - -This project is part of ASP.NET Core. You can find samples, documentation and getting started instructions for ASP.NET Core at the [AspNetCore](https://github.com/aspnet/AspNetCore) repo. diff --git a/src/ServerTests/ServerTests.sln b/src/ServerTests/ServerTests.sln deleted file mode 100644 index 348408541c..0000000000 --- a/src/ServerTests/ServerTests.sln +++ /dev/null @@ -1,53 +0,0 @@ -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 15 -VisualStudioVersion = 15.0.27130.2036 -MinimumVisualStudioVersion = 15.0.26730.03 -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{49AB8AAA-8160-48DF-A18B-78F51E54E02A}" - ProjectSection(SolutionItems) = preProject - .appveyor.yml = .appveyor.yml - .travis.yml = .travis.yml - Directory.Build.props = Directory.Build.props - Directory.Build.targets = Directory.Build.targets - NuGet.config = NuGet.config - build\repo.props = build\repo.props - EndProjectSection -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "test", "test", "{FA91F388-F4AF-4850-9D68-D4D128E6B1A6}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ServerComparison.FunctionalTests", "test\ServerComparison.FunctionalTests\ServerComparison.FunctionalTests.csproj", "{A319ACCE-060B-4385-9534-9F2202F6180E}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ServerComparison.TestSites", "test\ServerComparison.TestSites\ServerComparison.TestSites.csproj", "{030225D8-4EE8-47E5-B692-2A96B3B51A38}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "build", "build", "{55694E45-5EDE-46F8-80AA-797DE5F8C5C3}" - ProjectSection(SolutionItems) = preProject - build\dependencies.props = build\dependencies.props - build\repo.props = build\repo.props - build\sources.props = build\sources.props - EndProjectSection -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {A319ACCE-060B-4385-9534-9F2202F6180E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {A319ACCE-060B-4385-9534-9F2202F6180E}.Debug|Any CPU.Build.0 = Debug|Any CPU - {A319ACCE-060B-4385-9534-9F2202F6180E}.Release|Any CPU.ActiveCfg = Release|Any CPU - {A319ACCE-060B-4385-9534-9F2202F6180E}.Release|Any CPU.Build.0 = Release|Any CPU - {030225D8-4EE8-47E5-B692-2A96B3B51A38}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {030225D8-4EE8-47E5-B692-2A96B3B51A38}.Debug|Any CPU.Build.0 = Debug|Any CPU - {030225D8-4EE8-47E5-B692-2A96B3B51A38}.Release|Any CPU.ActiveCfg = Release|Any CPU - {030225D8-4EE8-47E5-B692-2A96B3B51A38}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(NestedProjects) = preSolution - {A319ACCE-060B-4385-9534-9F2202F6180E} = {FA91F388-F4AF-4850-9D68-D4D128E6B1A6} - {030225D8-4EE8-47E5-B692-2A96B3B51A38} = {FA91F388-F4AF-4850-9D68-D4D128E6B1A6} - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {8A313020-8407-494F-81D7-7631580C5FCC} - EndGlobalSection -EndGlobal diff --git a/src/ServerTests/build/dependencies.props b/src/ServerTests/build/dependencies.props deleted file mode 100644 index 04df341118..0000000000 --- a/src/ServerTests/build/dependencies.props +++ /dev/null @@ -1,31 +0,0 @@ - - - $(MSBuildAllProjects);$(MSBuildThisFileFullPath) - - - 3.0.0-build-20181114.5 - 3.0.0-alpha1-10742 - 3.0.0-alpha1-10742 - 3.0.0-alpha1-10742 - 3.0.0-alpha1-10742 - 3.0.0-alpha1-10742 - 3.0.0-alpha1-10742 - 3.0.0-alpha1-10742 - 3.0.0-alpha1-10742 - 3.0.0-alpha1-10742 - 3.0.0-preview-181113-11 - 3.0.0-preview-181113-11 - 3.0.0-preview-181113-11 - 3.0.0-preview-181113-11 - 3.0.0-preview-181113-11 - 3.0.0-preview1-26907-05 - 3.0.0-alpha1-10742 - 15.6.1 - 1.4.0 - 4.0.0 - 2.3.1 - 2.4.0 - - - - diff --git a/src/ServerTests/build/repo.props b/src/ServerTests/build/repo.props deleted file mode 100644 index 182d6778c8..0000000000 --- a/src/ServerTests/build/repo.props +++ /dev/null @@ -1,12 +0,0 @@ - - - - - false - - - - - - - diff --git a/src/ServerTests/build/sources.props b/src/ServerTests/build/sources.props deleted file mode 100644 index 9215df9751..0000000000 --- a/src/ServerTests/build/sources.props +++ /dev/null @@ -1,17 +0,0 @@ - - - - - $(DotNetRestoreSources) - - $(RestoreSources); - https://dotnet.myget.org/F/dotnet-core/api/v3/index.json; - https://dotnet.myget.org/F/aspnetcore-dev/api/v3/index.json; - https://dotnet.myget.org/F/aspnetcore-tools/api/v3/index.json; - - - $(RestoreSources); - https://api.nuget.org/v3/index.json; - - - diff --git a/src/ServerTests/test/ServerComparison.FunctionalTests/ServerComparison.FunctionalTests.csproj b/src/ServerTests/test/ServerComparison.FunctionalTests/ServerComparison.FunctionalTests.csproj deleted file mode 100644 index 804152d589..0000000000 --- a/src/ServerTests/test/ServerComparison.FunctionalTests/ServerComparison.FunctionalTests.csproj +++ /dev/null @@ -1,23 +0,0 @@ - - - - netcoreapp3.0 - - - - - - - - - - - - - - - - - - - diff --git a/src/ServerTests/test/ServerComparison.TestSites/Properties/launchSettings.json b/src/ServerTests/test/ServerComparison.TestSites/Properties/launchSettings.json deleted file mode 100644 index 7e255d2086..0000000000 --- a/src/ServerTests/test/ServerComparison.TestSites/Properties/launchSettings.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "iisSettings": { - "windowsAuthentication": false, - "anonymousAuthentication": true, - "iisExpress": { - "applicationUrl": "http://localhost:39982/", - "sslPort": 0 - } - }, - "profiles": { - "IIS Express": { - "commandName": "IISExpress", - "launchBrowser": true, - "environmentVariables": { - "ASPNET_ENVIRONMENT": "HelloWorld" - } - }, - "web": { - "commandName": "web", - "environmentVariables": { - "ASPNET_ENVIRONMENT": "HelloWorld" - } - } - } -} \ No newline at end of file diff --git a/src/ServerTests/test/ServerComparison.TestSites/ServerComparison.TestSites.csproj b/src/ServerTests/test/ServerComparison.TestSites/ServerComparison.TestSites.csproj deleted file mode 100644 index 1e9df504e6..0000000000 --- a/src/ServerTests/test/ServerComparison.TestSites/ServerComparison.TestSites.csproj +++ /dev/null @@ -1,26 +0,0 @@ - - - - netcoreapp3.0 - win7-x86;win7-x64;linux-x64;osx-x64 - - - - - - - - - - - - - - - - - - - - - diff --git a/src/ServerTests/test/aspnetcore_schema.xml b/src/ServerTests/test/aspnetcore_schema.xml deleted file mode 100644 index c1590816b7..0000000000 --- a/src/ServerTests/test/aspnetcore_schema.xml +++ /dev/null @@ -1,39 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/ServerTests/test/aspnetcore_schema_v2.xml b/src/ServerTests/test/aspnetcore_schema_v2.xml deleted file mode 100644 index 06ff983c32..0000000000 --- a/src/ServerTests/test/aspnetcore_schema_v2.xml +++ /dev/null @@ -1,47 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/ServerTests/test/update_schema.ps1 b/src/ServerTests/test/update_schema.ps1 deleted file mode 100644 index f3cba7de92..0000000000 --- a/src/ServerTests/test/update_schema.ps1 +++ /dev/null @@ -1,72 +0,0 @@ -<# -.DESCRIPTION -Updates aspnetcore_schema.xml to the latest version. -Updates aspnetcore_schema_v2.xml to the latest version. -Requires admin privileges. -#> -[cmdletbinding(SupportsShouldProcess = $true)] -param() - -$ErrorActionPreference = 'Stop' -Set-StrictMode -Version 1 - -$ancmSchemaFiles = @( - "aspnetcore_schema.xml", - "aspnetcore_schema_v2.xml" -) - -$ancmSchemaFileLocations = @( - @(Resolve-Path "$PSScriptRoot\aspnetcore_schema.xml"), - @(Resolve-Path "$PSScriptRoot\aspnetcore_schema_v2.xml") -) - -[bool]$isAdmin = ([Security.Principal.WindowsPrincipal] [Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole] "Administrator") - -if (-not $isAdmin -and -not $WhatIfPreference) { - if ($PSCmdlet.ShouldContinue("Continue as an admin?", "This script needs admin privileges to update IIS Express and IIS.")) { - $thisFile = Join-Path $PSScriptRoot $MyInvocation.MyCommand.Name - - Start-Process ` - -Verb runas ` - -FilePath "powershell.exe" ` - -ArgumentList $thisFile ` - -Wait ` - | Out-Null - - if (-not $?) { - throw 'Update failed' - } - exit - } - else { - throw 'Requires admin privileges' - } -} - -for ($i=0; $i -lt $ancmSchemaFiles.Length; $i++) -{ - $schemaFile = $ancmSchemaFiles[$i] - $schemaSource = $ancmSchemaFileLocations[$i] - - $destinations = @( - "${env:ProgramFiles(x86)}\IIS Express\config\schema\", - "${env:ProgramFiles}\IIS Express\config\schema\", - "${env:windir}\system32\inetsrv\config\schema\" - ) - - foreach ($destPath in $destinations) { - $dest = "$destPath\${schemaFile}"; - - if (!(Test-Path $destPath)) - { - Write-Host "$destPath doesn't exist" - continue; - } - - if ($PSCmdlet.ShouldProcess($dest, "Replace file")) { - Write-Host "Updated $dest" - Move-Item $dest "${dest}.bak" -ErrorAction Ignore - Copy-Item $schemaSource $dest - } - } -} diff --git a/src/ServerTests/version.props b/src/ServerTests/version.props deleted file mode 100644 index 71a78cddd8..0000000000 --- a/src/ServerTests/version.props +++ /dev/null @@ -1,12 +0,0 @@ - - - 3.0.0 - alpha1 - $(VersionPrefix) - $(VersionPrefix)-$(VersionSuffix)-final - t000 - a- - $(FeatureBranchVersionPrefix)$(VersionSuffix)-$([System.Text.RegularExpressions.Regex]::Replace('$(FeatureBranchVersionSuffix)', '[^\w-]', '-')) - $(VersionSuffix)-$(BuildNumber) - - diff --git a/src/Servers/FunctionalTests.sln b/src/Servers/FunctionalTests.sln new file mode 100644 index 0000000000..ed7402e304 --- /dev/null +++ b/src/Servers/FunctionalTests.sln @@ -0,0 +1,173 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 15 +VisualStudioVersion = 15.0.26124.0 +MinimumVisualStudioVersion = 15.0.26124.0 +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ServerComparison.FunctionalTests", "test\FunctionalTests\ServerComparison.FunctionalTests.csproj", "{78018310-02F8-4BB8-A8E2-E88AF7A7F51E}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "_dependencies", "_dependencies", "{25B4D0F2-96D1-4F34-896E-ABA1E803A230}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.Server.IntegrationTesting", "..\Hosting\Server.IntegrationTesting\src\Microsoft.AspNetCore.Server.IntegrationTesting.csproj", "{C36232B5-48B5-4D9D-A357-17278265827E}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.Net.Http.Headers", "..\Http\Headers\src\Microsoft.Net.Http.Headers.csproj", "{4507F026-2C82-4DD7-965B-BD28C9F0EAB4}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.WebUtilities", "..\Http\WebUtilities\src\Microsoft.AspNetCore.WebUtilities.csproj", "{837CCC8E-AC1E-4A4C-94EE-7AFE0987314C}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.ResponseCompression", "..\Middleware\ResponseCompression\src\Microsoft.AspNetCore.ResponseCompression.csproj", "{4596F641-5AC2-4EC0-B7DD-998D1503D717}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.Server.HttpSys", "HttpSys\src\Microsoft.AspNetCore.Server.HttpSys.csproj", "{831EA089-7072-41CF-996A-75A3EF39D31E}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.Server.IISIntegration", "IIS\src\Microsoft.AspNetCore.Server.IISIntegration\Microsoft.AspNetCore.Server.IISIntegration.csproj", "{9DD063D3-CAE1-49C2-9C24-DE3499E79322}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.Server.Kestrel", "Kestrel\Kestrel\src\Microsoft.AspNetCore.Server.Kestrel.csproj", "{0DD5F47B-EDA3-405A-A2F3-08CB2566E30D}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ServerComparison.TestSites", "testassets\ServerComparison.TestSites\ServerComparison.TestSites.csproj", "{9D402831-ED2C-4026-925E-30F48371064A}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.Server.IIS", "IIS\src\Microsoft.AspNetCore.Server.IIS\Microsoft.AspNetCore.Server.IIS.csproj", "{6516E482-75AA-4B76-B9A6-87ABEE1DB625}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Debug|x64 = Debug|x64 + Debug|x86 = Debug|x86 + Release|Any CPU = Release|Any CPU + Release|x64 = Release|x64 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {78018310-02F8-4BB8-A8E2-E88AF7A7F51E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {78018310-02F8-4BB8-A8E2-E88AF7A7F51E}.Debug|Any CPU.Build.0 = Debug|Any CPU + {78018310-02F8-4BB8-A8E2-E88AF7A7F51E}.Debug|x64.ActiveCfg = Debug|Any CPU + {78018310-02F8-4BB8-A8E2-E88AF7A7F51E}.Debug|x64.Build.0 = Debug|Any CPU + {78018310-02F8-4BB8-A8E2-E88AF7A7F51E}.Debug|x86.ActiveCfg = Debug|Any CPU + {78018310-02F8-4BB8-A8E2-E88AF7A7F51E}.Debug|x86.Build.0 = Debug|Any CPU + {78018310-02F8-4BB8-A8E2-E88AF7A7F51E}.Release|Any CPU.ActiveCfg = Release|Any CPU + {78018310-02F8-4BB8-A8E2-E88AF7A7F51E}.Release|Any CPU.Build.0 = Release|Any CPU + {78018310-02F8-4BB8-A8E2-E88AF7A7F51E}.Release|x64.ActiveCfg = Release|Any CPU + {78018310-02F8-4BB8-A8E2-E88AF7A7F51E}.Release|x64.Build.0 = Release|Any CPU + {78018310-02F8-4BB8-A8E2-E88AF7A7F51E}.Release|x86.ActiveCfg = Release|Any CPU + {78018310-02F8-4BB8-A8E2-E88AF7A7F51E}.Release|x86.Build.0 = Release|Any CPU + {C36232B5-48B5-4D9D-A357-17278265827E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {C36232B5-48B5-4D9D-A357-17278265827E}.Debug|Any CPU.Build.0 = Debug|Any CPU + {C36232B5-48B5-4D9D-A357-17278265827E}.Debug|x64.ActiveCfg = Debug|Any CPU + {C36232B5-48B5-4D9D-A357-17278265827E}.Debug|x64.Build.0 = Debug|Any CPU + {C36232B5-48B5-4D9D-A357-17278265827E}.Debug|x86.ActiveCfg = Debug|Any CPU + {C36232B5-48B5-4D9D-A357-17278265827E}.Debug|x86.Build.0 = Debug|Any CPU + {C36232B5-48B5-4D9D-A357-17278265827E}.Release|Any CPU.ActiveCfg = Release|Any CPU + {C36232B5-48B5-4D9D-A357-17278265827E}.Release|Any CPU.Build.0 = Release|Any CPU + {C36232B5-48B5-4D9D-A357-17278265827E}.Release|x64.ActiveCfg = Release|Any CPU + {C36232B5-48B5-4D9D-A357-17278265827E}.Release|x64.Build.0 = Release|Any CPU + {C36232B5-48B5-4D9D-A357-17278265827E}.Release|x86.ActiveCfg = Release|Any CPU + {C36232B5-48B5-4D9D-A357-17278265827E}.Release|x86.Build.0 = Release|Any CPU + {4507F026-2C82-4DD7-965B-BD28C9F0EAB4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {4507F026-2C82-4DD7-965B-BD28C9F0EAB4}.Debug|Any CPU.Build.0 = Debug|Any CPU + {4507F026-2C82-4DD7-965B-BD28C9F0EAB4}.Debug|x64.ActiveCfg = Debug|Any CPU + {4507F026-2C82-4DD7-965B-BD28C9F0EAB4}.Debug|x64.Build.0 = Debug|Any CPU + {4507F026-2C82-4DD7-965B-BD28C9F0EAB4}.Debug|x86.ActiveCfg = Debug|Any CPU + {4507F026-2C82-4DD7-965B-BD28C9F0EAB4}.Debug|x86.Build.0 = Debug|Any CPU + {4507F026-2C82-4DD7-965B-BD28C9F0EAB4}.Release|Any CPU.ActiveCfg = Release|Any CPU + {4507F026-2C82-4DD7-965B-BD28C9F0EAB4}.Release|Any CPU.Build.0 = Release|Any CPU + {4507F026-2C82-4DD7-965B-BD28C9F0EAB4}.Release|x64.ActiveCfg = Release|Any CPU + {4507F026-2C82-4DD7-965B-BD28C9F0EAB4}.Release|x64.Build.0 = Release|Any CPU + {4507F026-2C82-4DD7-965B-BD28C9F0EAB4}.Release|x86.ActiveCfg = Release|Any CPU + {4507F026-2C82-4DD7-965B-BD28C9F0EAB4}.Release|x86.Build.0 = Release|Any CPU + {837CCC8E-AC1E-4A4C-94EE-7AFE0987314C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {837CCC8E-AC1E-4A4C-94EE-7AFE0987314C}.Debug|Any CPU.Build.0 = Debug|Any CPU + {837CCC8E-AC1E-4A4C-94EE-7AFE0987314C}.Debug|x64.ActiveCfg = Debug|Any CPU + {837CCC8E-AC1E-4A4C-94EE-7AFE0987314C}.Debug|x64.Build.0 = Debug|Any CPU + {837CCC8E-AC1E-4A4C-94EE-7AFE0987314C}.Debug|x86.ActiveCfg = Debug|Any CPU + {837CCC8E-AC1E-4A4C-94EE-7AFE0987314C}.Debug|x86.Build.0 = Debug|Any CPU + {837CCC8E-AC1E-4A4C-94EE-7AFE0987314C}.Release|Any CPU.ActiveCfg = Release|Any CPU + {837CCC8E-AC1E-4A4C-94EE-7AFE0987314C}.Release|Any CPU.Build.0 = Release|Any CPU + {837CCC8E-AC1E-4A4C-94EE-7AFE0987314C}.Release|x64.ActiveCfg = Release|Any CPU + {837CCC8E-AC1E-4A4C-94EE-7AFE0987314C}.Release|x64.Build.0 = Release|Any CPU + {837CCC8E-AC1E-4A4C-94EE-7AFE0987314C}.Release|x86.ActiveCfg = Release|Any CPU + {837CCC8E-AC1E-4A4C-94EE-7AFE0987314C}.Release|x86.Build.0 = Release|Any CPU + {4596F641-5AC2-4EC0-B7DD-998D1503D717}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {4596F641-5AC2-4EC0-B7DD-998D1503D717}.Debug|Any CPU.Build.0 = Debug|Any CPU + {4596F641-5AC2-4EC0-B7DD-998D1503D717}.Debug|x64.ActiveCfg = Debug|Any CPU + {4596F641-5AC2-4EC0-B7DD-998D1503D717}.Debug|x64.Build.0 = Debug|Any CPU + {4596F641-5AC2-4EC0-B7DD-998D1503D717}.Debug|x86.ActiveCfg = Debug|Any CPU + {4596F641-5AC2-4EC0-B7DD-998D1503D717}.Debug|x86.Build.0 = Debug|Any CPU + {4596F641-5AC2-4EC0-B7DD-998D1503D717}.Release|Any CPU.ActiveCfg = Release|Any CPU + {4596F641-5AC2-4EC0-B7DD-998D1503D717}.Release|Any CPU.Build.0 = Release|Any CPU + {4596F641-5AC2-4EC0-B7DD-998D1503D717}.Release|x64.ActiveCfg = Release|Any CPU + {4596F641-5AC2-4EC0-B7DD-998D1503D717}.Release|x64.Build.0 = Release|Any CPU + {4596F641-5AC2-4EC0-B7DD-998D1503D717}.Release|x86.ActiveCfg = Release|Any CPU + {4596F641-5AC2-4EC0-B7DD-998D1503D717}.Release|x86.Build.0 = Release|Any CPU + {831EA089-7072-41CF-996A-75A3EF39D31E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {831EA089-7072-41CF-996A-75A3EF39D31E}.Debug|Any CPU.Build.0 = Debug|Any CPU + {831EA089-7072-41CF-996A-75A3EF39D31E}.Debug|x64.ActiveCfg = Debug|Any CPU + {831EA089-7072-41CF-996A-75A3EF39D31E}.Debug|x64.Build.0 = Debug|Any CPU + {831EA089-7072-41CF-996A-75A3EF39D31E}.Debug|x86.ActiveCfg = Debug|Any CPU + {831EA089-7072-41CF-996A-75A3EF39D31E}.Debug|x86.Build.0 = Debug|Any CPU + {831EA089-7072-41CF-996A-75A3EF39D31E}.Release|Any CPU.ActiveCfg = Release|Any CPU + {831EA089-7072-41CF-996A-75A3EF39D31E}.Release|Any CPU.Build.0 = Release|Any CPU + {831EA089-7072-41CF-996A-75A3EF39D31E}.Release|x64.ActiveCfg = Release|Any CPU + {831EA089-7072-41CF-996A-75A3EF39D31E}.Release|x64.Build.0 = Release|Any CPU + {831EA089-7072-41CF-996A-75A3EF39D31E}.Release|x86.ActiveCfg = Release|Any CPU + {831EA089-7072-41CF-996A-75A3EF39D31E}.Release|x86.Build.0 = Release|Any CPU + {9DD063D3-CAE1-49C2-9C24-DE3499E79322}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {9DD063D3-CAE1-49C2-9C24-DE3499E79322}.Debug|Any CPU.Build.0 = Debug|Any CPU + {9DD063D3-CAE1-49C2-9C24-DE3499E79322}.Debug|x64.ActiveCfg = Debug|Any CPU + {9DD063D3-CAE1-49C2-9C24-DE3499E79322}.Debug|x64.Build.0 = Debug|Any CPU + {9DD063D3-CAE1-49C2-9C24-DE3499E79322}.Debug|x86.ActiveCfg = Debug|Any CPU + {9DD063D3-CAE1-49C2-9C24-DE3499E79322}.Debug|x86.Build.0 = Debug|Any CPU + {9DD063D3-CAE1-49C2-9C24-DE3499E79322}.Release|Any CPU.ActiveCfg = Release|Any CPU + {9DD063D3-CAE1-49C2-9C24-DE3499E79322}.Release|Any CPU.Build.0 = Release|Any CPU + {9DD063D3-CAE1-49C2-9C24-DE3499E79322}.Release|x64.ActiveCfg = Release|Any CPU + {9DD063D3-CAE1-49C2-9C24-DE3499E79322}.Release|x64.Build.0 = Release|Any CPU + {9DD063D3-CAE1-49C2-9C24-DE3499E79322}.Release|x86.ActiveCfg = Release|Any CPU + {9DD063D3-CAE1-49C2-9C24-DE3499E79322}.Release|x86.Build.0 = Release|Any CPU + {0DD5F47B-EDA3-405A-A2F3-08CB2566E30D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {0DD5F47B-EDA3-405A-A2F3-08CB2566E30D}.Debug|Any CPU.Build.0 = Debug|Any CPU + {0DD5F47B-EDA3-405A-A2F3-08CB2566E30D}.Debug|x64.ActiveCfg = Debug|Any CPU + {0DD5F47B-EDA3-405A-A2F3-08CB2566E30D}.Debug|x64.Build.0 = Debug|Any CPU + {0DD5F47B-EDA3-405A-A2F3-08CB2566E30D}.Debug|x86.ActiveCfg = Debug|Any CPU + {0DD5F47B-EDA3-405A-A2F3-08CB2566E30D}.Debug|x86.Build.0 = Debug|Any CPU + {0DD5F47B-EDA3-405A-A2F3-08CB2566E30D}.Release|Any CPU.ActiveCfg = Release|Any CPU + {0DD5F47B-EDA3-405A-A2F3-08CB2566E30D}.Release|Any CPU.Build.0 = Release|Any CPU + {0DD5F47B-EDA3-405A-A2F3-08CB2566E30D}.Release|x64.ActiveCfg = Release|Any CPU + {0DD5F47B-EDA3-405A-A2F3-08CB2566E30D}.Release|x64.Build.0 = Release|Any CPU + {0DD5F47B-EDA3-405A-A2F3-08CB2566E30D}.Release|x86.ActiveCfg = Release|Any CPU + {0DD5F47B-EDA3-405A-A2F3-08CB2566E30D}.Release|x86.Build.0 = Release|Any CPU + {9D402831-ED2C-4026-925E-30F48371064A}.Debug|Any CPU.ActiveCfg = Debug|x86 + {9D402831-ED2C-4026-925E-30F48371064A}.Debug|x64.ActiveCfg = Debug|x64 + {9D402831-ED2C-4026-925E-30F48371064A}.Debug|x64.Build.0 = Debug|x64 + {9D402831-ED2C-4026-925E-30F48371064A}.Debug|x86.ActiveCfg = Debug|x86 + {9D402831-ED2C-4026-925E-30F48371064A}.Debug|x86.Build.0 = Debug|x86 + {9D402831-ED2C-4026-925E-30F48371064A}.Release|Any CPU.ActiveCfg = Release|x86 + {9D402831-ED2C-4026-925E-30F48371064A}.Release|x64.ActiveCfg = Release|x64 + {9D402831-ED2C-4026-925E-30F48371064A}.Release|x64.Build.0 = Release|x64 + {9D402831-ED2C-4026-925E-30F48371064A}.Release|x86.ActiveCfg = Release|x86 + {9D402831-ED2C-4026-925E-30F48371064A}.Release|x86.Build.0 = Release|x86 + {6516E482-75AA-4B76-B9A6-87ABEE1DB625}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {6516E482-75AA-4B76-B9A6-87ABEE1DB625}.Debug|Any CPU.Build.0 = Debug|Any CPU + {6516E482-75AA-4B76-B9A6-87ABEE1DB625}.Debug|x64.ActiveCfg = Debug|Any CPU + {6516E482-75AA-4B76-B9A6-87ABEE1DB625}.Debug|x64.Build.0 = Debug|Any CPU + {6516E482-75AA-4B76-B9A6-87ABEE1DB625}.Debug|x86.ActiveCfg = Debug|Any CPU + {6516E482-75AA-4B76-B9A6-87ABEE1DB625}.Debug|x86.Build.0 = Debug|Any CPU + {6516E482-75AA-4B76-B9A6-87ABEE1DB625}.Release|Any CPU.ActiveCfg = Release|Any CPU + {6516E482-75AA-4B76-B9A6-87ABEE1DB625}.Release|Any CPU.Build.0 = Release|Any CPU + {6516E482-75AA-4B76-B9A6-87ABEE1DB625}.Release|x64.ActiveCfg = Release|Any CPU + {6516E482-75AA-4B76-B9A6-87ABEE1DB625}.Release|x64.Build.0 = Release|Any CPU + {6516E482-75AA-4B76-B9A6-87ABEE1DB625}.Release|x86.ActiveCfg = Release|Any CPU + {6516E482-75AA-4B76-B9A6-87ABEE1DB625}.Release|x86.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(NestedProjects) = preSolution + {C36232B5-48B5-4D9D-A357-17278265827E} = {25B4D0F2-96D1-4F34-896E-ABA1E803A230} + {4507F026-2C82-4DD7-965B-BD28C9F0EAB4} = {25B4D0F2-96D1-4F34-896E-ABA1E803A230} + {837CCC8E-AC1E-4A4C-94EE-7AFE0987314C} = {25B4D0F2-96D1-4F34-896E-ABA1E803A230} + {4596F641-5AC2-4EC0-B7DD-998D1503D717} = {25B4D0F2-96D1-4F34-896E-ABA1E803A230} + {831EA089-7072-41CF-996A-75A3EF39D31E} = {25B4D0F2-96D1-4F34-896E-ABA1E803A230} + {9DD063D3-CAE1-49C2-9C24-DE3499E79322} = {25B4D0F2-96D1-4F34-896E-ABA1E803A230} + {0DD5F47B-EDA3-405A-A2F3-08CB2566E30D} = {25B4D0F2-96D1-4F34-896E-ABA1E803A230} + {6516E482-75AA-4B76-B9A6-87ABEE1DB625} = {25B4D0F2-96D1-4F34-896E-ABA1E803A230} + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {F4D963C1-44FE-45AE-9B2A-11CD86C7539F} + EndGlobalSection +EndGlobal diff --git a/src/Servers/IIS/IISIntegration.NoV1.sln b/src/Servers/IIS/IISIntegration.NoV1.sln index 11c3b8fa77..4e82bfbad4 100644 --- a/src/Servers/IIS/IISIntegration.NoV1.sln +++ b/src/Servers/IIS/IISIntegration.NoV1.sln @@ -36,6 +36,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "build", "build", "{7E80C58E ProjectSection(SolutionItems) = preProject build\applicationhost.config = build\applicationhost.config build\applicationhost.iis.config = build\applicationhost.iis.config + build\assets.props = build\assets.props build\Build.Settings = build\Build.Settings build\Config.Definitions.Props = build\Config.Definitions.Props build\Key.snk = build\Key.snk @@ -68,8 +69,6 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "StressTestWebSite", "test\t {46A8612B-418B-4D70-B3A7-A21DD0627473} = {46A8612B-418B-4D70-B3A7-A21DD0627473} EndProjectSection EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TestTasks", "test\TestTasks\TestTasks.csproj", "{064D860B-4D7C-4B1D-918F-E020F1B99E2A}" -EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "WebSites", "WebSites", "{744ACDC6-F6A0-4FF9-9421-F25C5F2DC520}" EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "CommonLibTests", "test\CommonLibTests\CommonLibTests.vcxproj", "{1EAC8125-1765-4E2D-8CBE-56DC98A1C8C1}" @@ -116,6 +115,8 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "IIS.ForwardsCompatibility.F EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "InProcessWebSite", "test\testassets\InProcessForwardsCompatWebSite\InProcessWebSite.csproj", "{BBBC85B2-5D7A-4D09-90B1-8DBCC9059493}" EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TestTasks", "test\testassets\TestTasks\TestTasks.csproj", "{2DD1269D-131C-4531-BB0D-7BE0EF8E56D0}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -222,18 +223,6 @@ Global {13FD8F12-FFBE-4D01-B4AC-444F2994B04F}.Release|x64.Build.0 = Release|x64 {13FD8F12-FFBE-4D01-B4AC-444F2994B04F}.Release|x86.ActiveCfg = Release|x86 {13FD8F12-FFBE-4D01-B4AC-444F2994B04F}.Release|x86.Build.0 = Release|x86 - {064D860B-4D7C-4B1D-918F-E020F1B99E2A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {064D860B-4D7C-4B1D-918F-E020F1B99E2A}.Debug|Any CPU.Build.0 = Debug|Any CPU - {064D860B-4D7C-4B1D-918F-E020F1B99E2A}.Debug|x64.ActiveCfg = Debug|Any CPU - {064D860B-4D7C-4B1D-918F-E020F1B99E2A}.Debug|x64.Build.0 = Debug|Any CPU - {064D860B-4D7C-4B1D-918F-E020F1B99E2A}.Debug|x86.ActiveCfg = Debug|Any CPU - {064D860B-4D7C-4B1D-918F-E020F1B99E2A}.Debug|x86.Build.0 = Debug|Any CPU - {064D860B-4D7C-4B1D-918F-E020F1B99E2A}.Release|Any CPU.ActiveCfg = Release|Any CPU - {064D860B-4D7C-4B1D-918F-E020F1B99E2A}.Release|Any CPU.Build.0 = Release|Any CPU - {064D860B-4D7C-4B1D-918F-E020F1B99E2A}.Release|x64.ActiveCfg = Release|Any CPU - {064D860B-4D7C-4B1D-918F-E020F1B99E2A}.Release|x64.Build.0 = Release|Any CPU - {064D860B-4D7C-4B1D-918F-E020F1B99E2A}.Release|x86.ActiveCfg = Release|Any CPU - {064D860B-4D7C-4B1D-918F-E020F1B99E2A}.Release|x86.Build.0 = Release|Any CPU {1EAC8125-1765-4E2D-8CBE-56DC98A1C8C1}.Debug|Any CPU.ActiveCfg = Debug|Win32 {1EAC8125-1765-4E2D-8CBE-56DC98A1C8C1}.Debug|x64.ActiveCfg = Debug|x64 {1EAC8125-1765-4E2D-8CBE-56DC98A1C8C1}.Debug|x64.Build.0 = Debug|x64 @@ -420,6 +409,18 @@ Global {BBBC85B2-5D7A-4D09-90B1-8DBCC9059493}.Release|x64.Build.0 = Release|x64 {BBBC85B2-5D7A-4D09-90B1-8DBCC9059493}.Release|x86.ActiveCfg = Release|x86 {BBBC85B2-5D7A-4D09-90B1-8DBCC9059493}.Release|x86.Build.0 = Release|x86 + {2DD1269D-131C-4531-BB0D-7BE0EF8E56D0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {2DD1269D-131C-4531-BB0D-7BE0EF8E56D0}.Debug|Any CPU.Build.0 = Debug|Any CPU + {2DD1269D-131C-4531-BB0D-7BE0EF8E56D0}.Debug|x64.ActiveCfg = Debug|Any CPU + {2DD1269D-131C-4531-BB0D-7BE0EF8E56D0}.Debug|x64.Build.0 = Debug|Any CPU + {2DD1269D-131C-4531-BB0D-7BE0EF8E56D0}.Debug|x86.ActiveCfg = Debug|Any CPU + {2DD1269D-131C-4531-BB0D-7BE0EF8E56D0}.Debug|x86.Build.0 = Debug|Any CPU + {2DD1269D-131C-4531-BB0D-7BE0EF8E56D0}.Release|Any CPU.ActiveCfg = Release|Any CPU + {2DD1269D-131C-4531-BB0D-7BE0EF8E56D0}.Release|Any CPU.Build.0 = Release|Any CPU + {2DD1269D-131C-4531-BB0D-7BE0EF8E56D0}.Release|x64.ActiveCfg = Release|Any CPU + {2DD1269D-131C-4531-BB0D-7BE0EF8E56D0}.Release|x64.Build.0 = Release|Any CPU + {2DD1269D-131C-4531-BB0D-7BE0EF8E56D0}.Release|x86.ActiveCfg = Release|Any CPU + {2DD1269D-131C-4531-BB0D-7BE0EF8E56D0}.Release|x86.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE @@ -433,7 +434,6 @@ Global {679FA2A2-898B-4320-884E-C2D294A97CE1} = {744ACDC6-F6A0-4FF9-9421-F25C5F2DC520} {46A8612B-418B-4D70-B3A7-A21DD0627473} = {04B1EDB6-E967-4D25-89B9-E6F8304038CD} {13FD8F12-FFBE-4D01-B4AC-444F2994B04F} = {744ACDC6-F6A0-4FF9-9421-F25C5F2DC520} - {064D860B-4D7C-4B1D-918F-E020F1B99E2A} = {EF30B533-D715-421A-92B7-92FEF460AC9C} {744ACDC6-F6A0-4FF9-9421-F25C5F2DC520} = {EF30B533-D715-421A-92B7-92FEF460AC9C} {1EAC8125-1765-4E2D-8CBE-56DC98A1C8C1} = {EF30B533-D715-421A-92B7-92FEF460AC9C} {06CA2C2B-83B0-4D83-905A-E0C74790009E} = {04B1EDB6-E967-4D25-89B9-E6F8304038CD} @@ -453,6 +453,7 @@ Global {582B07BC-73F4-4689-8557-B039298BD82C} = {EF30B533-D715-421A-92B7-92FEF460AC9C} {D1EA5D99-28FD-4197-81DE-17098846B38B} = {EF30B533-D715-421A-92B7-92FEF460AC9C} {BBBC85B2-5D7A-4D09-90B1-8DBCC9059493} = {744ACDC6-F6A0-4FF9-9421-F25C5F2DC520} + {2DD1269D-131C-4531-BB0D-7BE0EF8E56D0} = {EF30B533-D715-421A-92B7-92FEF460AC9C} EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution SolutionGuid = {DB4F868D-E1AE-4FD7-9333-69FA15B268C5} diff --git a/src/Servers/IIS/build/assets.props b/src/Servers/IIS/build/assets.props index 6df77ee807..71165b1b06 100644 --- a/src/Servers/IIS/build/assets.props +++ b/src/Servers/IIS/build/assets.props @@ -167,6 +167,7 @@ DllLocation="$(MSBuildThisFileDirectory)..\src\AspNetCoreModuleV2\OutOfProcessRequestHandler\bin\$(Configuration)\x64\aspnetcorev2_outofprocess.dll" Include="$(MSBuildThisFileDirectory)..\src\AspNetCoreModuleV2\OutOfProcessRequestHandler\OutOfProcessRequestHandler.vcxproj" PdbLocation="$(MSBuildThisFileDirectory)..\src\AspNetCoreModuleV2\OutOfProcessRequestHandler\bin\$(Configuration)\x64\aspnetcorev2_outofprocess.pdb" + HandlerPath="2.0.0" /> $(MSBuildThisFileDirectory)..\test\testassets\TestTasks\bin\$(Configuration)\$(TargetFramework)\TestTasks - $(InjectDepsAssembly) - "win7-$(NativePlatform)" "$(AncmInProcessRHPath)" - - - - $(InjectDepsAssembly).exe - $(InjectDepsAssembly) - $(InjectDepsAssembly).dll - dotnet - $(InjectDepsAssembly) $(InjectDepsArguments) + dotnet $(InjectDepsAssembly).dll + - + - + 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 6d215a66bd..94a8e42d62 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 @@ -1,4 +1,4 @@ - + netcoreapp3.0 @@ -50,12 +50,7 @@ BeforeTargets="AssignTargetPaths" Condition="$(PackNativeAssets) == 'true'"> - - + 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 e3a8989875..cc0bd80174 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 @@ -32,6 +32,12 @@ + + + + + + diff --git a/src/Servers/IIS/test/IISExpress.FunctionalTests/IISExpress.FunctionalTests.csproj b/src/Servers/IIS/test/IISExpress.FunctionalTests/IISExpress.FunctionalTests.csproj index 82a46f110a..2fb4c01737 100644 --- a/src/Servers/IIS/test/IISExpress.FunctionalTests/IISExpress.FunctionalTests.csproj +++ b/src/Servers/IIS/test/IISExpress.FunctionalTests/IISExpress.FunctionalTests.csproj @@ -3,6 +3,7 @@ netcoreapp3.0 True + IISExpress.FunctionalTests true diff --git a/src/Servers/IIS/test/testassets/TestTasks/InjectRequestHandler.cs b/src/Servers/IIS/test/testassets/TestTasks/InjectRequestHandler.cs index 4da8129d71..488bd34968 100644 --- a/src/Servers/IIS/test/testassets/TestTasks/InjectRequestHandler.cs +++ b/src/Servers/IIS/test/testassets/TestTasks/InjectRequestHandler.cs @@ -12,11 +12,16 @@ namespace TestTasks { public class InjectRequestHandler { + private const string aspnetcoreV2Name = "aspnetcorev2_inprocess.dll"; + private static void Main(string[] args) { - string rid = args[0]; - string libraryLocation = args[1]; - string depsFile = args[2]; + string depsFile = args[0]; + string rid = ""; + if (args.Length > 1) + { + rid = args[1]; + } JToken deps; using (var file = File.OpenText(depsFile)) @@ -32,26 +37,47 @@ namespace TestTasks var target = (JObject)deps["targets"][targetName.Value]; var targetLibrary = target.Properties().FirstOrDefault(p => p.Name == libraryName); targetLibrary?.Remove(); + + var bitness = new JObject(); + if (string.IsNullOrEmpty(rid)) + { + bitness.Add(new JProperty($"x64/{aspnetcoreV2Name}", new JObject( + new JProperty("rid", "win7-x64"), + new JProperty("assetType", "native") + ))); + bitness.Add(new JProperty($"x86/{aspnetcoreV2Name}", new JObject( + new JProperty("rid", "win7-x86"), + new JProperty("assetType", "native") + ))); + } + else + { + bitness.Add(new JProperty(aspnetcoreV2Name, new JObject( + new JProperty("rid", rid), + new JProperty("assetType", "native") + ))); + var outputFolder = Path.GetDirectoryName(depsFile); + var bitnessString = rid.Substring(rid.Length - 3, 3); + File.Copy(Path.Combine(outputFolder, bitnessString, aspnetcoreV2Name), Path.Combine(outputFolder, aspnetcoreV2Name), overwrite: true); + } + targetLibrary = new JProperty(libraryName, new JObject( - new JProperty("runtimeTargets", new JObject( - new JProperty(libraryLocation.Replace('\\', '/'), new JObject( - new JProperty("rid", rid), - new JProperty("assetType", "native") - )))))); + new JProperty("runtimeTargets", bitness))); + target.AddFirst(targetLibrary); var library = libraries.Properties().FirstOrDefault(p => p.Name == libraryName); library?.Remove(); library = - new JProperty(libraryName, new JObject( - new JProperty("type", "package"), - new JProperty("serviceable", true), - new JProperty("sha512", ""), - new JProperty("path", libraryName), - new JProperty("hashPath", ""))); + new JProperty(libraryName, new JObject( + new JProperty("type", "package"), + new JProperty("serviceable", true), + new JProperty("sha512", ""), + new JProperty("path", libraryName), + new JProperty("hashPath", ""))); libraries.AddFirst(library); - + using (var file = File.CreateText(depsFile)) using (var writer = new JsonTextWriter(file) { Formatting = Formatting.Indented }) { diff --git a/src/Servers/test/FunctionalTests/Directory.Build.props b/src/Servers/test/FunctionalTests/Directory.Build.props new file mode 100644 index 0000000000..61a2a369ca --- /dev/null +++ b/src/Servers/test/FunctionalTests/Directory.Build.props @@ -0,0 +1,13 @@ + + + + + + $(MSBuildThisFileDirectory)obj\ + $(MSBuildThisFileDirectory)bin\ + + + + + + diff --git a/src/ServerTests/test/ServerComparison.FunctionalTests/HelloWorldTest.cs b/src/Servers/test/FunctionalTests/HelloWorldTest.cs similarity index 98% rename from src/ServerTests/test/ServerComparison.FunctionalTests/HelloWorldTest.cs rename to src/Servers/test/FunctionalTests/HelloWorldTest.cs index 5bae6f9050..23a1162c78 100644 --- a/src/ServerTests/test/ServerComparison.FunctionalTests/HelloWorldTest.cs +++ b/src/Servers/test/FunctionalTests/HelloWorldTest.cs @@ -22,7 +22,7 @@ namespace ServerComparison.FunctionalTests public static TestMatrix TestVariants => TestMatrix.ForServers(ServerType.IISExpress, ServerType.Kestrel, /* ServerType.Nginx, https://github.com/aspnet/AspNetCore-Internal/issues/1525 */ ServerType.HttpSys) .WithTfms(Tfm.NetCoreApp30) - .WithAllApplicationTypes() + .WithApplicationTypes(ApplicationType.Portable) .WithAllAncmVersions() .WithAllHostingModels() .WithAllArchitectures(); diff --git a/src/ServerTests/test/ServerComparison.FunctionalTests/Helpers.cs b/src/Servers/test/FunctionalTests/Helpers.cs similarity index 87% rename from src/ServerTests/test/ServerComparison.FunctionalTests/Helpers.cs rename to src/Servers/test/FunctionalTests/Helpers.cs index 5054bd157b..c919f030e1 100644 --- a/src/ServerTests/test/ServerComparison.FunctionalTests/Helpers.cs +++ b/src/Servers/test/FunctionalTests/Helpers.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; @@ -16,10 +16,10 @@ namespace ServerComparison.FunctionalTests var directoryInfo = new DirectoryInfo(applicationBasePath); do { - var solutionFileInfo = new FileInfo(Path.Combine(directoryInfo.FullName, "ServerTests.sln")); + var solutionFileInfo = new FileInfo(Path.Combine(directoryInfo.FullName, "FunctionalTests.sln")); if (solutionFileInfo.Exists) { - return Path.GetFullPath(Path.Combine(directoryInfo.FullName, "test", "ServerComparison.TestSites")); + return Path.GetFullPath(Path.Combine(directoryInfo.FullName, "testassets", "ServerComparison.TestSites")); } directoryInfo = directoryInfo.Parent; @@ -36,4 +36,4 @@ namespace ServerComparison.FunctionalTests return content; } } -} \ No newline at end of file +} diff --git a/src/ServerTests/test/ServerComparison.FunctionalTests/NoCompression.conf b/src/Servers/test/FunctionalTests/NoCompression.conf similarity index 100% rename from src/ServerTests/test/ServerComparison.FunctionalTests/NoCompression.conf rename to src/Servers/test/FunctionalTests/NoCompression.conf diff --git a/src/ServerTests/test/ServerComparison.FunctionalTests/NtlmAuthenticationTest.cs b/src/Servers/test/FunctionalTests/NtlmAuthenticationTest.cs similarity index 100% rename from src/ServerTests/test/ServerComparison.FunctionalTests/NtlmAuthenticationTest.cs rename to src/Servers/test/FunctionalTests/NtlmAuthenticationTest.cs diff --git a/src/ServerTests/test/ServerComparison.FunctionalTests/Properties/AssemblyInfo.cs b/src/Servers/test/FunctionalTests/Properties/AssemblyInfo.cs similarity index 100% rename from src/ServerTests/test/ServerComparison.FunctionalTests/Properties/AssemblyInfo.cs rename to src/Servers/test/FunctionalTests/Properties/AssemblyInfo.cs diff --git a/src/ServerTests/test/ServerComparison.FunctionalTests/ResponseCompressionTests.cs b/src/Servers/test/FunctionalTests/ResponseCompressionTests.cs similarity index 100% rename from src/ServerTests/test/ServerComparison.FunctionalTests/ResponseCompressionTests.cs rename to src/Servers/test/FunctionalTests/ResponseCompressionTests.cs diff --git a/src/ServerTests/test/ServerComparison.FunctionalTests/ResponseTests.cs b/src/Servers/test/FunctionalTests/ResponseTests.cs similarity index 100% rename from src/ServerTests/test/ServerComparison.FunctionalTests/ResponseTests.cs rename to src/Servers/test/FunctionalTests/ResponseTests.cs diff --git a/src/Servers/test/FunctionalTests/ServerComparison.FunctionalTests.csproj b/src/Servers/test/FunctionalTests/ServerComparison.FunctionalTests.csproj new file mode 100644 index 0000000000..d8262d23ee --- /dev/null +++ b/src/Servers/test/FunctionalTests/ServerComparison.FunctionalTests.csproj @@ -0,0 +1,20 @@ + + + + netcoreapp3.0 + + + + + + + + + + + + + + + + diff --git a/src/ServerTests/test/ServerComparison.FunctionalTests/nginx.conf b/src/Servers/test/FunctionalTests/nginx.conf similarity index 100% rename from src/ServerTests/test/ServerComparison.FunctionalTests/nginx.conf rename to src/Servers/test/FunctionalTests/nginx.conf diff --git a/src/Servers/testassets/ServerComparison.TestSites/Directory.Build.props b/src/Servers/testassets/ServerComparison.TestSites/Directory.Build.props new file mode 100644 index 0000000000..61a2a369ca --- /dev/null +++ b/src/Servers/testassets/ServerComparison.TestSites/Directory.Build.props @@ -0,0 +1,13 @@ + + + + + + $(MSBuildThisFileDirectory)obj\ + $(MSBuildThisFileDirectory)bin\ + + + + + + diff --git a/src/ServerTests/test/ServerComparison.TestSites/Program.cs b/src/Servers/testassets/ServerComparison.TestSites/Program.cs similarity index 100% rename from src/ServerTests/test/ServerComparison.TestSites/Program.cs rename to src/Servers/testassets/ServerComparison.TestSites/Program.cs diff --git a/src/Servers/testassets/ServerComparison.TestSites/ServerComparison.TestSites.csproj b/src/Servers/testassets/ServerComparison.TestSites/ServerComparison.TestSites.csproj new file mode 100644 index 0000000000..50d69ccb72 --- /dev/null +++ b/src/Servers/testassets/ServerComparison.TestSites/ServerComparison.TestSites.csproj @@ -0,0 +1,24 @@ + + + + + + netcoreapp3.0 + win7-x86;win7-x64;linux-x64;osx-x64 + true + + + + + + + + + + + + + + + + diff --git a/src/ServerTests/test/ServerComparison.TestSites/Startup.cs b/src/Servers/testassets/ServerComparison.TestSites/Startup.cs similarity index 100% rename from src/ServerTests/test/ServerComparison.TestSites/Startup.cs rename to src/Servers/testassets/ServerComparison.TestSites/Startup.cs diff --git a/src/ServerTests/test/ServerComparison.TestSites/StartupNtlmAuthentication.cs b/src/Servers/testassets/ServerComparison.TestSites/StartupNtlmAuthentication.cs similarity index 100% rename from src/ServerTests/test/ServerComparison.TestSites/StartupNtlmAuthentication.cs rename to src/Servers/testassets/ServerComparison.TestSites/StartupNtlmAuthentication.cs diff --git a/src/ServerTests/test/ServerComparison.TestSites/StartupResponseCompression.cs b/src/Servers/testassets/ServerComparison.TestSites/StartupResponseCompression.cs similarity index 100% rename from src/ServerTests/test/ServerComparison.TestSites/StartupResponseCompression.cs rename to src/Servers/testassets/ServerComparison.TestSites/StartupResponseCompression.cs diff --git a/src/ServerTests/test/ServerComparison.TestSites/StartupResponses.cs b/src/Servers/testassets/ServerComparison.TestSites/StartupResponses.cs similarity index 100% rename from src/ServerTests/test/ServerComparison.TestSites/StartupResponses.cs rename to src/Servers/testassets/ServerComparison.TestSites/StartupResponses.cs