From 5151e7b1edf9a9294d5af8b3c0dc54f4b59c9deb Mon Sep 17 00:00:00 2001 From: Nate McMaster Date: Tue, 11 Dec 2018 14:05:21 -0800 Subject: [PATCH 1/3] Workaround problems when opening solution files in Visual Studio (#4569) Changes: * Condense Routing.sln into HttpAbstractions.sln * Workaround NU1105 by adding all ProjectReferences to the .sln * Workaround exceptions in the ReferencesHostBridge by moving Reference items to a temporary item group * Add a 'startvs.cmd' script for launching VS with the right env variables * Remove RangeHelper test project * Move RangeHelper tests into StaticFiles.Tests and add target for NPM restore --- Microsoft.AspNetCore.sln | 39 ----- build/repo.props | 7 + build/repo.targets | 15 ++ docs/BuildFromSource.md | 95 ++++++++--- eng/Baseline.xml | 1 - eng/targets/CSharp.Common.targets | 6 + eng/targets/ResolveReferences.targets | 8 +- src/DataProtection/startvs.cmd | 3 + src/Http/HttpAbstractions.sln | 153 +++++++++++++++--- src/Http/Routing.sln | 137 ---------------- .../src/Microsoft.AspNetCore.Routing.csproj | 1 + src/Http/startvs.cmd | 3 + .../CorsMiddlewareFunctionalTest.cs | 0 .../CorsMiddlewareTests.cs | 0 .../{Test => UnitTests}/CorsOptionsTest.cs | 0 .../CorsPolicyBuilderTests.cs | 0 .../CorsPolicyExtensionsTests.cs | 0 .../{Test => UnitTests}/CorsPolicyTests.cs | 0 .../{Test => UnitTests}/CorsResultTests.cs | 0 .../{Test => UnitTests}/CorsServiceTests.cs | 0 .../{Test => UnitTests}/CorsTestFixtureOfT.cs | 0 .../DefaultCorsPolicyProviderTests.cs | 0 .../Microsoft.AspNetCore.Cors.Test.csproj | 0 .../{Test => UnitTests}/TestCorsOptions.cs | 0 .../{Test => UnitTests}/UriHelpersTests.cs | 0 src/Middleware/Middleware.sln | 141 ++++++++++++++-- .../Microsoft.AspNetCore.StaticFiles.csproj | 2 +- ...AspNetCore.RangeHelper.Sources.Test.csproj | 17 -- .../{Tests => UnitTests}/CacheHeaderTests.cs | 0 .../DefaultContentTypeProviderTests.cs | 0 .../DefaultFilesMiddlewareTests.cs | 0 .../DirectoryBrowserMiddlewareTests.cs | 0 ...rosoft.AspNetCore.StaticFiles.Tests.csproj | 1 - .../{Tests => UnitTests}/RangeHeaderTests.cs | 0 .../RangeHelperTests.cs | 0 .../StaticFileContextTest.cs | 0 .../StaticFileMiddlewareTests.cs | 0 .../StaticFilesTestServer.cs | 0 .../{Tests => UnitTests}/SubFolder/Empty.txt | 0 .../SubFolder/SingleByte.txt | 0 .../SubFolder/default.html | 0 .../{Tests => UnitTests}/SubFolder/extra.xml | 0 .../{Tests => UnitTests}/SubFolder/ranges.txt | 0 .../{Tests => UnitTests}/TestDocument.txt | 0 src/Middleware/startvs.cmd | 3 + src/Servers/Directory.Build.props | 4 +- src/Servers/Kestrel.sln | 80 +++++++++ .../FunctionalTests/GeneratedCodeTests.cs | 8 +- src/Servers/startvs.cmd | 3 + startvs.cmd | 32 ++++ 50 files changed, 494 insertions(+), 265 deletions(-) delete mode 100644 Microsoft.AspNetCore.sln create mode 100644 src/DataProtection/startvs.cmd delete mode 100644 src/Http/Routing.sln create mode 100644 src/Http/startvs.cmd rename src/Middleware/CORS/test/{Test => UnitTests}/CorsMiddlewareFunctionalTest.cs (100%) rename src/Middleware/CORS/test/{Test => UnitTests}/CorsMiddlewareTests.cs (100%) rename src/Middleware/CORS/test/{Test => UnitTests}/CorsOptionsTest.cs (100%) rename src/Middleware/CORS/test/{Test => UnitTests}/CorsPolicyBuilderTests.cs (100%) rename src/Middleware/CORS/test/{Test => UnitTests}/CorsPolicyExtensionsTests.cs (100%) rename src/Middleware/CORS/test/{Test => UnitTests}/CorsPolicyTests.cs (100%) rename src/Middleware/CORS/test/{Test => UnitTests}/CorsResultTests.cs (100%) rename src/Middleware/CORS/test/{Test => UnitTests}/CorsServiceTests.cs (100%) rename src/Middleware/CORS/test/{Test => UnitTests}/CorsTestFixtureOfT.cs (100%) rename src/Middleware/CORS/test/{Test => UnitTests}/DefaultCorsPolicyProviderTests.cs (100%) rename src/Middleware/CORS/test/{Test => UnitTests}/Microsoft.AspNetCore.Cors.Test.csproj (100%) rename src/Middleware/CORS/test/{Test => UnitTests}/TestCorsOptions.cs (100%) rename src/Middleware/CORS/test/{Test => UnitTests}/UriHelpersTests.cs (100%) delete mode 100644 src/Middleware/StaticFiles/test/RangeHelper.Sources.Test/Microsoft.AspNetCore.RangeHelper.Sources.Test.csproj rename src/Middleware/StaticFiles/test/{Tests => UnitTests}/CacheHeaderTests.cs (100%) rename src/Middleware/StaticFiles/test/{Tests => UnitTests}/DefaultContentTypeProviderTests.cs (100%) rename src/Middleware/StaticFiles/test/{Tests => UnitTests}/DefaultFilesMiddlewareTests.cs (100%) rename src/Middleware/StaticFiles/test/{Tests => UnitTests}/DirectoryBrowserMiddlewareTests.cs (100%) rename src/Middleware/StaticFiles/test/{Tests => UnitTests}/Microsoft.AspNetCore.StaticFiles.Tests.csproj (89%) rename src/Middleware/StaticFiles/test/{Tests => UnitTests}/RangeHeaderTests.cs (100%) rename src/Middleware/StaticFiles/test/{RangeHelper.Sources.Test => UnitTests}/RangeHelperTests.cs (100%) rename src/Middleware/StaticFiles/test/{Tests => UnitTests}/StaticFileContextTest.cs (100%) rename src/Middleware/StaticFiles/test/{Tests => UnitTests}/StaticFileMiddlewareTests.cs (100%) rename src/Middleware/StaticFiles/test/{Tests => UnitTests}/StaticFilesTestServer.cs (100%) rename src/Middleware/StaticFiles/test/{Tests => UnitTests}/SubFolder/Empty.txt (100%) rename src/Middleware/StaticFiles/test/{Tests => UnitTests}/SubFolder/SingleByte.txt (100%) rename src/Middleware/StaticFiles/test/{Tests => UnitTests}/SubFolder/default.html (100%) rename src/Middleware/StaticFiles/test/{Tests => UnitTests}/SubFolder/extra.xml (100%) rename src/Middleware/StaticFiles/test/{Tests => UnitTests}/SubFolder/ranges.txt (100%) rename src/Middleware/StaticFiles/test/{Tests => UnitTests}/TestDocument.txt (100%) create mode 100644 src/Middleware/startvs.cmd create mode 100644 src/Servers/startvs.cmd create mode 100644 startvs.cmd diff --git a/Microsoft.AspNetCore.sln b/Microsoft.AspNetCore.sln deleted file mode 100644 index 809b017e25..0000000000 --- a/Microsoft.AspNetCore.sln +++ /dev/null @@ -1,39 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 15 -VisualStudioVersion = 15.0.26124.0 -MinimumVisualStudioVersion = 15.0.26124.0 -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "test", "test", "{EE2CAA71-82AA-41C0-AE87-5B4FB77D6CFE}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SharedFx.UnitTests", "test\SharedFx.UnitTests\SharedFx.UnitTests.csproj", "{99CC38EC-902B-4B3F-AD33-177018110199}" -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(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {99CC38EC-902B-4B3F-AD33-177018110199}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {99CC38EC-902B-4B3F-AD33-177018110199}.Debug|Any CPU.Build.0 = Debug|Any CPU - {99CC38EC-902B-4B3F-AD33-177018110199}.Debug|x64.ActiveCfg = Debug|Any CPU - {99CC38EC-902B-4B3F-AD33-177018110199}.Debug|x64.Build.0 = Debug|Any CPU - {99CC38EC-902B-4B3F-AD33-177018110199}.Debug|x86.ActiveCfg = Debug|Any CPU - {99CC38EC-902B-4B3F-AD33-177018110199}.Debug|x86.Build.0 = Debug|Any CPU - {99CC38EC-902B-4B3F-AD33-177018110199}.Release|Any CPU.ActiveCfg = Release|Any CPU - {99CC38EC-902B-4B3F-AD33-177018110199}.Release|Any CPU.Build.0 = Release|Any CPU - {99CC38EC-902B-4B3F-AD33-177018110199}.Release|x64.ActiveCfg = Release|Any CPU - {99CC38EC-902B-4B3F-AD33-177018110199}.Release|x64.Build.0 = Release|Any CPU - {99CC38EC-902B-4B3F-AD33-177018110199}.Release|x86.ActiveCfg = Release|Any CPU - {99CC38EC-902B-4B3F-AD33-177018110199}.Release|x86.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(NestedProjects) = preSolution - {99CC38EC-902B-4B3F-AD33-177018110199} = {EE2CAA71-82AA-41C0-AE87-5B4FB77D6CFE} - EndGlobalSection -EndGlobal diff --git a/build/repo.props b/build/repo.props index ff0120ce5a..35e1ed077b 100644 --- a/build/repo.props +++ b/build/repo.props @@ -51,6 +51,13 @@ + + + $(GetArtifactInfoDependsOn);ResolveRepoInfo + + $(RestoreDependsOn);RestoreNpm + + + + + + + install --no-optional + ci + + + + + diff --git a/docs/BuildFromSource.md b/docs/BuildFromSource.md index aee68a11f0..0a95e6cd55 100644 --- a/docs/BuildFromSource.md +++ b/docs/BuildFromSource.md @@ -1,16 +1,11 @@ Build ASP.NET Core from Source ============================== -Building ASP.NET Core from source allows you tweak and customize ASP.NET Core, and -to contribute your improvements back to the project. +Building ASP.NET Core from source allows you tweak and customize ASP.NET Core, and to contribute your improvements back to the project. -## :warning: Temporary instructions +:warning: We are currently in the middle of restructing our source code. These instructions will likely change rapidly during November and December 2018. -We are currently in the middle of restructing our repositories. While this work is being done, the following instructions will help you be more productive while working on this repo. - -1. Before opening a solution, run `build.cmd /p:_ProjectsOnly=true /p:SkipTests=true`. This will only build the projects which have merged into this repo, not the git submodules. -2. Use (or create) a solution which is scoped to your project file. The build system does not use .sln files. These only exist for developer productivity in Visual Studio, so feel free to adjust the projects in .sln files to match your workload. -3. Questions? Contact @aspnet for help. +See https://github.com/aspnet/AspNetCore/labels/area-infrastructure for known issues and to track ongoing work. ## Install pre-requistes @@ -58,22 +53,66 @@ git submodule update --init --recursive ## Building in Visual Studio / Code -Before opening our .sln files in Visual Studio or VS Code, executing the following on command-line: -``` -.\build.cmd /t:Restore -``` -This will download required tools. +Before opening our .sln files in Visual Studio or VS Code, you need to perform the following actions. + +1. Executing the following on command-line: + ``` + .\build.cmd /p:SkipTests=true /p:_ProjectsOnly=true + ``` + This will download required tools and build the entire repository once. At that point, you should be able to open .sln files to work on the projects you care about. + +2. Use the `startvs.cmd` script to open Visual Studio .sln files. This script first sets required environment variables. + +> :bulb: Pro tip: you will also want to run this command after pulling large sets of changes. Visual Studio will only build projects in a solution file, and makes a best effort to use other files on disk. If you pull many changes, the files on disk may be stale and will need to re-build. + +### Solution files + +We don't have a single .sln file for all of ASP.NET Core because Visual Studio doesn't currently handle projects of this scale. +Instead, we have many .sln files which include a sub-set of projects. These principles guide how we create and manage .slns: + +1. Solution files are not used by CI or command line build scripts. They are for meant for use by developers only. +2. Solution files group together projects which are frequently edited at the same time. +3. Can't find a solution that has the projects you care about? Feel free to make a PR to add a new .sln file. + +> :bulb: Pro tip: `dotnet new sln` and `dotnet sln` are one of the easiest ways to create and modify solutions. + +### Known issue: NU1105 + +Opening solution files may produce an error code NU1105 with a message such + +> Unable to find project information for 'C:\src\AspNetCore\src\Hosting\Abstractions\src\Microsoft.AspNetCore.Hosting.Abstractions.csproj'. Inside Visual Studio, this may be because the project is unloaded or not part of current solution. Otherwise the project file may be invalid or missing targets required for restore. + +This is a known issue in NuGet () and we are working with them for a solution. See also to track progress on this. + +**The workaround** for now is to add all projects to the solution. + + dotnet sln add C:\src\AspNetCore\src\Hosting\Abstractions\src\Microsoft.AspNetCore.Hosting.Abstractions.csproj + #### PATH -For VS Code and Visual Studio to work correctly, you must place the following location in your PATH. -``` -Windows: %USERPROFILE%\.dotnet\x64 -Linux/macOS: $HOME/.dotnet -``` -This must come **before** any other installation of `dotnet`. In Windows, we recommend removing `C:\Program Files\dotnet` from PATH in system variables and adding `%USERPROFILE%\.dotnet\x64` to PATH in user variables. +For VS Code and Visual Studio and `dotnet` commands to work correctly, you must place the following location in your PATH. +Use the following commands to update the PATH variable in a command line window. - +Windows (Command Prompt) + +```batch +set PATH=%USERPROFILE%\.dotnet\x64;%PATH% +``` + +Windows (Powershell) + +```ps1 +$env:PATH="$env:USERPROFILE\.dotnet\x64;$env:PATH" +``` + +Linux/macOS: + +```sh +export PATH="$HOME/.dotnet:$PATH" +``` + +On Windows, we recommend using the `startvs.cmd` command to launch Visual Studio. ## Building on command-line @@ -89,6 +128,14 @@ On macOS/Linux: ./build.sh ``` +### Building a subset of the code + +This repository is large. Look for `build.cmd`/`.sh` scripts in subfolders. These scripts can be used to invoke build and test on a smaller set of projects. + +#### Known issue: not every subfolder has a build.cmd script + +We'll be adding more. See https://github.com/aspnet/AspNetCore/issues/4247. + #### Build properties Additional properties can be added as an argument in the form `/property:$name=$value`, or `/p:$name=$value` for short. For example: @@ -99,8 +146,8 @@ Additional properties can be added as an argument in the form `/property:$name=$ Common properties include: Property | Description --------------------------|--------------------------------------------------------- -BuildNumber | (string). A specific build number, typically from a CI counter +-------------------------|------------------------------------------------------------------------------------------------------------- +BuildNumberSuffix | (string). A specific build number, typically from a CI counter, which is appended to the pre-release label. Configuration | `Debug` or `Release`. Default = `Debug`. SkipTests | `true` or `false`. When true, builds without running tests. NoBuild | `true` or `false`. Runs tests without rebuilding. @@ -109,7 +156,7 @@ NoBuild | `true` or `false`. Runs tests without rebuilding. After building ASP.NET Core from source, you will need to install and use your local version of ASP.NET Core. -- Run the installers produced in `artifacts/installers/` for your platform. +- Run the installers produced in `artifacts/{Debug, Release}/installers/` for your platform. - Add a NuGet.Config to your project directory with the following content: ```xml @@ -128,7 +175,7 @@ After building ASP.NET Core from source, you will need to install and use your l - Update the versions on `PackageReference` items in your .csproj project file to point to the version from your local build. ```xml - + ``` diff --git a/eng/Baseline.xml b/eng/Baseline.xml index 689906d3cf..1a1f29b251 100644 --- a/eng/Baseline.xml +++ b/eng/Baseline.xml @@ -55,5 +55,4 @@ - diff --git a/eng/targets/CSharp.Common.targets b/eng/targets/CSharp.Common.targets index a7f7b610b6..8df4213c62 100644 --- a/eng/targets/CSharp.Common.targets +++ b/eng/targets/CSharp.Common.targets @@ -1,5 +1,11 @@ + + + net$(TargetFrameworkVersion.Substring(1).Replace('.','')) + .NETFramework + + diff --git a/eng/targets/ResolveReferences.targets b/eng/targets/ResolveReferences.targets index caf44207ee..7ff54b7d33 100644 --- a/eng/targets/ResolveReferences.targets +++ b/eng/targets/ResolveReferences.targets @@ -45,12 +45,18 @@ + + + <_ReferenceTemp Include="@(Reference)" /> + - + + <_ReferenceTemp Remove="@(_ReferenceTemp)" /> + + + 2.1.1 + + + + + + + + 2.1.1 diff --git a/eng/Baseline.xml b/eng/Baseline.xml index 1a1f29b251..dc0f2f0b13 100644 --- a/eng/Baseline.xml +++ b/eng/Baseline.xml @@ -50,6 +50,7 @@ + diff --git a/eng/Dependencies.props b/eng/Dependencies.props index aea94f775c..836b443038 100644 --- a/eng/Dependencies.props +++ b/eng/Dependencies.props @@ -17,6 +17,8 @@ + + diff --git a/eng/ProjectReferences.props b/eng/ProjectReferences.props index 15849673ea..bb785afb7d 100644 --- a/eng/ProjectReferences.props +++ b/eng/ProjectReferences.props @@ -38,6 +38,7 @@ + diff --git a/src/Middleware/Middleware.sln b/src/Middleware/Middleware.sln index 4967def70b..e861bd87a8 100644 --- a/src/Middleware/Middleware.sln +++ b/src/Middleware/Middleware.sln @@ -165,6 +165,14 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.Respon EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.ResponseCaching.Abstractions", "ResponseCaching.Abstractions\src\Microsoft.AspNetCore.ResponseCaching.Abstractions.csproj", "{D0204B45-8528-4504-9FC1-D229F3A33896}" EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Session", "Session", "{D1394339-B3BE-4F42-8EC0-6E02CC0165EE}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SessionSample", "Session\samples\SessionSample.csproj", "{3AD7A532-59FC-46BC-8257-D0E6F9533B73}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.Session", "Session\src\Microsoft.AspNetCore.Session.csproj", "{0FBCB5C7-B212-4BEE-B9AE-0BF653BBAD24}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.Session.Tests", "Session\test\Microsoft.AspNetCore.Session.Tests.csproj", "{20C89A12-96B6-4F2B-9CA8-62891DCA2549}" +EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.Server.Kestrel", "..\Servers\Kestrel\Kestrel\src\Microsoft.AspNetCore.Server.Kestrel.csproj", "{FD1C2473-5485-4105-87CB-617158F90FCA}" EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.TestHost", "..\Hosting\TestHost\src\Microsoft.AspNetCore.TestHost.csproj", "{6F6A7E3D-D883-494D-8C61-E75D7EBFE3F4}" @@ -865,6 +873,42 @@ Global {D0204B45-8528-4504-9FC1-D229F3A33896}.Release|x64.Build.0 = Release|Any CPU {D0204B45-8528-4504-9FC1-D229F3A33896}.Release|x86.ActiveCfg = Release|Any CPU {D0204B45-8528-4504-9FC1-D229F3A33896}.Release|x86.Build.0 = Release|Any CPU + {3AD7A532-59FC-46BC-8257-D0E6F9533B73}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {3AD7A532-59FC-46BC-8257-D0E6F9533B73}.Debug|Any CPU.Build.0 = Debug|Any CPU + {3AD7A532-59FC-46BC-8257-D0E6F9533B73}.Debug|x64.ActiveCfg = Debug|Any CPU + {3AD7A532-59FC-46BC-8257-D0E6F9533B73}.Debug|x64.Build.0 = Debug|Any CPU + {3AD7A532-59FC-46BC-8257-D0E6F9533B73}.Debug|x86.ActiveCfg = Debug|Any CPU + {3AD7A532-59FC-46BC-8257-D0E6F9533B73}.Debug|x86.Build.0 = Debug|Any CPU + {3AD7A532-59FC-46BC-8257-D0E6F9533B73}.Release|Any CPU.ActiveCfg = Release|Any CPU + {3AD7A532-59FC-46BC-8257-D0E6F9533B73}.Release|Any CPU.Build.0 = Release|Any CPU + {3AD7A532-59FC-46BC-8257-D0E6F9533B73}.Release|x64.ActiveCfg = Release|Any CPU + {3AD7A532-59FC-46BC-8257-D0E6F9533B73}.Release|x64.Build.0 = Release|Any CPU + {3AD7A532-59FC-46BC-8257-D0E6F9533B73}.Release|x86.ActiveCfg = Release|Any CPU + {3AD7A532-59FC-46BC-8257-D0E6F9533B73}.Release|x86.Build.0 = Release|Any CPU + {0FBCB5C7-B212-4BEE-B9AE-0BF653BBAD24}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {0FBCB5C7-B212-4BEE-B9AE-0BF653BBAD24}.Debug|Any CPU.Build.0 = Debug|Any CPU + {0FBCB5C7-B212-4BEE-B9AE-0BF653BBAD24}.Debug|x64.ActiveCfg = Debug|Any CPU + {0FBCB5C7-B212-4BEE-B9AE-0BF653BBAD24}.Debug|x64.Build.0 = Debug|Any CPU + {0FBCB5C7-B212-4BEE-B9AE-0BF653BBAD24}.Debug|x86.ActiveCfg = Debug|Any CPU + {0FBCB5C7-B212-4BEE-B9AE-0BF653BBAD24}.Debug|x86.Build.0 = Debug|Any CPU + {0FBCB5C7-B212-4BEE-B9AE-0BF653BBAD24}.Release|Any CPU.ActiveCfg = Release|Any CPU + {0FBCB5C7-B212-4BEE-B9AE-0BF653BBAD24}.Release|Any CPU.Build.0 = Release|Any CPU + {0FBCB5C7-B212-4BEE-B9AE-0BF653BBAD24}.Release|x64.ActiveCfg = Release|Any CPU + {0FBCB5C7-B212-4BEE-B9AE-0BF653BBAD24}.Release|x64.Build.0 = Release|Any CPU + {0FBCB5C7-B212-4BEE-B9AE-0BF653BBAD24}.Release|x86.ActiveCfg = Release|Any CPU + {0FBCB5C7-B212-4BEE-B9AE-0BF653BBAD24}.Release|x86.Build.0 = Release|Any CPU + {20C89A12-96B6-4F2B-9CA8-62891DCA2549}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {20C89A12-96B6-4F2B-9CA8-62891DCA2549}.Debug|Any CPU.Build.0 = Debug|Any CPU + {20C89A12-96B6-4F2B-9CA8-62891DCA2549}.Debug|x64.ActiveCfg = Debug|Any CPU + {20C89A12-96B6-4F2B-9CA8-62891DCA2549}.Debug|x64.Build.0 = Debug|Any CPU + {20C89A12-96B6-4F2B-9CA8-62891DCA2549}.Debug|x86.ActiveCfg = Debug|Any CPU + {20C89A12-96B6-4F2B-9CA8-62891DCA2549}.Debug|x86.Build.0 = Debug|Any CPU + {20C89A12-96B6-4F2B-9CA8-62891DCA2549}.Release|Any CPU.ActiveCfg = Release|Any CPU + {20C89A12-96B6-4F2B-9CA8-62891DCA2549}.Release|Any CPU.Build.0 = Release|Any CPU + {20C89A12-96B6-4F2B-9CA8-62891DCA2549}.Release|x64.ActiveCfg = Release|Any CPU + {20C89A12-96B6-4F2B-9CA8-62891DCA2549}.Release|x64.Build.0 = Release|Any CPU + {20C89A12-96B6-4F2B-9CA8-62891DCA2549}.Release|x86.ActiveCfg = Release|Any CPU + {20C89A12-96B6-4F2B-9CA8-62891DCA2549}.Release|x86.Build.0 = Release|Any CPU {FD1C2473-5485-4105-87CB-617158F90FCA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {FD1C2473-5485-4105-87CB-617158F90FCA}.Debug|Any CPU.Build.0 = Debug|Any CPU {FD1C2473-5485-4105-87CB-617158F90FCA}.Debug|x64.ActiveCfg = Debug|Any CPU @@ -1031,6 +1075,9 @@ Global {D8239A8C-F692-460A-B204-5CF05502BEE2} = {EDF56413-B406-4200-B4D4-0EE3F9CB8F7C} {9F973483-5D32-4093-88F0-761C9BEAEE04} = {EDF56413-B406-4200-B4D4-0EE3F9CB8F7C} {D0204B45-8528-4504-9FC1-D229F3A33896} = {7A493DEA-32F2-4AB1-9113-828D44F5DDA2} + {3AD7A532-59FC-46BC-8257-D0E6F9533B73} = {D1394339-B3BE-4F42-8EC0-6E02CC0165EE} + {0FBCB5C7-B212-4BEE-B9AE-0BF653BBAD24} = {D1394339-B3BE-4F42-8EC0-6E02CC0165EE} + {20C89A12-96B6-4F2B-9CA8-62891DCA2549} = {D1394339-B3BE-4F42-8EC0-6E02CC0165EE} {FD1C2473-5485-4105-87CB-617158F90FCA} = {ACA6DDB9-7592-47CE-A740-D15BF307E9E0} {6F6A7E3D-D883-494D-8C61-E75D7EBFE3F4} = {ACA6DDB9-7592-47CE-A740-D15BF307E9E0} {9D3062AB-5B11-4FFE-BEAF-304CF7F19AA5} = {ACA6DDB9-7592-47CE-A740-D15BF307E9E0} diff --git a/src/Middleware/Session/samples/SessionSample.csproj b/src/Middleware/Session/samples/SessionSample.csproj new file mode 100644 index 0000000000..e56bbdefff --- /dev/null +++ b/src/Middleware/Session/samples/SessionSample.csproj @@ -0,0 +1,17 @@ + + + + netcoreapp2.1;net461 + + + + + + + + + + + + + diff --git a/src/Session/samples/SessionSample/Startup.cs b/src/Middleware/Session/samples/Startup.cs similarity index 100% rename from src/Session/samples/SessionSample/Startup.cs rename to src/Middleware/Session/samples/Startup.cs diff --git a/src/Session/src/Microsoft.AspNetCore.Session/CookieProtection.cs b/src/Middleware/Session/src/CookieProtection.cs similarity index 100% rename from src/Session/src/Microsoft.AspNetCore.Session/CookieProtection.cs rename to src/Middleware/Session/src/CookieProtection.cs diff --git a/src/Session/src/Microsoft.AspNetCore.Session/DistributedSession.cs b/src/Middleware/Session/src/DistributedSession.cs similarity index 100% rename from src/Session/src/Microsoft.AspNetCore.Session/DistributedSession.cs rename to src/Middleware/Session/src/DistributedSession.cs diff --git a/src/Session/src/Microsoft.AspNetCore.Session/DistributedSessionStore.cs b/src/Middleware/Session/src/DistributedSessionStore.cs similarity index 100% rename from src/Session/src/Microsoft.AspNetCore.Session/DistributedSessionStore.cs rename to src/Middleware/Session/src/DistributedSessionStore.cs diff --git a/src/Session/src/Microsoft.AspNetCore.Session/EncodedKey.cs b/src/Middleware/Session/src/EncodedKey.cs similarity index 100% rename from src/Session/src/Microsoft.AspNetCore.Session/EncodedKey.cs rename to src/Middleware/Session/src/EncodedKey.cs diff --git a/src/Session/src/Microsoft.AspNetCore.Session/ISessionStore.cs b/src/Middleware/Session/src/ISessionStore.cs similarity index 100% rename from src/Session/src/Microsoft.AspNetCore.Session/ISessionStore.cs rename to src/Middleware/Session/src/ISessionStore.cs diff --git a/src/Session/src/Microsoft.AspNetCore.Session/LoggingExtensions.cs b/src/Middleware/Session/src/LoggingExtensions.cs similarity index 100% rename from src/Session/src/Microsoft.AspNetCore.Session/LoggingExtensions.cs rename to src/Middleware/Session/src/LoggingExtensions.cs diff --git a/src/Middleware/Session/src/Microsoft.AspNetCore.Session.csproj b/src/Middleware/Session/src/Microsoft.AspNetCore.Session.csproj new file mode 100644 index 0000000000..787ee561e5 --- /dev/null +++ b/src/Middleware/Session/src/Microsoft.AspNetCore.Session.csproj @@ -0,0 +1,20 @@ + + + + ASP.NET Core session state middleware. + netstandard2.0 + $(NoWarn);CS1591 + true + true + aspnetcore;session;sessionstate + + + + + + + + + + + diff --git a/src/Session/src/Microsoft.AspNetCore.Session/NoOpSessionStore.cs b/src/Middleware/Session/src/NoOpSessionStore.cs similarity index 100% rename from src/Session/src/Microsoft.AspNetCore.Session/NoOpSessionStore.cs rename to src/Middleware/Session/src/NoOpSessionStore.cs diff --git a/src/Session/src/Microsoft.AspNetCore.Session/Properties/Resources.Designer.cs b/src/Middleware/Session/src/Properties/Resources.Designer.cs similarity index 100% rename from src/Session/src/Microsoft.AspNetCore.Session/Properties/Resources.Designer.cs rename to src/Middleware/Session/src/Properties/Resources.Designer.cs diff --git a/src/Session/src/Microsoft.AspNetCore.Session/Resources.resx b/src/Middleware/Session/src/Resources.resx similarity index 100% rename from src/Session/src/Microsoft.AspNetCore.Session/Resources.resx rename to src/Middleware/Session/src/Resources.resx diff --git a/src/Session/src/Microsoft.AspNetCore.Session/SessionDefaults.cs b/src/Middleware/Session/src/SessionDefaults.cs similarity index 100% rename from src/Session/src/Microsoft.AspNetCore.Session/SessionDefaults.cs rename to src/Middleware/Session/src/SessionDefaults.cs diff --git a/src/Session/src/Microsoft.AspNetCore.Session/SessionFeature.cs b/src/Middleware/Session/src/SessionFeature.cs similarity index 100% rename from src/Session/src/Microsoft.AspNetCore.Session/SessionFeature.cs rename to src/Middleware/Session/src/SessionFeature.cs diff --git a/src/Session/src/Microsoft.AspNetCore.Session/SessionMiddleware.cs b/src/Middleware/Session/src/SessionMiddleware.cs similarity index 100% rename from src/Session/src/Microsoft.AspNetCore.Session/SessionMiddleware.cs rename to src/Middleware/Session/src/SessionMiddleware.cs diff --git a/src/Session/src/Microsoft.AspNetCore.Session/SessionMiddlewareExtensions.cs b/src/Middleware/Session/src/SessionMiddlewareExtensions.cs similarity index 100% rename from src/Session/src/Microsoft.AspNetCore.Session/SessionMiddlewareExtensions.cs rename to src/Middleware/Session/src/SessionMiddlewareExtensions.cs diff --git a/src/Session/src/Microsoft.AspNetCore.Session/SessionOptions.cs b/src/Middleware/Session/src/SessionOptions.cs similarity index 100% rename from src/Session/src/Microsoft.AspNetCore.Session/SessionOptions.cs rename to src/Middleware/Session/src/SessionOptions.cs diff --git a/src/Session/src/Microsoft.AspNetCore.Session/SessionServiceCollectionExtensions.cs b/src/Middleware/Session/src/SessionServiceCollectionExtensions.cs similarity index 100% rename from src/Session/src/Microsoft.AspNetCore.Session/SessionServiceCollectionExtensions.cs rename to src/Middleware/Session/src/SessionServiceCollectionExtensions.cs diff --git a/src/Session/src/Microsoft.AspNetCore.Session/SipHash.cs b/src/Middleware/Session/src/SipHash.cs similarity index 100% rename from src/Session/src/Microsoft.AspNetCore.Session/SipHash.cs rename to src/Middleware/Session/src/SipHash.cs diff --git a/src/Session/src/Microsoft.AspNetCore.Session/baseline.netcore.json b/src/Middleware/Session/src/baseline.netcore.json similarity index 100% rename from src/Session/src/Microsoft.AspNetCore.Session/baseline.netcore.json rename to src/Middleware/Session/src/baseline.netcore.json diff --git a/src/Middleware/Session/test/Microsoft.AspNetCore.Session.Tests.csproj b/src/Middleware/Session/test/Microsoft.AspNetCore.Session.Tests.csproj new file mode 100644 index 0000000000..4c3e5f7420 --- /dev/null +++ b/src/Middleware/Session/test/Microsoft.AspNetCore.Session.Tests.csproj @@ -0,0 +1,14 @@ + + + + $(StandardTestTfms) + + + + + + + + + + diff --git a/src/Session/test/Microsoft.AspNetCore.Session.Tests/SessionTests.cs b/src/Middleware/Session/test/SessionTests.cs similarity index 100% rename from src/Session/test/Microsoft.AspNetCore.Session.Tests/SessionTests.cs rename to src/Middleware/Session/test/SessionTests.cs diff --git a/src/Session/.gitignore b/src/Session/.gitignore deleted file mode 100644 index f332e76e0f..0000000000 --- a/src/Session/.gitignore +++ /dev/null @@ -1,33 +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 -.vs/ -.vscode/ -project.lock.json -.build/ -.testPublish/ -launchSettings.json -global.json diff --git a/src/Session/Directory.Build.props b/src/Session/Directory.Build.props deleted file mode 100644 index 2883c9cc0a..0000000000 --- a/src/Session/Directory.Build.props +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - - - - Microsoft ASP.NET Core - https://github.com/aspnet/AspNetCore - git - $(MSBuildThisFileDirectory) - $(MSBuildThisFileDirectory)build\Key.snk - true - true - true - - - diff --git a/src/Session/Directory.Build.targets b/src/Session/Directory.Build.targets deleted file mode 100644 index 53b3f6e1da..0000000000 --- a/src/Session/Directory.Build.targets +++ /dev/null @@ -1,7 +0,0 @@ - - - $(MicrosoftNETCoreApp20PackageVersion) - $(MicrosoftNETCoreApp21PackageVersion) - $(NETStandardLibrary20PackageVersion) - - diff --git a/src/Session/NuGetPackageVerifier.json b/src/Session/NuGetPackageVerifier.json deleted file mode 100644 index b153ab1515..0000000000 --- a/src/Session/NuGetPackageVerifier.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "Default": { - "rules": [ - "DefaultCompositeRule" - ] - } -} \ No newline at end of file diff --git a/src/Session/README.md b/src/Session/README.md deleted file mode 100644 index 976f9f21cf..0000000000 --- a/src/Session/README.md +++ /dev/null @@ -1,12 +0,0 @@ -Session -================ - -AppVeyor: [![AppVeyor](https://ci.appveyor.com/api/projects/status/yyivj6uwu3uj2x40/branch/dev?svg=true)](https://ci.appveyor.com/project/aspnetci/Session/branch/dev) - -Travis: [![Travis](https://travis-ci.org/aspnet/Session.svg?branch=dev)](https://travis-ci.org/aspnet/Session) - -Contains libraries for session state middleware for ASP.NET Core. - -For ASP.NET 4.x session state, please go to https://github.com/aspnet/AspNetSessionState. - -This project is part of ASP.NET Core. You can find samples, documentation and getting started instructions for ASP.NET Core at the [Home](https://github.com/aspnet/home) repo. diff --git a/src/Session/Session.sln b/src/Session/Session.sln deleted file mode 100644 index d8d95dc295..0000000000 --- a/src/Session/Session.sln +++ /dev/null @@ -1,74 +0,0 @@ -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 15 -VisualStudioVersion = 15.0.26621.2 -MinimumVisualStudioVersion = 15.0.26730.03 -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "test", "test", "{E9D63F97-6078-42AD-BFD3-F956BF921BB5}" - ProjectSection(SolutionItems) = preProject - test\Directory.Build.props = test\Directory.Build.props - EndProjectSection -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{A189F10C-3A9C-4F81-83D0-32E5FE50DAD8}" - ProjectSection(SolutionItems) = preProject - src\Directory.Build.props = src\Directory.Build.props - EndProjectSection -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.Session", "src\Microsoft.AspNetCore.Session\Microsoft.AspNetCore.Session.csproj", "{71802736-F640-4733-9671-02D267EDD76A}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.Session.Tests", "test\Microsoft.AspNetCore.Session.Tests\Microsoft.AspNetCore.Session.Tests.csproj", "{8C131A0A-BC1A-4CF3-8B77-8813FBFE5639}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "samples", "samples", "{94E80ED2-9F27-40AC-A9EF-C707BDFAA3BE}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SessionSample", "samples\SessionSample\SessionSample.csproj", "{FE0B9969-3BDE-4A7D-BE1B-47EAE8DBF365}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "SolutionItems", "SolutionItems", "{3B45F658-5BF1-4E07-BE9C-6F5110AC2277}" - ProjectSection(SolutionItems) = preProject - .appveyor.yml = .appveyor.yml - .gitattributes = .gitattributes - .gitignore = .gitignore - .travis.yml = .travis.yml - Directory.Build.props = Directory.Build.props - Directory.Build.targets = Directory.Build.targets - NuGet.config = NuGet.config - NuGetPackageVerifier.json = NuGetPackageVerifier.json - README.md = README.md - version.xml = version.xml - EndProjectSection -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "build", "build", "{4F21221F-2813-41B7-AAFC-E03FD52971CC}" - ProjectSection(SolutionItems) = preProject - build\common.props = build\common.props - build\dependencies.props = build\dependencies.props - EndProjectSection -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {71802736-F640-4733-9671-02D267EDD76A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {71802736-F640-4733-9671-02D267EDD76A}.Debug|Any CPU.Build.0 = Debug|Any CPU - {71802736-F640-4733-9671-02D267EDD76A}.Release|Any CPU.ActiveCfg = Release|Any CPU - {71802736-F640-4733-9671-02D267EDD76A}.Release|Any CPU.Build.0 = Release|Any CPU - {8C131A0A-BC1A-4CF3-8B77-8813FBFE5639}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {8C131A0A-BC1A-4CF3-8B77-8813FBFE5639}.Debug|Any CPU.Build.0 = Debug|Any CPU - {8C131A0A-BC1A-4CF3-8B77-8813FBFE5639}.Release|Any CPU.ActiveCfg = Release|Any CPU - {8C131A0A-BC1A-4CF3-8B77-8813FBFE5639}.Release|Any CPU.Build.0 = Release|Any CPU - {FE0B9969-3BDE-4A7D-BE1B-47EAE8DBF365}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {FE0B9969-3BDE-4A7D-BE1B-47EAE8DBF365}.Debug|Any CPU.Build.0 = Debug|Any CPU - {FE0B9969-3BDE-4A7D-BE1B-47EAE8DBF365}.Release|Any CPU.ActiveCfg = Release|Any CPU - {FE0B9969-3BDE-4A7D-BE1B-47EAE8DBF365}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(NestedProjects) = preSolution - {71802736-F640-4733-9671-02D267EDD76A} = {A189F10C-3A9C-4F81-83D0-32E5FE50DAD8} - {8C131A0A-BC1A-4CF3-8B77-8813FBFE5639} = {E9D63F97-6078-42AD-BFD3-F956BF921BB5} - {FE0B9969-3BDE-4A7D-BE1B-47EAE8DBF365} = {94E80ED2-9F27-40AC-A9EF-C707BDFAA3BE} - {4F21221F-2813-41B7-AAFC-E03FD52971CC} = {3B45F658-5BF1-4E07-BE9C-6F5110AC2277} - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {6AE224B9-B604-4E47-9617-9D114DAE9BE5} - EndGlobalSection -EndGlobal diff --git a/src/Session/build/Key.snk b/src/Session/build/Key.snk deleted file mode 100644 index e10e4889c125d3120cd9e81582243d70f7cbb806..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 596 zcmV-a0;~N80ssI2Bme+XQ$aES1ONa50098=Iw=HCsnz~#iVhm& zj%TU(_THUee?3yHBjk$37ysB?i5#7WD$={H zV4B!OxRPrb|8)HPg~A}8P>^=#y<)56#=E&NzcjOtPK~<4n6GHt=K$ro*T(lhby_@U zEk(hLzk1H)0yXj{A_5>fk-TgNoP|q6(tP2xo8zt8i%212CWM#AeCd?`hS|4~L({h~Moo(~vy&3Z z1uI}`fd^*>o=rwbAGymj6RM^pZm(*Kfhs+Y1#`-2JPWZMK8@;ZWCk2+9bX4YP);~fj-BU*R zQPvWv$89!{Rl9wM+zR>_TSkn^voYxA?2G iKnV#iZ6Ah`K>b=@=IjYJXrxL124zR(38)nxe+&q_$QXwJ diff --git a/src/Session/build/dependencies.props b/src/Session/build/dependencies.props deleted file mode 100644 index 6e86d21f90..0000000000 --- a/src/Session/build/dependencies.props +++ /dev/null @@ -1,36 +0,0 @@ - - - $(MSBuildAllProjects);$(MSBuildThisFileFullPath) - - - - - 2.1.3-rtm-15802 - 2.0.0 - 2.1.2 - 15.6.1 - 2.0.3 - 2.3.1 - 2.4.0-beta.1.build3945 - - - - - - - - 2.1.1 - 2.1.1 - 2.1.1 - 2.1.2 - 2.1.1 - 2.1.1 - 2.1.1 - 2.1.1 - 2.1.1 - 2.1.1 - 2.1.1 - 2.1.1 - 2.1.1 - - \ No newline at end of file diff --git a/src/Session/build/repo.props b/src/Session/build/repo.props deleted file mode 100644 index 1dc8b8100d..0000000000 --- a/src/Session/build/repo.props +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/src/Session/build/sources.props b/src/Session/build/sources.props deleted file mode 100644 index 9215df9751..0000000000 --- a/src/Session/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/Session/samples/SessionSample/Properties/launchSettings.json b/src/Session/samples/SessionSample/Properties/launchSettings.json deleted file mode 100644 index 6bab3d3602..0000000000 --- a/src/Session/samples/SessionSample/Properties/launchSettings.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "iisSettings": { - "windowsAuthentication": false, - "anonymousAuthentication": true, - "iisExpress": { - "applicationUrl": "http://localhost:2481/", - "sslPort": 0 - } - }, - "profiles": { - "IIS Express": { - "commandName": "IISExpress", - "launchBrowser": true, - "environmentVariables": { - "ASPNETCORE_ENVIRONMENT": "Development" - } - }, - "SessionSample": { - "commandName": "Project", - "launchBrowser": true, - "launchUrl": "http://localhost:5000", - "environmentVariables": { - "ASPNETCORE_ENVIRONMENT": "Development" - } - } - } -} \ No newline at end of file diff --git a/src/Session/samples/SessionSample/SessionSample.csproj b/src/Session/samples/SessionSample/SessionSample.csproj deleted file mode 100644 index 67abefae09..0000000000 --- a/src/Session/samples/SessionSample/SessionSample.csproj +++ /dev/null @@ -1,20 +0,0 @@ - - - - netcoreapp2.1;net461 - - - - - - - - - - - - - - - - diff --git a/src/Session/src/Directory.Build.props b/src/Session/src/Directory.Build.props deleted file mode 100644 index 1e0980f663..0000000000 --- a/src/Session/src/Directory.Build.props +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/src/Session/src/Microsoft.AspNetCore.Session/Microsoft.AspNetCore.Session.csproj b/src/Session/src/Microsoft.AspNetCore.Session/Microsoft.AspNetCore.Session.csproj deleted file mode 100644 index 3da00b9032..0000000000 --- a/src/Session/src/Microsoft.AspNetCore.Session/Microsoft.AspNetCore.Session.csproj +++ /dev/null @@ -1,20 +0,0 @@ - - - - ASP.NET Core session state middleware. - netstandard2.0 - $(NoWarn);CS1591 - true - true - aspnetcore;session;sessionstate - - - - - - - - - - - diff --git a/src/Session/test/Directory.Build.props b/src/Session/test/Directory.Build.props deleted file mode 100644 index 270e1fa209..0000000000 --- a/src/Session/test/Directory.Build.props +++ /dev/null @@ -1,14 +0,0 @@ - - - - - netcoreapp2.1 - $(DeveloperBuildTestTfms) - netcoreapp2.1;netcoreapp2.0 - $(StandardTestTfms);net461 - - - - - - diff --git a/src/Session/test/Microsoft.AspNetCore.Session.Tests/Microsoft.AspNetCore.Session.Tests.csproj b/src/Session/test/Microsoft.AspNetCore.Session.Tests/Microsoft.AspNetCore.Session.Tests.csproj deleted file mode 100644 index 9dc11b9d2f..0000000000 --- a/src/Session/test/Microsoft.AspNetCore.Session.Tests/Microsoft.AspNetCore.Session.Tests.csproj +++ /dev/null @@ -1,22 +0,0 @@ - - - - $(StandardTestTfms) - true - true - - - - - - - - - - - - - - - - diff --git a/src/Session/version.props b/src/Session/version.props deleted file mode 100644 index 669c874829..0000000000 --- a/src/Session/version.props +++ /dev/null @@ -1,12 +0,0 @@ - - - 2.1.1 - rtm - $(VersionPrefix) - $(VersionPrefix)-$(VersionSuffix)-final - t000 - a- - $(FeatureBranchVersionPrefix)$(VersionSuffix)-$([System.Text.RegularExpressions.Regex]::Replace('$(FeatureBranchVersionSuffix)', '[^\w-]', '-')) - $(VersionSuffix)-$(BuildNumber) - - From 719ff084094f2e32205035a7f7372ba1a4e4c171 Mon Sep 17 00:00:00 2001 From: Nate McMaster Date: Tue, 11 Dec 2018 14:56:56 -0800 Subject: [PATCH 3/3] Add RoutingSample.Web to HttpAbstractions.sln --- src/Http/HttpAbstractions.sln | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/src/Http/HttpAbstractions.sln b/src/Http/HttpAbstractions.sln index 2e963df3d2..17e89b8dea 100644 --- a/src/Http/HttpAbstractions.sln +++ b/src/Http/HttpAbstractions.sln @@ -75,7 +75,11 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.Routin EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.Mvc.Routing.Abstractions.Tests", "Routing.Abstractions\test\Microsoft.AspNetCore.Mvc.Routing.Abstractions.Tests.csproj", "{E4AC79A3-625B-421B-9F91-EFCBD9BEB37F}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Microsoft.AspNetCore.TestHost", "..\Hosting\TestHost\src\Microsoft.AspNetCore.TestHost.csproj", "{BF8DC0FF-96F9-4705-8CFA-F42BE989AB6A}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.AspNetCore.TestHost", "..\Hosting\TestHost\src\Microsoft.AspNetCore.TestHost.csproj", "{BF8DC0FF-96F9-4705-8CFA-F42BE989AB6A}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "RoutingSample.Web", "Routing\test\testassets\RoutingSample.Web\RoutingSample.Web.csproj", "{F4F5D8AF-FBD1-463F-9473-B63AA820A6C4}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "dependencies", "dependencies", "{793FFE24-138A-4C3D-81AB-18D625E36230}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -387,6 +391,18 @@ Global {BF8DC0FF-96F9-4705-8CFA-F42BE989AB6A}.Release|x64.Build.0 = Release|Any CPU {BF8DC0FF-96F9-4705-8CFA-F42BE989AB6A}.Release|x86.ActiveCfg = Release|Any CPU {BF8DC0FF-96F9-4705-8CFA-F42BE989AB6A}.Release|x86.Build.0 = Release|Any CPU + {F4F5D8AF-FBD1-463F-9473-B63AA820A6C4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {F4F5D8AF-FBD1-463F-9473-B63AA820A6C4}.Debug|Any CPU.Build.0 = Debug|Any CPU + {F4F5D8AF-FBD1-463F-9473-B63AA820A6C4}.Debug|x64.ActiveCfg = Debug|Any CPU + {F4F5D8AF-FBD1-463F-9473-B63AA820A6C4}.Debug|x64.Build.0 = Debug|Any CPU + {F4F5D8AF-FBD1-463F-9473-B63AA820A6C4}.Debug|x86.ActiveCfg = Debug|Any CPU + {F4F5D8AF-FBD1-463F-9473-B63AA820A6C4}.Debug|x86.Build.0 = Debug|Any CPU + {F4F5D8AF-FBD1-463F-9473-B63AA820A6C4}.Release|Any CPU.ActiveCfg = Release|Any CPU + {F4F5D8AF-FBD1-463F-9473-B63AA820A6C4}.Release|Any CPU.Build.0 = Release|Any CPU + {F4F5D8AF-FBD1-463F-9473-B63AA820A6C4}.Release|x64.ActiveCfg = Release|Any CPU + {F4F5D8AF-FBD1-463F-9473-B63AA820A6C4}.Release|x64.Build.0 = Release|Any CPU + {F4F5D8AF-FBD1-463F-9473-B63AA820A6C4}.Release|x86.ActiveCfg = Release|Any CPU + {F4F5D8AF-FBD1-463F-9473-B63AA820A6C4}.Release|x86.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE @@ -407,6 +423,7 @@ Global {5A64C915-7045-4100-B2CB-3A50BD854D2D} = {0B1B3E58-DA37-46D6-B791-47739EF27790} {21624719-422E-4621-A17A-C6F10436F1FE} = {4D5C4F16-5DC5-4244-A10F-08545126F61B} {38EA14B3-17BB-44F4-A9EA-A8675E9BF1E4} = {4D5C4F16-5DC5-4244-A10F-08545126F61B} + {391FBA36-BEEB-411A-A588-3F83901C0C1A} = {FB2DCA0F-EB9E-425B-ABBC-D543DBEC090F} {2378049E-ABE9-4843-AAC7-A6C9E704463D} = {391FBA36-BEEB-411A-A588-3F83901C0C1A} {1A866315-5FD5-4F96-BFAC-1447E3CB4514} = {80A090C8-ED02-4DE3-875A-30DCCDBD84BA} {068A1DA0-C7DF-4E3C-9933-4E79A141EFF8} = {80A090C8-ED02-4DE3-875A-30DCCDBD84BA} @@ -416,6 +433,8 @@ Global {8B64326C-A87F-4157-8337-22B5C4D7A4B7} = {14A7B3DE-46C8-4245-B0BD-9AFF3795C163} {3E8E6EAC-4C92-46C5-AED0-5F3C0745D34F} = {24D19E8E-25FD-4C0B-8865-697878B67BE0} {E4AC79A3-625B-421B-9F91-EFCBD9BEB37F} = {24D19E8E-25FD-4C0B-8865-697878B67BE0} + {BF8DC0FF-96F9-4705-8CFA-F42BE989AB6A} = {793FFE24-138A-4C3D-81AB-18D625E36230} + {F4F5D8AF-FBD1-463F-9473-B63AA820A6C4} = {14A7B3DE-46C8-4245-B0BD-9AFF3795C163} EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution SolutionGuid = {85B5E151-2E9D-419C-83DD-0DDCF446C83A}