From 5266918ed2be1989e11bba1396806c5aaa67d441 Mon Sep 17 00:00:00 2001
From: Doug Bunting <6431421+dougbu@users.noreply.github.com>
Date: Fri, 17 Jul 2020 13:35:17 -0700
Subject: [PATCH] Use Roslyn to create ref/ assemblies (#23403)
* Remove all ref/ projects
* Remove GenAPI infrastructure
* Remove notion of a reference assembly project
- remove `$(IsReferenceAssemblyProject)`, `$(ReferenceReferenceAssemblies)` and `$(ReferenceImplementationAssemblies)`
- remove unnecessary `$(NoWarn)` settings
nits:
- remove a few misleading comments
- wrap some long lines
* Move .0 package version workaround into Versions.props
- touch up SharedFramework.External.props
* Expose `%(LatestPackageReference.RTMVersion)` metadata
- automate use of properties in the `@(LatestPackageReference)` item group to make this maintainable
- add a couple of special cases at the bottom of eng/Dependencies.props
- add one more `$(...PackageVersion)` property to avoid yet-another special case
* Enable Roslyn reference assemblies
- exclude ref/ assembly from packages other than targeting pack
- update Microsoft.AspNetCore.App.Ref.csproj
- `%(IsReferenceAssembly)` and `%(ReferenceGrouping)` metadata no longer relevant
- only ref/ assemblies are in `@(ReferencePathWithRefAssemblies)` item group
nits:
- remove now-unnecessary workaround
- issues with TFM transition are behind us
- clean up Microsoft.AspNetCore.App.Runtime.csproj slightly
- use `GeneratePathProperty="true"`
- reorder item / property settings for meta-expansion
- correct spelling errors and phrasing in comments
* Update documentation to reflect recent changes
- remove CrossRepoBreakingChanges.md; was tied to old TeamCity infrastructure
- also much less relevant given repo merges
- adjust details and examples in ReferenceResolution.md
- reflect repo merges, Dependencies.props changes, and current Maestro++ channels
- add a few more details e.g. specific files where Version.Details.xml versions are used
* !fixup! Remove another irrelevant doc file
* !fixup! Address PR review suggestions
- convert a couple of warnings to errors
- use consistent casing for Microsoft.NETCore.App.Runtime.* packages
- reduce `%(LatestPackageReference.Version)` metadata special cases
- add and improve comments e.g.
- improve comments about `$(*V0PackageVersion)` properties
- improve placement of comments about item removal in ResolveReferences.targets
- confirmed `$(*V0PackageVersion)` property list is complete
nits:
- fix solution example in ReferenceResolution.md
- remove item group definition for `@(LatestPackageReference)`
- remove `%(LatestPackageReference.VersionName)` metadata after use; large item group
- similarly, remove `%(LatestPackageReference.RTMVersion)` when not needed; just complicates `Condition`s
When I squash, I must remember this fixes
- #14801
- dotnet/aspnetcore-internal#2693
* Actually use `%(LatestPackageReference.RTMVersion)` metadata
- gather RTM package references in a new project
- a (very) separate project to work around package conflict resolution
- empty `Test` target works around Arcade's testing approach
- new target in ResolveReferences.targets updates relevant assembly paths to use the RTM packages
- done as soon as possible after `ResolvePackageAssets` determines the paths
- done for all compilation inputs, not just ref/ assemblies
---
Directory.Build.props | 6 +-
Directory.Build.targets | 23 +-
docs/CrossRepoBreakingChanges.md | 33 -
docs/ReferenceAssemblies.md | 25 -
docs/ReferenceResolution.md | 54 +-
eng/Build.props | 10 +-
eng/CodeGen.proj | 15 +-
eng/Dependencies.props | 333 +-
eng/ProjectReferences.props | 178 +-
eng/RTMVersions/Directory.Build.props | 6 +
eng/RTMVersions/Directory.Build.targets | 1 +
eng/RTMVersions/RTMVersions.csproj | 28 +
eng/SharedFramework.External.props | 19 +-
eng/Version.Details.xml | 4 -
eng/Versions.props | 31 +-
eng/scripts/CodeCheck.ps1 | 5 -
eng/scripts/GenerateReferenceAssemblies.ps1 | 22 -
eng/targets/CSharp.Common.props | 4 -
eng/targets/CSharp.Common.targets | 8 +-
eng/targets/CSharp.ReferenceAssembly.props | 7 -
eng/targets/ReferenceAssembly.targets | 133 -
eng/targets/ResolveReferences.targets | 137 +-
src/Antiforgery/ref/Directory.Build.props | 7 -
...Microsoft.AspNetCore.Antiforgery.Manual.cs | 147 -
.../Microsoft.AspNetCore.Antiforgery.csproj | 17 -
...osoft.AspNetCore.Antiforgery.netcoreapp.cs | 49 -
...AspNetCore.Components.Authorization.csproj | 11 -
...ore.Components.Authorization.netcoreapp.cs | 68 -
...Components.Authorization.netstandard2.0.cs | 68 -
.../Microsoft.AspNetCore.Components.Manual.cs | 322 --
.../Microsoft.AspNetCore.Components.csproj | 14 -
...rosoft.AspNetCore.Components.netcoreapp.cs | 587 ---
...ft.AspNetCore.Components.netstandard2.0.cs | 569 ---
...crosoft.AspNetCore.Components.Forms.csproj | 11 -
....AspNetCore.Components.Forms.netcoreapp.cs | 76 -
...NetCore.Components.Forms.netstandard2.0.cs | 76 -
...oft.AspNetCore.Components.Server.Manual.cs | 328 --
...rosoft.AspNetCore.Components.Server.csproj | 21 -
...AspNetCore.Components.Server.netcoreapp.cs | 77 -
...Microsoft.AspNetCore.Components.Web.csproj | 15 -
...ft.AspNetCore.Components.Web.netcoreapp.cs | 474 ---
...spNetCore.Components.Web.netstandard2.0.cs | 468 ---
...Extensions.Configuration.KeyPerFile.csproj | 17 -
...ons.Configuration.KeyPerFile.netcoreapp.cs | 34 -
...Configuration.KeyPerFile.netstandard2.0.cs | 34 -
...Core.DataProtection.Abstractions.Manual.cs | 24 -
...NetCore.DataProtection.Abstractions.csproj | 18 -
....DataProtection.Abstractions.netcoreapp.cs | 33 -
...aProtection.Abstractions.netstandard2.0.cs | 33 -
...AspNetCore.Cryptography.Internal.Manual.cs | 341 --
...ft.AspNetCore.Cryptography.Internal.csproj | 18 -
...etCore.Cryptography.Internal.netcoreapp.cs | 3 -
...re.Cryptography.Internal.netstandard2.0.cs | 3 -
...tCore.Cryptography.KeyDerivation.Manual.cs | 28 -
...pNetCore.Cryptography.KeyDerivation.csproj | 21 -
...ography.KeyDerivation.netcoreapp.Manual.cs | 11 -
...e.Cryptography.KeyDerivation.netcoreapp.cs | 16 -
...yptography.KeyDerivation.netstandard2.0.cs | 16 -
...rosoft.AspNetCore.DataProtection.Manual.cs | 385 --
...Microsoft.AspNetCore.DataProtection.csproj | 35 -
...ft.AspNetCore.DataProtection.netcoreapp.cs | 423 --
...spNetCore.DataProtection.netstandard2.0.cs | 423 --
...etCore.DataProtection.Extensions.Manual.cs | 34 -
...spNetCore.DataProtection.Extensions.csproj | 22 -
...re.DataProtection.Extensions.netcoreapp.cs | 29 -
...ataProtection.Extensions.netstandard2.0.cs | 29 -
.../ref/Microsoft.AspNetCore.csproj | 27 -
.../ref/Microsoft.AspNetCore.netcoreapp.cs | 25 -
...t.Extensions.FileProviders.Embedded.csproj | 17 -
...sions.FileProviders.Embedded.netcoreapp.cs | 39 -
...s.FileProviders.Embedded.netstandard2.0.cs | 39 -
....FileProviders.Embedded.multitarget.nuspec | 2 +-
...s.FileProviders.Embedded.netcoreapp.nuspec | 2 +-
.../src/Microsoft.AspNetCore.App.Ref.csproj | 14 +-
.../Microsoft.AspNetCore.App.Runtime.csproj | 72 +-
...agnostics.HealthChecks.Abstractions.csproj | 14 -
...cs.HealthChecks.Abstractions.netcoreapp.cs | 72 -
...ealthChecks.Abstractions.netstandard2.0.cs | 72 -
...Extensions.Diagnostics.HealthChecks.csproj | 24 -
...ons.Diagnostics.HealthChecks.netcoreapp.cs | 59 -
...Diagnostics.HealthChecks.netstandard2.0.cs | 59 -
...oft.AspNetCore.Hosting.Abstractions.csproj | 13 -
...NetCore.Hosting.Abstractions.netcoreapp.cs | 128 -
.../Microsoft.AspNetCore.Hosting.Manual.cs | 218 --
.../ref/Microsoft.AspNetCore.Hosting.csproj | 23 -
...Microsoft.AspNetCore.Hosting.netcoreapp.cs | 103 -
...NetCore.Hosting.Server.Abstractions.csproj | 11 -
....Hosting.Server.Abstractions.netcoreapp.cs | 44 -
...oft.AspNetCore.Html.Abstractions.Manual.cs | 13 -
...rosoft.AspNetCore.Html.Abstractions.csproj | 12 -
...AspNetCore.Html.Abstractions.netcoreapp.cs | 65 -
...NetCore.Authentication.Abstractions.csproj | 13 -
....Authentication.Abstractions.netcoreapp.cs | 178 -
...soft.AspNetCore.Authentication.Core.csproj | 13 -
...pNetCore.Authentication.Core.netcoreapp.cs | 66 -
.../ref/Microsoft.Net.Http.Headers.Manual.cs | 10 -
.../ref/Microsoft.Net.Http.Headers.csproj | 13 -
.../Microsoft.Net.Http.Headers.netcoreapp.cs | 373 --
...oft.AspNetCore.Http.Abstractions.Manual.cs | 101 -
...rosoft.AspNetCore.Http.Abstractions.csproj | 15 -
...AspNetCore.Http.Abstractions.netcoreapp.cs | 548 ---
.../Http.Extensions/ref/Directory.Build.props | 7 -
...icrosoft.AspNetCore.Http.Extensions.csproj | 13 -
...t.AspNetCore.Http.Extensions.netcoreapp.cs | 156 -
.../Microsoft.AspNetCore.Http.Features.csproj | 18 -
...oft.AspNetCore.Http.Features.netcoreapp.cs | 314 --
...AspNetCore.Http.Features.netstandard2.0.cs | 310 --
.../ref/Microsoft.AspNetCore.Http.Manual.cs | 62 -
.../Http/ref/Microsoft.AspNetCore.Http.csproj | 17 -
.../Microsoft.AspNetCore.Http.netcoreapp.cs | 365 --
.../ref/Microsoft.AspNetCore.Metadata.csproj | 14 -
...icrosoft.AspNetCore.Metadata.netcoreapp.cs | 15 -
...soft.AspNetCore.Metadata.netstandard2.0.cs | 15 -
...oft.AspNetCore.Routing.Abstractions.csproj | 12 -
...NetCore.Routing.Abstractions.netcoreapp.cs | 97 -
.../ref/Microsoft.AspNetCore.Routing.csproj | 17 -
...Microsoft.AspNetCore.Routing.netcoreapp.cs | 886 -----
...icrosoft.AspNetCore.WebUtilities.Manual.cs | 49 -
.../Microsoft.AspNetCore.WebUtilities.csproj | 14 -
...soft.AspNetCore.WebUtilities.netcoreapp.cs | 257 --
.../Microsoft.AspNetCore.Identity.Manual.cs | 18 -
.../ref/Microsoft.AspNetCore.Identity.csproj | 13 -
...icrosoft.AspNetCore.Identity.netcoreapp.cs | 194 -
...crosoft.Extensions.Identity.Core.Manual.cs | 83 -
.../Microsoft.Extensions.Identity.Core.csproj | 24 -
...oft.Extensions.Identity.Core.netcoreapp.cs | 709 ----
...Extensions.Identity.Core.netstandard2.0.cs | 709 ----
...osoft.Extensions.Identity.Stores.Manual.cs | 6 -
...icrosoft.Extensions.Identity.Stores.csproj | 21 -
...t.Extensions.Identity.Stores.netcoreapp.cs | 210 -
...tensions.Identity.Stores.netstandard2.0.cs | 210 -
.../ref/Microsoft.JSInterop.csproj | 11 -
.../ref/Microsoft.JSInterop.netcoreapp.cs | 104 -
.../ref/Microsoft.JSInterop.netstandard2.0.cs | 103 -
...xtensions.Localization.Abstractions.csproj | 14 -
...ns.Localization.Abstractions.netcoreapp.cs | 45 -
...ocalization.Abstractions.netstandard2.0.cs | 45 -
.../Microsoft.Extensions.Localization.csproj | 24 -
...soft.Extensions.Localization.netcoreapp.cs | 62 -
....Extensions.Localization.netstandard2.0.cs | 62 -
.../ref/Microsoft.AspNetCore.Cors.Manual.cs | 30 -
.../CORS/ref/Microsoft.AspNetCore.Cors.csproj | 17 -
.../Microsoft.AspNetCore.Cors.netcoreapp.cs | 160 -
...AspNetCore.Diagnostics.Abstractions.csproj | 10 -
...ore.Diagnostics.Abstractions.netcoreapp.cs | 59 -
...Microsoft.AspNetCore.Diagnostics.Manual.cs | 32 -
.../Microsoft.AspNetCore.Diagnostics.csproj | 19 -
...osoft.AspNetCore.Diagnostics.netcoreapp.cs | 115 -
...AspNetCore.Diagnostics.HealthChecks.csproj | 14 -
...ore.Diagnostics.HealthChecks.netcoreapp.cs | 37 -
.../Microsoft.AspNetCore.HostFiltering.csproj | 13 -
...oft.AspNetCore.HostFiltering.netcoreapp.cs | 29 -
.../Microsoft.AspNetCore.HttpOverrides.csproj | 12 -
...oft.AspNetCore.HttpOverrides.netcoreapp.cs | 99 -
.../Microsoft.AspNetCore.HttpsPolicy.csproj | 14 -
...osoft.AspNetCore.HttpsPolicy.netcoreapp.cs | 51 -
...oft.AspNetCore.Localization.Routing.csproj | 11 -
...NetCore.Localization.Routing.netcoreapp.cs | 13 -
.../Microsoft.AspNetCore.Localization.csproj | 13 -
...soft.AspNetCore.Localization.netcoreapp.cs | 115 -
...etCore.ResponseCaching.Abstractions.csproj | 10 -
...ResponseCaching.Abstractions.netcoreapp.cs | 10 -
...osoft.AspNetCore.ResponseCaching.Manual.cs | 189 -
...icrosoft.AspNetCore.ResponseCaching.csproj | 16 -
...t.AspNetCore.ResponseCaching.netcoreapp.cs | 39 -
...t.AspNetCore.ResponseCompression.Manual.cs | 35 -
...soft.AspNetCore.ResponseCompression.csproj | 15 -
...pNetCore.ResponseCompression.netcoreapp.cs | 88 -
.../Microsoft.AspNetCore.Rewrite.Manual.cs | 587 ---
.../ref/Microsoft.AspNetCore.Rewrite.csproj | 17 -
...Microsoft.AspNetCore.Rewrite.netcoreapp.cs | 77 -
.../ref/Microsoft.AspNetCore.Session.csproj | 14 -
...Microsoft.AspNetCore.Session.netcoreapp.cs | 69 -
...Microsoft.AspNetCore.StaticFiles.Manual.cs | 77 -
.../Microsoft.AspNetCore.StaticFiles.csproj | 17 -
...osoft.AspNetCore.StaticFiles.netcoreapp.cs | 141 -
.../Microsoft.AspNetCore.WebSockets.csproj | 14 -
...rosoft.AspNetCore.WebSockets.netcoreapp.cs | 39 -
.../MusicStore.E2ETests.csproj | 1 -
...soft.AspNetCore.Mvc.Abstractions.Manual.cs | 10 -
...crosoft.AspNetCore.Mvc.Abstractions.csproj | 14 -
....AspNetCore.Mvc.Abstractions.netcoreapp.cs | 1077 ------
...osoft.AspNetCore.Mvc.ApiExplorer.Manual.cs | 26 -
...icrosoft.AspNetCore.Mvc.ApiExplorer.csproj | 12 -
...t.AspNetCore.Mvc.ApiExplorer.netcoreapp.cs | 46 -
.../Microsoft.AspNetCore.Mvc.Core.Manual.cs | 1633 --------
.../ref/Microsoft.AspNetCore.Mvc.Core.csproj | 23 -
...icrosoft.AspNetCore.Mvc.Core.netcoreapp.cs | 3438 -----------------
.../Microsoft.AspNetCore.Mvc.Cors.Manual.cs | 34 -
.../ref/Microsoft.AspNetCore.Mvc.Cors.csproj | 13 -
...icrosoft.AspNetCore.Mvc.Cors.netcoreapp.cs | 24 -
...t.AspNetCore.Mvc.DataAnnotations.Manual.cs | 112 -
...soft.AspNetCore.Mvc.DataAnnotations.csproj | 13 -
...pNetCore.Mvc.DataAnnotations.netcoreapp.cs | 73 -
...soft.AspNetCore.Mvc.Formatters.Json.csproj | 11 -
...pNetCore.Mvc.Formatters.Json.netcoreapp.cs | 3 -
...ft.AspNetCore.Mvc.Formatters.Xml.Manual.cs | 40 -
...osoft.AspNetCore.Mvc.Formatters.Xml.csproj | 12 -
...spNetCore.Mvc.Formatters.Xml.netcoreapp.cs | 204 -
...soft.AspNetCore.Mvc.Localization.Manual.cs | 11 -
...crosoft.AspNetCore.Mvc.Localization.csproj | 15 -
....AspNetCore.Mvc.Localization.netcoreapp.cs | 110 -
.../Microsoft.AspNetCore.Mvc.Razor.Manual.cs | 194 -
.../ref/Microsoft.AspNetCore.Mvc.Razor.csproj | 15 -
...crosoft.AspNetCore.Mvc.Razor.netcoreapp.cs | 416 --
...rosoft.AspNetCore.Mvc.RazorPages.Manual.cs | 340 --
...Microsoft.AspNetCore.Mvc.RazorPages.csproj | 12 -
...ft.AspNetCore.Mvc.RazorPages.netcoreapp.cs | 766 ----
...rosoft.AspNetCore.Mvc.TagHelpers.Manual.cs | 114 -
...Microsoft.AspNetCore.Mvc.TagHelpers.csproj | 17 -
...ft.AspNetCore.Mvc.TagHelpers.netcoreapp.cs | 537 ---
.../Microsoft.AspNetCore.Mvc.Testing.csproj | 3 -
...soft.AspNetCore.Mvc.ViewFeatures.Manual.cs | 612 ---
...crosoft.AspNetCore.Mvc.ViewFeatures.csproj | 20 -
....AspNetCore.Mvc.ViewFeatures.netcoreapp.cs | 1457 -------
.../Mvc/ref/Microsoft.AspNetCore.Mvc.csproj | 20 -
.../Microsoft.AspNetCore.Mvc.netcoreapp.cs | 17 -
.../Microsoft.Extensions.ObjectPool.csproj | 16 -
...rosoft.Extensions.ObjectPool.netcoreapp.cs | 76 -
...ft.Extensions.ObjectPool.netstandard2.0.cs | 76 -
.../Microsoft.AspNetCore.Razor.Runtime.csproj | 12 -
...oft.AspNetCore.Razor.Runtime.netcoreapp.cs | 104 -
.../ref/Microsoft.AspNetCore.Razor.Manual.cs | 10 -
.../ref/Microsoft.AspNetCore.Razor.csproj | 12 -
.../Microsoft.AspNetCore.Razor.netcoreapp.cs | 217 --
...t.AspNetCore.Authentication.Cookies.csproj | 10 -
...tCore.Authentication.Cookies.netcoreapp.cs | 133 -
...Microsoft.AspNetCore.Authentication.csproj | 16 -
...ft.AspNetCore.Authentication.netcoreapp.cs | 325 --
...oft.AspNetCore.Authentication.OAuth.csproj | 10 -
...NetCore.Authentication.OAuth.netcoreapp.cs | 183 -
.../Microsoft.AspNetCore.Authorization.csproj | 22 -
...oft.AspNetCore.Authorization.netcoreapp.cs | 230 --
...AspNetCore.Authorization.netstandard2.0.cs | 230 --
...oft.AspNetCore.Authorization.Policy.csproj | 14 -
...NetCore.Authorization.Policy.netcoreapp.cs | 73 -
.../Microsoft.AspNetCore.CookiePolicy.csproj | 12 -
...soft.AspNetCore.CookiePolicy.netcoreapp.cs | 66 -
...AspNetCore.Connections.Abstractions.csproj | 24 -
...ore.Connections.Abstractions.netcoreapp.cs | 256 --
...Connections.Abstractions.netstandard2.0.cs | 256 --
...Connections.Abstractions.netstandard2.1.cs | 256 --
...rosoft.AspNetCore.Server.HttpSys.Manual.cs | 1153 ------
...Microsoft.AspNetCore.Server.HttpSys.csproj | 17 -
...ft.AspNetCore.Server.HttpSys.netcoreapp.cs | 122 -
.../Microsoft.AspNetCore.Server.IIS.Manual.cs | 28 -
.../Microsoft.AspNetCore.Server.IIS.csproj | 19 -
...rosoft.AspNetCore.Server.IIS.netcoreapp.cs | 74 -
...AspNetCore.Server.IISIntegration.Manual.cs | 18 -
...ft.AspNetCore.Server.IISIntegration.csproj | 21 -
...etCore.Server.IISIntegration.netcoreapp.cs | 42 -
...soft.AspNetCore.Server.Kestrel.Core.csproj | 19 -
...pNetCore.Server.Kestrel.Core.netcoreapp.cs | 305 --
...Microsoft.AspNetCore.Server.Kestrel.csproj | 12 -
...ft.AspNetCore.Server.Kestrel.netcoreapp.cs | 14 -
...Server.Kestrel.Transport.Sockets.Manual.cs | 94 -
...re.Server.Kestrel.Transport.Sockets.csproj | 14 -
...er.Kestrel.Transport.Sockets.netcoreapp.cs | 36 -
....AspNetCore.Http.Connections.Common.csproj | 16 -
...Core.Http.Connections.Common.netcoreapp.cs | 42 -
....Http.Connections.Common.netstandard2.0.cs | 42 -
...crosoft.AspNetCore.Http.Connections.csproj | 17 -
....AspNetCore.Http.Connections.netcoreapp.cs | 81 -
...t.AspNetCore.SignalR.Protocols.Json.csproj | 15 -
...tCore.SignalR.Protocols.Json.netcoreapp.cs | 34 -
...e.SignalR.Protocols.Json.netstandard2.0.cs | 34 -
...Microsoft.AspNetCore.SignalR.Common.csproj | 22 -
...ft.AspNetCore.SignalR.Common.netcoreapp.cs | 147 -
...spNetCore.SignalR.Common.netstandard2.0.cs | 147 -
.../Microsoft.AspNetCore.SignalR.Core.csproj | 18 -
...soft.AspNetCore.SignalR.Core.netcoreapp.cs | 358 --
.../ref/Microsoft.AspNetCore.SignalR.csproj | 11 -
...Microsoft.AspNetCore.SignalR.netcoreapp.cs | 36 -
...Core.AzureAppServices.SiteExtension.csproj | 2 -
.../Microsoft.Extensions.WebEncoders.csproj | 19 -
...osoft.Extensions.WebEncoders.netcoreapp.cs | 55 -
...t.Extensions.WebEncoders.netstandard2.0.cs | 55 -
277 files changed, 533 insertions(+), 33376 deletions(-)
delete mode 100644 docs/CrossRepoBreakingChanges.md
delete mode 100644 docs/ReferenceAssemblies.md
create mode 100644 eng/RTMVersions/Directory.Build.props
create mode 100644 eng/RTMVersions/Directory.Build.targets
create mode 100644 eng/RTMVersions/RTMVersions.csproj
delete mode 100644 eng/scripts/GenerateReferenceAssemblies.ps1
delete mode 100644 eng/targets/CSharp.ReferenceAssembly.props
delete mode 100644 eng/targets/ReferenceAssembly.targets
delete mode 100644 src/Antiforgery/ref/Directory.Build.props
delete mode 100644 src/Antiforgery/ref/Microsoft.AspNetCore.Antiforgery.Manual.cs
delete mode 100644 src/Antiforgery/ref/Microsoft.AspNetCore.Antiforgery.csproj
delete mode 100644 src/Antiforgery/ref/Microsoft.AspNetCore.Antiforgery.netcoreapp.cs
delete mode 100644 src/Components/Authorization/ref/Microsoft.AspNetCore.Components.Authorization.csproj
delete mode 100644 src/Components/Authorization/ref/Microsoft.AspNetCore.Components.Authorization.netcoreapp.cs
delete mode 100644 src/Components/Authorization/ref/Microsoft.AspNetCore.Components.Authorization.netstandard2.0.cs
delete mode 100644 src/Components/Components/ref/Microsoft.AspNetCore.Components.Manual.cs
delete mode 100644 src/Components/Components/ref/Microsoft.AspNetCore.Components.csproj
delete mode 100644 src/Components/Components/ref/Microsoft.AspNetCore.Components.netcoreapp.cs
delete mode 100644 src/Components/Components/ref/Microsoft.AspNetCore.Components.netstandard2.0.cs
delete mode 100644 src/Components/Forms/ref/Microsoft.AspNetCore.Components.Forms.csproj
delete mode 100644 src/Components/Forms/ref/Microsoft.AspNetCore.Components.Forms.netcoreapp.cs
delete mode 100644 src/Components/Forms/ref/Microsoft.AspNetCore.Components.Forms.netstandard2.0.cs
delete mode 100644 src/Components/Server/ref/Microsoft.AspNetCore.Components.Server.Manual.cs
delete mode 100644 src/Components/Server/ref/Microsoft.AspNetCore.Components.Server.csproj
delete mode 100644 src/Components/Server/ref/Microsoft.AspNetCore.Components.Server.netcoreapp.cs
delete mode 100644 src/Components/Web/ref/Microsoft.AspNetCore.Components.Web.csproj
delete mode 100644 src/Components/Web/ref/Microsoft.AspNetCore.Components.Web.netcoreapp.cs
delete mode 100644 src/Components/Web/ref/Microsoft.AspNetCore.Components.Web.netstandard2.0.cs
delete mode 100644 src/Configuration.KeyPerFile/ref/Microsoft.Extensions.Configuration.KeyPerFile.csproj
delete mode 100644 src/Configuration.KeyPerFile/ref/Microsoft.Extensions.Configuration.KeyPerFile.netcoreapp.cs
delete mode 100644 src/Configuration.KeyPerFile/ref/Microsoft.Extensions.Configuration.KeyPerFile.netstandard2.0.cs
delete mode 100644 src/DataProtection/Abstractions/ref/Microsoft.AspNetCore.DataProtection.Abstractions.Manual.cs
delete mode 100644 src/DataProtection/Abstractions/ref/Microsoft.AspNetCore.DataProtection.Abstractions.csproj
delete mode 100644 src/DataProtection/Abstractions/ref/Microsoft.AspNetCore.DataProtection.Abstractions.netcoreapp.cs
delete mode 100644 src/DataProtection/Abstractions/ref/Microsoft.AspNetCore.DataProtection.Abstractions.netstandard2.0.cs
delete mode 100644 src/DataProtection/Cryptography.Internal/ref/Microsoft.AspNetCore.Cryptography.Internal.Manual.cs
delete mode 100644 src/DataProtection/Cryptography.Internal/ref/Microsoft.AspNetCore.Cryptography.Internal.csproj
delete mode 100644 src/DataProtection/Cryptography.Internal/ref/Microsoft.AspNetCore.Cryptography.Internal.netcoreapp.cs
delete mode 100644 src/DataProtection/Cryptography.Internal/ref/Microsoft.AspNetCore.Cryptography.Internal.netstandard2.0.cs
delete mode 100644 src/DataProtection/Cryptography.KeyDerivation/ref/Microsoft.AspNetCore.Cryptography.KeyDerivation.Manual.cs
delete mode 100644 src/DataProtection/Cryptography.KeyDerivation/ref/Microsoft.AspNetCore.Cryptography.KeyDerivation.csproj
delete mode 100644 src/DataProtection/Cryptography.KeyDerivation/ref/Microsoft.AspNetCore.Cryptography.KeyDerivation.netcoreapp.Manual.cs
delete mode 100644 src/DataProtection/Cryptography.KeyDerivation/ref/Microsoft.AspNetCore.Cryptography.KeyDerivation.netcoreapp.cs
delete mode 100644 src/DataProtection/Cryptography.KeyDerivation/ref/Microsoft.AspNetCore.Cryptography.KeyDerivation.netstandard2.0.cs
delete mode 100644 src/DataProtection/DataProtection/ref/Microsoft.AspNetCore.DataProtection.Manual.cs
delete mode 100644 src/DataProtection/DataProtection/ref/Microsoft.AspNetCore.DataProtection.csproj
delete mode 100644 src/DataProtection/DataProtection/ref/Microsoft.AspNetCore.DataProtection.netcoreapp.cs
delete mode 100644 src/DataProtection/DataProtection/ref/Microsoft.AspNetCore.DataProtection.netstandard2.0.cs
delete mode 100644 src/DataProtection/Extensions/ref/Microsoft.AspNetCore.DataProtection.Extensions.Manual.cs
delete mode 100644 src/DataProtection/Extensions/ref/Microsoft.AspNetCore.DataProtection.Extensions.csproj
delete mode 100644 src/DataProtection/Extensions/ref/Microsoft.AspNetCore.DataProtection.Extensions.netcoreapp.cs
delete mode 100644 src/DataProtection/Extensions/ref/Microsoft.AspNetCore.DataProtection.Extensions.netstandard2.0.cs
delete mode 100644 src/DefaultBuilder/ref/Microsoft.AspNetCore.csproj
delete mode 100644 src/DefaultBuilder/ref/Microsoft.AspNetCore.netcoreapp.cs
delete mode 100644 src/FileProviders/Embedded/ref/Microsoft.Extensions.FileProviders.Embedded.csproj
delete mode 100644 src/FileProviders/Embedded/ref/Microsoft.Extensions.FileProviders.Embedded.netcoreapp.cs
delete mode 100644 src/FileProviders/Embedded/ref/Microsoft.Extensions.FileProviders.Embedded.netstandard2.0.cs
delete mode 100644 src/HealthChecks/Abstractions/ref/Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions.csproj
delete mode 100644 src/HealthChecks/Abstractions/ref/Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions.netcoreapp.cs
delete mode 100644 src/HealthChecks/Abstractions/ref/Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions.netstandard2.0.cs
delete mode 100644 src/HealthChecks/HealthChecks/ref/Microsoft.Extensions.Diagnostics.HealthChecks.csproj
delete mode 100644 src/HealthChecks/HealthChecks/ref/Microsoft.Extensions.Diagnostics.HealthChecks.netcoreapp.cs
delete mode 100644 src/HealthChecks/HealthChecks/ref/Microsoft.Extensions.Diagnostics.HealthChecks.netstandard2.0.cs
delete mode 100644 src/Hosting/Abstractions/ref/Microsoft.AspNetCore.Hosting.Abstractions.csproj
delete mode 100644 src/Hosting/Abstractions/ref/Microsoft.AspNetCore.Hosting.Abstractions.netcoreapp.cs
delete mode 100644 src/Hosting/Hosting/ref/Microsoft.AspNetCore.Hosting.Manual.cs
delete mode 100644 src/Hosting/Hosting/ref/Microsoft.AspNetCore.Hosting.csproj
delete mode 100644 src/Hosting/Hosting/ref/Microsoft.AspNetCore.Hosting.netcoreapp.cs
delete mode 100644 src/Hosting/Server.Abstractions/ref/Microsoft.AspNetCore.Hosting.Server.Abstractions.csproj
delete mode 100644 src/Hosting/Server.Abstractions/ref/Microsoft.AspNetCore.Hosting.Server.Abstractions.netcoreapp.cs
delete mode 100644 src/Html/Abstractions/ref/Microsoft.AspNetCore.Html.Abstractions.Manual.cs
delete mode 100644 src/Html/Abstractions/ref/Microsoft.AspNetCore.Html.Abstractions.csproj
delete mode 100644 src/Html/Abstractions/ref/Microsoft.AspNetCore.Html.Abstractions.netcoreapp.cs
delete mode 100644 src/Http/Authentication.Abstractions/ref/Microsoft.AspNetCore.Authentication.Abstractions.csproj
delete mode 100644 src/Http/Authentication.Abstractions/ref/Microsoft.AspNetCore.Authentication.Abstractions.netcoreapp.cs
delete mode 100644 src/Http/Authentication.Core/ref/Microsoft.AspNetCore.Authentication.Core.csproj
delete mode 100644 src/Http/Authentication.Core/ref/Microsoft.AspNetCore.Authentication.Core.netcoreapp.cs
delete mode 100644 src/Http/Headers/ref/Microsoft.Net.Http.Headers.Manual.cs
delete mode 100644 src/Http/Headers/ref/Microsoft.Net.Http.Headers.csproj
delete mode 100644 src/Http/Headers/ref/Microsoft.Net.Http.Headers.netcoreapp.cs
delete mode 100644 src/Http/Http.Abstractions/ref/Microsoft.AspNetCore.Http.Abstractions.Manual.cs
delete mode 100644 src/Http/Http.Abstractions/ref/Microsoft.AspNetCore.Http.Abstractions.csproj
delete mode 100644 src/Http/Http.Abstractions/ref/Microsoft.AspNetCore.Http.Abstractions.netcoreapp.cs
delete mode 100644 src/Http/Http.Extensions/ref/Directory.Build.props
delete mode 100644 src/Http/Http.Extensions/ref/Microsoft.AspNetCore.Http.Extensions.csproj
delete mode 100644 src/Http/Http.Extensions/ref/Microsoft.AspNetCore.Http.Extensions.netcoreapp.cs
delete mode 100644 src/Http/Http.Features/ref/Microsoft.AspNetCore.Http.Features.csproj
delete mode 100644 src/Http/Http.Features/ref/Microsoft.AspNetCore.Http.Features.netcoreapp.cs
delete mode 100644 src/Http/Http.Features/ref/Microsoft.AspNetCore.Http.Features.netstandard2.0.cs
delete mode 100644 src/Http/Http/ref/Microsoft.AspNetCore.Http.Manual.cs
delete mode 100644 src/Http/Http/ref/Microsoft.AspNetCore.Http.csproj
delete mode 100644 src/Http/Http/ref/Microsoft.AspNetCore.Http.netcoreapp.cs
delete mode 100644 src/Http/Metadata/ref/Microsoft.AspNetCore.Metadata.csproj
delete mode 100644 src/Http/Metadata/ref/Microsoft.AspNetCore.Metadata.netcoreapp.cs
delete mode 100644 src/Http/Metadata/ref/Microsoft.AspNetCore.Metadata.netstandard2.0.cs
delete mode 100644 src/Http/Routing.Abstractions/ref/Microsoft.AspNetCore.Routing.Abstractions.csproj
delete mode 100644 src/Http/Routing.Abstractions/ref/Microsoft.AspNetCore.Routing.Abstractions.netcoreapp.cs
delete mode 100644 src/Http/Routing/ref/Microsoft.AspNetCore.Routing.csproj
delete mode 100644 src/Http/Routing/ref/Microsoft.AspNetCore.Routing.netcoreapp.cs
delete mode 100644 src/Http/WebUtilities/ref/Microsoft.AspNetCore.WebUtilities.Manual.cs
delete mode 100644 src/Http/WebUtilities/ref/Microsoft.AspNetCore.WebUtilities.csproj
delete mode 100644 src/Http/WebUtilities/ref/Microsoft.AspNetCore.WebUtilities.netcoreapp.cs
delete mode 100644 src/Identity/Core/ref/Microsoft.AspNetCore.Identity.Manual.cs
delete mode 100644 src/Identity/Core/ref/Microsoft.AspNetCore.Identity.csproj
delete mode 100644 src/Identity/Core/ref/Microsoft.AspNetCore.Identity.netcoreapp.cs
delete mode 100644 src/Identity/Extensions.Core/ref/Microsoft.Extensions.Identity.Core.Manual.cs
delete mode 100644 src/Identity/Extensions.Core/ref/Microsoft.Extensions.Identity.Core.csproj
delete mode 100644 src/Identity/Extensions.Core/ref/Microsoft.Extensions.Identity.Core.netcoreapp.cs
delete mode 100644 src/Identity/Extensions.Core/ref/Microsoft.Extensions.Identity.Core.netstandard2.0.cs
delete mode 100644 src/Identity/Extensions.Stores/ref/Microsoft.Extensions.Identity.Stores.Manual.cs
delete mode 100644 src/Identity/Extensions.Stores/ref/Microsoft.Extensions.Identity.Stores.csproj
delete mode 100644 src/Identity/Extensions.Stores/ref/Microsoft.Extensions.Identity.Stores.netcoreapp.cs
delete mode 100644 src/Identity/Extensions.Stores/ref/Microsoft.Extensions.Identity.Stores.netstandard2.0.cs
delete mode 100644 src/JSInterop/Microsoft.JSInterop/ref/Microsoft.JSInterop.csproj
delete mode 100644 src/JSInterop/Microsoft.JSInterop/ref/Microsoft.JSInterop.netcoreapp.cs
delete mode 100644 src/JSInterop/Microsoft.JSInterop/ref/Microsoft.JSInterop.netstandard2.0.cs
delete mode 100644 src/Localization/Abstractions/ref/Microsoft.Extensions.Localization.Abstractions.csproj
delete mode 100644 src/Localization/Abstractions/ref/Microsoft.Extensions.Localization.Abstractions.netcoreapp.cs
delete mode 100644 src/Localization/Abstractions/ref/Microsoft.Extensions.Localization.Abstractions.netstandard2.0.cs
delete mode 100644 src/Localization/Localization/ref/Microsoft.Extensions.Localization.csproj
delete mode 100644 src/Localization/Localization/ref/Microsoft.Extensions.Localization.netcoreapp.cs
delete mode 100644 src/Localization/Localization/ref/Microsoft.Extensions.Localization.netstandard2.0.cs
delete mode 100644 src/Middleware/CORS/ref/Microsoft.AspNetCore.Cors.Manual.cs
delete mode 100644 src/Middleware/CORS/ref/Microsoft.AspNetCore.Cors.csproj
delete mode 100644 src/Middleware/CORS/ref/Microsoft.AspNetCore.Cors.netcoreapp.cs
delete mode 100644 src/Middleware/Diagnostics.Abstractions/ref/Microsoft.AspNetCore.Diagnostics.Abstractions.csproj
delete mode 100644 src/Middleware/Diagnostics.Abstractions/ref/Microsoft.AspNetCore.Diagnostics.Abstractions.netcoreapp.cs
delete mode 100644 src/Middleware/Diagnostics/ref/Microsoft.AspNetCore.Diagnostics.Manual.cs
delete mode 100644 src/Middleware/Diagnostics/ref/Microsoft.AspNetCore.Diagnostics.csproj
delete mode 100644 src/Middleware/Diagnostics/ref/Microsoft.AspNetCore.Diagnostics.netcoreapp.cs
delete mode 100644 src/Middleware/HealthChecks/ref/Microsoft.AspNetCore.Diagnostics.HealthChecks.csproj
delete mode 100644 src/Middleware/HealthChecks/ref/Microsoft.AspNetCore.Diagnostics.HealthChecks.netcoreapp.cs
delete mode 100644 src/Middleware/HostFiltering/ref/Microsoft.AspNetCore.HostFiltering.csproj
delete mode 100644 src/Middleware/HostFiltering/ref/Microsoft.AspNetCore.HostFiltering.netcoreapp.cs
delete mode 100644 src/Middleware/HttpOverrides/ref/Microsoft.AspNetCore.HttpOverrides.csproj
delete mode 100644 src/Middleware/HttpOverrides/ref/Microsoft.AspNetCore.HttpOverrides.netcoreapp.cs
delete mode 100644 src/Middleware/HttpsPolicy/ref/Microsoft.AspNetCore.HttpsPolicy.csproj
delete mode 100644 src/Middleware/HttpsPolicy/ref/Microsoft.AspNetCore.HttpsPolicy.netcoreapp.cs
delete mode 100644 src/Middleware/Localization.Routing/ref/Microsoft.AspNetCore.Localization.Routing.csproj
delete mode 100644 src/Middleware/Localization.Routing/ref/Microsoft.AspNetCore.Localization.Routing.netcoreapp.cs
delete mode 100644 src/Middleware/Localization/ref/Microsoft.AspNetCore.Localization.csproj
delete mode 100644 src/Middleware/Localization/ref/Microsoft.AspNetCore.Localization.netcoreapp.cs
delete mode 100644 src/Middleware/ResponseCaching.Abstractions/ref/Microsoft.AspNetCore.ResponseCaching.Abstractions.csproj
delete mode 100644 src/Middleware/ResponseCaching.Abstractions/ref/Microsoft.AspNetCore.ResponseCaching.Abstractions.netcoreapp.cs
delete mode 100644 src/Middleware/ResponseCaching/ref/Microsoft.AspNetCore.ResponseCaching.Manual.cs
delete mode 100644 src/Middleware/ResponseCaching/ref/Microsoft.AspNetCore.ResponseCaching.csproj
delete mode 100644 src/Middleware/ResponseCaching/ref/Microsoft.AspNetCore.ResponseCaching.netcoreapp.cs
delete mode 100644 src/Middleware/ResponseCompression/ref/Microsoft.AspNetCore.ResponseCompression.Manual.cs
delete mode 100644 src/Middleware/ResponseCompression/ref/Microsoft.AspNetCore.ResponseCompression.csproj
delete mode 100644 src/Middleware/ResponseCompression/ref/Microsoft.AspNetCore.ResponseCompression.netcoreapp.cs
delete mode 100644 src/Middleware/Rewrite/ref/Microsoft.AspNetCore.Rewrite.Manual.cs
delete mode 100644 src/Middleware/Rewrite/ref/Microsoft.AspNetCore.Rewrite.csproj
delete mode 100644 src/Middleware/Rewrite/ref/Microsoft.AspNetCore.Rewrite.netcoreapp.cs
delete mode 100644 src/Middleware/Session/ref/Microsoft.AspNetCore.Session.csproj
delete mode 100644 src/Middleware/Session/ref/Microsoft.AspNetCore.Session.netcoreapp.cs
delete mode 100644 src/Middleware/StaticFiles/ref/Microsoft.AspNetCore.StaticFiles.Manual.cs
delete mode 100644 src/Middleware/StaticFiles/ref/Microsoft.AspNetCore.StaticFiles.csproj
delete mode 100644 src/Middleware/StaticFiles/ref/Microsoft.AspNetCore.StaticFiles.netcoreapp.cs
delete mode 100644 src/Middleware/WebSockets/ref/Microsoft.AspNetCore.WebSockets.csproj
delete mode 100644 src/Middleware/WebSockets/ref/Microsoft.AspNetCore.WebSockets.netcoreapp.cs
delete mode 100644 src/Mvc/Mvc.Abstractions/ref/Microsoft.AspNetCore.Mvc.Abstractions.Manual.cs
delete mode 100644 src/Mvc/Mvc.Abstractions/ref/Microsoft.AspNetCore.Mvc.Abstractions.csproj
delete mode 100644 src/Mvc/Mvc.Abstractions/ref/Microsoft.AspNetCore.Mvc.Abstractions.netcoreapp.cs
delete mode 100644 src/Mvc/Mvc.ApiExplorer/ref/Microsoft.AspNetCore.Mvc.ApiExplorer.Manual.cs
delete mode 100644 src/Mvc/Mvc.ApiExplorer/ref/Microsoft.AspNetCore.Mvc.ApiExplorer.csproj
delete mode 100644 src/Mvc/Mvc.ApiExplorer/ref/Microsoft.AspNetCore.Mvc.ApiExplorer.netcoreapp.cs
delete mode 100644 src/Mvc/Mvc.Core/ref/Microsoft.AspNetCore.Mvc.Core.Manual.cs
delete mode 100644 src/Mvc/Mvc.Core/ref/Microsoft.AspNetCore.Mvc.Core.csproj
delete mode 100644 src/Mvc/Mvc.Core/ref/Microsoft.AspNetCore.Mvc.Core.netcoreapp.cs
delete mode 100644 src/Mvc/Mvc.Cors/ref/Microsoft.AspNetCore.Mvc.Cors.Manual.cs
delete mode 100644 src/Mvc/Mvc.Cors/ref/Microsoft.AspNetCore.Mvc.Cors.csproj
delete mode 100644 src/Mvc/Mvc.Cors/ref/Microsoft.AspNetCore.Mvc.Cors.netcoreapp.cs
delete mode 100644 src/Mvc/Mvc.DataAnnotations/ref/Microsoft.AspNetCore.Mvc.DataAnnotations.Manual.cs
delete mode 100644 src/Mvc/Mvc.DataAnnotations/ref/Microsoft.AspNetCore.Mvc.DataAnnotations.csproj
delete mode 100644 src/Mvc/Mvc.DataAnnotations/ref/Microsoft.AspNetCore.Mvc.DataAnnotations.netcoreapp.cs
delete mode 100644 src/Mvc/Mvc.Formatters.Json/ref/Microsoft.AspNetCore.Mvc.Formatters.Json.csproj
delete mode 100644 src/Mvc/Mvc.Formatters.Json/ref/Microsoft.AspNetCore.Mvc.Formatters.Json.netcoreapp.cs
delete mode 100644 src/Mvc/Mvc.Formatters.Xml/ref/Microsoft.AspNetCore.Mvc.Formatters.Xml.Manual.cs
delete mode 100644 src/Mvc/Mvc.Formatters.Xml/ref/Microsoft.AspNetCore.Mvc.Formatters.Xml.csproj
delete mode 100644 src/Mvc/Mvc.Formatters.Xml/ref/Microsoft.AspNetCore.Mvc.Formatters.Xml.netcoreapp.cs
delete mode 100644 src/Mvc/Mvc.Localization/ref/Microsoft.AspNetCore.Mvc.Localization.Manual.cs
delete mode 100644 src/Mvc/Mvc.Localization/ref/Microsoft.AspNetCore.Mvc.Localization.csproj
delete mode 100644 src/Mvc/Mvc.Localization/ref/Microsoft.AspNetCore.Mvc.Localization.netcoreapp.cs
delete mode 100644 src/Mvc/Mvc.Razor/ref/Microsoft.AspNetCore.Mvc.Razor.Manual.cs
delete mode 100644 src/Mvc/Mvc.Razor/ref/Microsoft.AspNetCore.Mvc.Razor.csproj
delete mode 100644 src/Mvc/Mvc.Razor/ref/Microsoft.AspNetCore.Mvc.Razor.netcoreapp.cs
delete mode 100644 src/Mvc/Mvc.RazorPages/ref/Microsoft.AspNetCore.Mvc.RazorPages.Manual.cs
delete mode 100644 src/Mvc/Mvc.RazorPages/ref/Microsoft.AspNetCore.Mvc.RazorPages.csproj
delete mode 100644 src/Mvc/Mvc.RazorPages/ref/Microsoft.AspNetCore.Mvc.RazorPages.netcoreapp.cs
delete mode 100644 src/Mvc/Mvc.TagHelpers/ref/Microsoft.AspNetCore.Mvc.TagHelpers.Manual.cs
delete mode 100644 src/Mvc/Mvc.TagHelpers/ref/Microsoft.AspNetCore.Mvc.TagHelpers.csproj
delete mode 100644 src/Mvc/Mvc.TagHelpers/ref/Microsoft.AspNetCore.Mvc.TagHelpers.netcoreapp.cs
delete mode 100644 src/Mvc/Mvc.ViewFeatures/ref/Microsoft.AspNetCore.Mvc.ViewFeatures.Manual.cs
delete mode 100644 src/Mvc/Mvc.ViewFeatures/ref/Microsoft.AspNetCore.Mvc.ViewFeatures.csproj
delete mode 100644 src/Mvc/Mvc.ViewFeatures/ref/Microsoft.AspNetCore.Mvc.ViewFeatures.netcoreapp.cs
delete mode 100644 src/Mvc/Mvc/ref/Microsoft.AspNetCore.Mvc.csproj
delete mode 100644 src/Mvc/Mvc/ref/Microsoft.AspNetCore.Mvc.netcoreapp.cs
delete mode 100644 src/ObjectPool/ref/Microsoft.Extensions.ObjectPool.csproj
delete mode 100644 src/ObjectPool/ref/Microsoft.Extensions.ObjectPool.netcoreapp.cs
delete mode 100644 src/ObjectPool/ref/Microsoft.Extensions.ObjectPool.netstandard2.0.cs
delete mode 100644 src/Razor/Razor.Runtime/ref/Microsoft.AspNetCore.Razor.Runtime.csproj
delete mode 100644 src/Razor/Razor.Runtime/ref/Microsoft.AspNetCore.Razor.Runtime.netcoreapp.cs
delete mode 100644 src/Razor/Razor/ref/Microsoft.AspNetCore.Razor.Manual.cs
delete mode 100644 src/Razor/Razor/ref/Microsoft.AspNetCore.Razor.csproj
delete mode 100644 src/Razor/Razor/ref/Microsoft.AspNetCore.Razor.netcoreapp.cs
delete mode 100644 src/Security/Authentication/Cookies/ref/Microsoft.AspNetCore.Authentication.Cookies.csproj
delete mode 100644 src/Security/Authentication/Cookies/ref/Microsoft.AspNetCore.Authentication.Cookies.netcoreapp.cs
delete mode 100644 src/Security/Authentication/Core/ref/Microsoft.AspNetCore.Authentication.csproj
delete mode 100644 src/Security/Authentication/Core/ref/Microsoft.AspNetCore.Authentication.netcoreapp.cs
delete mode 100644 src/Security/Authentication/OAuth/ref/Microsoft.AspNetCore.Authentication.OAuth.csproj
delete mode 100644 src/Security/Authentication/OAuth/ref/Microsoft.AspNetCore.Authentication.OAuth.netcoreapp.cs
delete mode 100644 src/Security/Authorization/Core/ref/Microsoft.AspNetCore.Authorization.csproj
delete mode 100644 src/Security/Authorization/Core/ref/Microsoft.AspNetCore.Authorization.netcoreapp.cs
delete mode 100644 src/Security/Authorization/Core/ref/Microsoft.AspNetCore.Authorization.netstandard2.0.cs
delete mode 100644 src/Security/Authorization/Policy/ref/Microsoft.AspNetCore.Authorization.Policy.csproj
delete mode 100644 src/Security/Authorization/Policy/ref/Microsoft.AspNetCore.Authorization.Policy.netcoreapp.cs
delete mode 100644 src/Security/CookiePolicy/ref/Microsoft.AspNetCore.CookiePolicy.csproj
delete mode 100644 src/Security/CookiePolicy/ref/Microsoft.AspNetCore.CookiePolicy.netcoreapp.cs
delete mode 100644 src/Servers/Connections.Abstractions/ref/Microsoft.AspNetCore.Connections.Abstractions.csproj
delete mode 100644 src/Servers/Connections.Abstractions/ref/Microsoft.AspNetCore.Connections.Abstractions.netcoreapp.cs
delete mode 100644 src/Servers/Connections.Abstractions/ref/Microsoft.AspNetCore.Connections.Abstractions.netstandard2.0.cs
delete mode 100644 src/Servers/Connections.Abstractions/ref/Microsoft.AspNetCore.Connections.Abstractions.netstandard2.1.cs
delete mode 100644 src/Servers/HttpSys/ref/Microsoft.AspNetCore.Server.HttpSys.Manual.cs
delete mode 100644 src/Servers/HttpSys/ref/Microsoft.AspNetCore.Server.HttpSys.csproj
delete mode 100644 src/Servers/HttpSys/ref/Microsoft.AspNetCore.Server.HttpSys.netcoreapp.cs
delete mode 100644 src/Servers/IIS/IIS/ref/Microsoft.AspNetCore.Server.IIS.Manual.cs
delete mode 100644 src/Servers/IIS/IIS/ref/Microsoft.AspNetCore.Server.IIS.csproj
delete mode 100644 src/Servers/IIS/IIS/ref/Microsoft.AspNetCore.Server.IIS.netcoreapp.cs
delete mode 100644 src/Servers/IIS/IISIntegration/ref/Microsoft.AspNetCore.Server.IISIntegration.Manual.cs
delete mode 100644 src/Servers/IIS/IISIntegration/ref/Microsoft.AspNetCore.Server.IISIntegration.csproj
delete mode 100644 src/Servers/IIS/IISIntegration/ref/Microsoft.AspNetCore.Server.IISIntegration.netcoreapp.cs
delete mode 100644 src/Servers/Kestrel/Core/ref/Microsoft.AspNetCore.Server.Kestrel.Core.csproj
delete mode 100644 src/Servers/Kestrel/Core/ref/Microsoft.AspNetCore.Server.Kestrel.Core.netcoreapp.cs
delete mode 100644 src/Servers/Kestrel/Kestrel/ref/Microsoft.AspNetCore.Server.Kestrel.csproj
delete mode 100644 src/Servers/Kestrel/Kestrel/ref/Microsoft.AspNetCore.Server.Kestrel.netcoreapp.cs
delete mode 100644 src/Servers/Kestrel/Transport.Sockets/ref/Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.Manual.cs
delete mode 100644 src/Servers/Kestrel/Transport.Sockets/ref/Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.csproj
delete mode 100644 src/Servers/Kestrel/Transport.Sockets/ref/Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.netcoreapp.cs
delete mode 100644 src/SignalR/common/Http.Connections.Common/ref/Microsoft.AspNetCore.Http.Connections.Common.csproj
delete mode 100644 src/SignalR/common/Http.Connections.Common/ref/Microsoft.AspNetCore.Http.Connections.Common.netcoreapp.cs
delete mode 100644 src/SignalR/common/Http.Connections.Common/ref/Microsoft.AspNetCore.Http.Connections.Common.netstandard2.0.cs
delete mode 100644 src/SignalR/common/Http.Connections/ref/Microsoft.AspNetCore.Http.Connections.csproj
delete mode 100644 src/SignalR/common/Http.Connections/ref/Microsoft.AspNetCore.Http.Connections.netcoreapp.cs
delete mode 100644 src/SignalR/common/Protocols.Json/ref/Microsoft.AspNetCore.SignalR.Protocols.Json.csproj
delete mode 100644 src/SignalR/common/Protocols.Json/ref/Microsoft.AspNetCore.SignalR.Protocols.Json.netcoreapp.cs
delete mode 100644 src/SignalR/common/Protocols.Json/ref/Microsoft.AspNetCore.SignalR.Protocols.Json.netstandard2.0.cs
delete mode 100644 src/SignalR/common/SignalR.Common/ref/Microsoft.AspNetCore.SignalR.Common.csproj
delete mode 100644 src/SignalR/common/SignalR.Common/ref/Microsoft.AspNetCore.SignalR.Common.netcoreapp.cs
delete mode 100644 src/SignalR/common/SignalR.Common/ref/Microsoft.AspNetCore.SignalR.Common.netstandard2.0.cs
delete mode 100644 src/SignalR/server/Core/ref/Microsoft.AspNetCore.SignalR.Core.csproj
delete mode 100644 src/SignalR/server/Core/ref/Microsoft.AspNetCore.SignalR.Core.netcoreapp.cs
delete mode 100644 src/SignalR/server/SignalR/ref/Microsoft.AspNetCore.SignalR.csproj
delete mode 100644 src/SignalR/server/SignalR/ref/Microsoft.AspNetCore.SignalR.netcoreapp.cs
delete mode 100644 src/WebEncoders/ref/Microsoft.Extensions.WebEncoders.csproj
delete mode 100644 src/WebEncoders/ref/Microsoft.Extensions.WebEncoders.netcoreapp.cs
delete mode 100644 src/WebEncoders/ref/Microsoft.Extensions.WebEncoders.netstandard2.0.cs
diff --git a/Directory.Build.props b/Directory.Build.props
index d138b781a7c1..21ae56027bc7 100644
--- a/Directory.Build.props
+++ b/Directory.Build.props
@@ -11,10 +11,6 @@
$([MSBuild]::MakeRelative($(RepoRoot), $(MSBuildProjectDirectory)))
- false
- true
- $(MSBuildProjectName)-ref
-
true
true
false
@@ -130,7 +126,7 @@
aspnetcore-runtime
aspnetcore-targeting-pack
-
+
false
false
diff --git a/Directory.Build.targets b/Directory.Build.targets
index f89af5200c4b..a0de4f05b67c 100644
--- a/Directory.Build.targets
+++ b/Directory.Build.targets
@@ -1,10 +1,10 @@
-
+
true
+ Condition="'$(ExcludeFromSourceBuild)' == '' and '$(DotNetBuildFromSource)' == 'true' and '$(IsAspNetCoreApp)' != 'true' and '$(IsAnalyzersProject)' != 'true'">true
@@ -57,7 +57,8 @@
$(AssemblyName)
- false
+ false
@@ -100,14 +101,19 @@
- true
+ true
true
true
+ Condition=" '$(TargetFramework)' == '$(DefaultNetCoreTargetFramework)' AND '$(IsAspNetCoreApp)' == 'true' ">true
false
+ $(HasReferenceAssembly)
+
+
+ $([MSBuild]::NormalizePath($(TargetDir), 'ref', $(TargetFileName)))
true
false
@@ -124,13 +130,7 @@
-
-
-
-
-
-
$(AspNetCoreMajorVersion).$(AspNetCoreMinorVersion).0.0
@@ -180,7 +180,6 @@
-
diff --git a/docs/CrossRepoBreakingChanges.md b/docs/CrossRepoBreakingChanges.md
deleted file mode 100644
index 09299b4b37e9..000000000000
--- a/docs/CrossRepoBreakingChanges.md
+++ /dev/null
@@ -1,33 +0,0 @@
-## A pattern for making cross-repo breaking changes
-
-The engineering team has come up with a pattern for making cross-repo breaking changes without destabilizing local \ CI builds using feature branches. I’ll explain it in terms of a breaking change in Configuration that affects Options:
-
-1) Start by making a feature branch in the Configuration repo. A feature branch is any branch that starts with the prefix "feature/" e.g. feature/bring-back-web-config
-
-`git checkout feature/bring-back-web-config`
-
-2) Make your changes in this feature branch and push it to GitHub. You can ordinarily continue using this branch to get your PR reviewed.
-3) TeamCity's individual Project configuration (http://aspnetci/project.html?projectId=Lite&tab=projectOverview) has always built feature branches. We've enabled an additional step to it that pushes packages produced from feature branches to https://dotnet.myget.org/f/aspnetcore-dev.
-Packages produced from feature branches will have a branch name suffix in their release label to distinguish them from our regular builds. For instance, a package produced for the branch pushed earlier might look like '2.1.0-preview2-bring-back-web-config-10012'.
-
-4) In the Options repo, create a working branch like you normally do:
-
-`git checkout prkrishn/react-to-config`
-
-5) Once again in the options repo, edit build/dependencies.props to reference the feature branch package that got produced.
-a) If `build/dependencies.props` already has a reference to Configuration, update the version of the Options package in `build/dependencies.props` to point to the package produced from the feature branch.
-b) If `build/dependencies.props` does not have a reference to the package version of Configuration, i.e. the package is transitively referenced:
- * Add a new entry in `build/dependencies.props`
- * And a PackageReference to the feature branch package in your project.
-
-```xml
-// build/dependencies.props
-2.1.0-preview2-bring-back-web-config-10012
-```
-
-5) Now that you reference the package with breaking changes, make your fixup changes to Options.
-6) Get your code reviewed
-7) Check in to dev both sets of changes i.e. the feature branch from Configuration and your reaction changes in Options including changes to build/dependencies.props.
-7) File a tracking task in Options to clean up build/dependencies.props. Build automation should fix up this version for you when it does it weekly update of dependencies.props, but it's good to manually verify that this is fixed up before we branch or create tags.
-
-**tl,dr**: Push feature branches. TeamCity will build packages with release labels derived from branch name. You can edit and check in changes to build/dependencies.props to reference these packages.
diff --git a/docs/ReferenceAssemblies.md b/docs/ReferenceAssemblies.md
deleted file mode 100644
index 593682a29ecf..000000000000
--- a/docs/ReferenceAssemblies.md
+++ /dev/null
@@ -1,25 +0,0 @@
-Reference assemblies
-========================
-
-Most projects in this repo have a `ref` directory next to their `src` that contains the project and source code for a reference assembly.
-Reference assemblies contain the public API surface of libraries and are used for ASP.NET Core targeting pack generation.
-
-### When changing public API
-
-Run `dotnet msbuild /t:GenerateReferenceSource` in that project's `src` directory
-
-### When adding a new project
-
-Run `.\eng\scripts\GenerateProjectList.ps1` from the repository root and `dotnet msbuild /t:GenerateReferenceSource` in that project's `src` directory
-
-### To set project properties in a reference assembly project
-
-`ref.csproj` is automaticaly generated and shouldn't be edited. To set project properties on a reference assembly project place a `Directory.Build.props` next to it and add the properties there.
-
-### My project doesn't need a reference assembly
-
-Set `false` in the implementation (`src`) project and re-run `.\eng\scripts\GenerateProjectList.ps1`.
-
-### Regenerate reference assemblies for all projects
-
-Run `.\eng\scripts\GenerateReferenceAssemblies.ps1` from repository root. Make sure you've run `.\restore.cmd` first.
diff --git a/docs/ReferenceResolution.md b/docs/ReferenceResolution.md
index d84215a6d365..c80d1a0acc03 100644
--- a/docs/ReferenceResolution.md
+++ b/docs/ReferenceResolution.md
@@ -10,10 +10,12 @@ See [ResolveReferences.targets](/eng/targets/ResolveReferences.targets) for the
The requirements that led to this system are:
-* Versions of external dependencies should be consistent.
-* Servicing updates of ASP.NET Core should minimize the number of assemblies which need to re-build and re-ship.
+* Versions of external dependencies should be consistent and easily discovered.
* Newer versions of packages should not have lower dependency versions than previous releases.
* Minimize the cascading effect of servicing updates where possible by keeping a consistent baseline of dependencies.
+* Servicing releases should not add or remove dependencies in existing packages.
+
+As a minor point, the current system also makes our project files somewhat less verbose.
## Recommendations for writing a .csproj
@@ -29,11 +31,13 @@ The requirements that led to this system are:
## Important files
-* [eng/Baseline.xml](/eng/Baseline.xml) - this contains the 'baseline' of the latest servicing release for this branch. It should be modified and used to update the generated file, Baseline.Designer.props.
+* [eng/Baseline.xml](/eng/Baseline.xml) - this contains the 'baseline' of the latest servicing release for this branch.
+ It should be modified and used to update the generated file, [eng/Baseline.Designer.props](eng/Baseline.Designer.props).
* [eng/Dependencies.props](/eng/Dependencies.props) - contains a list of all package references that might be used in the repo.
* [eng/ProjectReferences.props](/eng/ProjectReferences.props) - lists which assemblies or packages might be available to be referenced as a local project.
* [eng/Versions.props](/eng/Versions.props) - contains a list of versions which may be updated by automation. This is used by MSBuild to restore and build.
-* [eng/Version.Details.xml](/eng/Version.Details.xml) - used by automation to update dependencies variables in other files.
+* [eng/Version.Details.xml](/eng/Version.Details.xml) - used by automation to update dependency variables in
+ [eng/Versions.props](/eng/Versions.props) and, for SDKs and `msbuild` toolsets, [global.json](global.json).
## Example: adding a new project
@@ -41,18 +45,17 @@ Steps for adding a new project to this repo.
1. Create the .csproj
2. Run `eng/scripts/GenerateProjectList.ps1`
-3. Add it to Extensions.sln
+3. Add new project to AspNetCore.sln and any relevant `*.slnf` files
## Example: adding a new dependency
Steps for adding a new package dependency to an existing project. Let's say I'm adding a dependency on System.Banana.
1. Add the package to the .csproj file using ``
-2. Add an entry to [eng/Dependencies.props](/eng/Dependencies.props), ``
-3. If this package comes from another dotnet team and should be updated automatically by our bot...
- 1. Change the LatestPackageReference entry to `Version="$(SystemBananaPackageVersion)"`.
- 2. Add an entry to [eng/Versions.props](/eng/Versions.props) like this `0.0.1-beta-1`.
- 3. Add an entry to [eng/Version.Details.xml](/eng/Version.Details.xml) like this:
+2. Add an entry to [eng/Dependencies.props](/eng/Dependencies.props) e.g. ``
+3. If this package comes from another dotnet team and should be updated automatically by our bot…
+ 1. Add an entry to [eng/Versions.props](/eng/Versions.props) like this `0.0.1-beta-1`.
+ 2. Add an entry to [eng/Version.Details.xml](/eng/Version.Details.xml) like this:
```xml
@@ -65,27 +68,28 @@ Steps for adding a new package dependency to an existing project. Let's say I'm
```
- If you don't know the commit hash of the source code used to produce "0.0.1-beta-1", you can use `000000` as a placeholder for `Sha`
- as its value is unimportant and will be updated the next time the bot runs.
+ If you don't know the commit hash of the source code used to produce "0.0.1-beta-1", you can use `000000` as a
+ placeholder for `Sha` as its value will be updated the next time the bot runs.
- If the new dependency comes from dotnet/CoreFx, dotnet/code-setup or dotnet/extensions, add a
+ If the new dependency comes from dotnet/runtime and you are updating dotnet/aspnetcore-tooling, add a
`CoherentParentDependency` attribute to the `` element as shown below. This example indicates the
- dotnet/CoreFx dependency version should be determined based on the build that produced the chosen
- Microsoft.NETCore.App. That is, the dotnet/CoreFx dependency and Microsoft.NETCore.App should be
- coherent.
+ dotnet/runtime dependency version for System.Banana should be determined based on the dotnet/aspnetcore build
+ that produced the chosen Microsoft.CodeAnalysis.Razor. That is, the dotnet/runtime and dotnet/aspnetcore
+ dependencies should be coherent.
```xml
-
+
```
- The attribute value should be `"Microsoft.Extensions.Logging"` for dotnet/core-setup dependencies and
- `"Microsoft.CodeAnalysis.Razor"` for dotnet/extensions dependencies.
+ The attribute value should be `"Microsoft.CodeAnalysis.Razor"` for dotnet/runtime dependencies in
+ dotnet/aspnetcore-tooling.
## Example: make a breaking change to references
-If Microsoft.AspNetCore.Banana in 2.1 had a reference to `Microsoft.AspNetCore.Orange`, but in 3.0 this reference is changing to `Microsoft.AspNetCore.BetterThanOrange`, you would need to make these changes to the .csproj file
+If Microsoft.AspNetCore.Banana in 2.1 had a reference to `Microsoft.AspNetCore.Orange`, but in 3.1 or 5.0 this reference
+is changing to `Microsoft.AspNetCore.BetterThanOrange`, you would need to make these changes to the .csproj file
```diff
@@ -100,8 +104,12 @@ If Microsoft.AspNetCore.Banana in 2.1 had a reference to `Microsoft.AspNetCore.O
If the `dotnet-maestro` bot has not correctly updated the dependencies, it may be worthwhile running `darc` manually:
-1. Install `darc` as described in https://github.com/dotnet/arcade/blob/master/Documentation/Darc.md#setting-up-your-darc-client
-2. Run `darc update-dependencies --channel '.NET Core 3 Dev'`
- * Use `'.NET Core 3 Release'` in a `release/3.0-*` branch
+1. Install `darc` as described in
+2. Run `darc update-dependencies --channel '.NET Core 3.1 Release'`
+ * Use `'trigger-subscriptions'` to prod the bot to create a PR if you do not want to make local changes
+ * Use `'.NET 3 Eng''` to update dependencies from dotnet/arcade
+ * Use `'.NET Eng - Latest'` to update dependencies from dotnet/arcade in the `master` branch
+ * Use `'VS Master'` to update dependencies from dotnet/roslyn in the `master` branch
+ * Use `'.NET 5 Dev'` to update dependencies from dotnet/efcore or dotnet/runtime in the `master` branch
3. `git diff` to confirm the tool's changes
4. Proceed with usual commit and PR
diff --git a/eng/Build.props b/eng/Build.props
index 8fae63f8d846..56b4917250d1 100644
--- a/eng/Build.props
+++ b/eng/Build.props
@@ -41,9 +41,13 @@
-
+
+
+
false
@@ -121,8 +125,11 @@
-
+ SkipNonexistentProjects="true">
+
<_SharedFrameworkAndPackageRef Include="@(_ProjectReferenceProvider->WithMetadataValue('IsAspNetCoreApp','true')->WithMetadataValue('IsPackable', 'true')->Distinct())" />
<_SharedFrameworkRef Include="@(_ProjectReferenceProvider->WithMetadataValue('IsAspNetCoreApp','true')->WithMetadataValue('IsPackable', 'false')->Distinct())" />
- <_ProjectReferenceProviderWithRefAssembly Include="@(_ProjectReferenceProvider->HasMetadata('ReferenceAssemblyProjectFileRelativePath'))" />
- <_ProjectReferenceProvider Remove="@(_ProjectReferenceProviderWithRefAssembly)" />
@@ -36,7 +34,6 @@
@(_ProjectReferenceProvider->'', '%0A ')
- @(_ProjectReferenceProviderWithRefAssembly->'', '%0A ')
]]>
@@ -77,12 +74,4 @@
-
-
-
-
diff --git a/eng/Dependencies.props b/eng/Dependencies.props
index d302d52766cf..a00e929607af 100644
--- a/eng/Dependencies.props
+++ b/eng/Dependencies.props
@@ -12,179 +12,196 @@ and are generated based on the last package release.
$(MSBuildAllProjects);$(MSBuildThisFileFullPath)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
+
+
+
+
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ $([System.String]::new('%(Identity)').Replace('.',''))
+
+
+
+
+ $(%(VersionName)PackageVersion)
+ $(%(VersionName)V0PackageVersion)
+
+
+
+
+
+
+
+
+ $(MicrosoftNETCoreAppRuntimeVersion)
+
+
diff --git a/eng/ProjectReferences.props b/eng/ProjectReferences.props
index 4cca37297264..a0e89782caee 100644
--- a/eng/ProjectReferences.props
+++ b/eng/ProjectReferences.props
@@ -5,27 +5,65 @@
-->
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -34,13 +72,29 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -48,9 +102,24 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -58,106 +127,37 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/eng/RTMVersions/Directory.Build.props b/eng/RTMVersions/Directory.Build.props
new file mode 100644
index 000000000000..75a243907360
--- /dev/null
+++ b/eng/RTMVersions/Directory.Build.props
@@ -0,0 +1,6 @@
+
+
+
+
+
+
diff --git a/eng/RTMVersions/Directory.Build.targets b/eng/RTMVersions/Directory.Build.targets
new file mode 100644
index 000000000000..058246e40862
--- /dev/null
+++ b/eng/RTMVersions/Directory.Build.targets
@@ -0,0 +1 @@
+
diff --git a/eng/RTMVersions/RTMVersions.csproj b/eng/RTMVersions/RTMVersions.csproj
new file mode 100644
index 000000000000..486d02b1e470
--- /dev/null
+++ b/eng/RTMVersions/RTMVersions.csproj
@@ -0,0 +1,28 @@
+
+
+
+ net5.0
+ false
+
+
+ none
+ false
+ false
+ false
+ false
+ false
+
+
+ false
+
+
+
+
+
+
+
+
+
diff --git a/eng/SharedFramework.External.props b/eng/SharedFramework.External.props
index 59987b0a2c9b..a43f82e80353 100644
--- a/eng/SharedFramework.External.props
+++ b/eng/SharedFramework.External.props
@@ -5,19 +5,6 @@
-->
-
-
-
- $(SystemIOPipelinesPackageVersion.Split('.')[0]).$(SystemIOPipelinesPackageVersion.Split('.')[1]).0
- $(SystemSecurityCryptographyXmlPackageVersion.Split('.')[0]).$(SystemSecurityCryptographyXmlPackageVersion.Split('.')[1]).0
- $(MicrosoftWin32SystemEventsPackageVersion.Split('.')[0]).$(MicrosoftWin32SystemEventsPackageVersion.Split('.')[1]).0
- $(SystemDiagnosticsEventLogPackageVersion.Split('.')[0]).$(SystemDiagnosticsEventLogPackageVersion.Split('.')[1]).0
- $(SystemDrawingCommonPackageVersion.Split('.')[0]).$(SystemDrawingCommonPackageVersion.Split('.')[1]).0
- $(SystemSecurityCryptographyPkcsPackageVersion.Split('.')[0]).$(SystemSecurityCryptographyPkcsPackageVersion.Split('.')[1]).0
- $(SystemSecurityPermissionsPackageVersion.Split('.')[0]).$(SystemSecurityPermissionsPackageVersion.Split('.')[1]).0
- $(SystemWindowsExtensionsPackageVersion.Split('.')[0]).$(SystemWindowsExtensionsPackageVersion.Split('.')[1]).0
-
-
@@ -66,9 +53,13 @@
If these are needed as direct dependencies, it is okay to change them to ExternalAspNetCoreAppReference and move up into sections above.
-->
<_TransitiveExternalAspNetCoreAppReference Include="Microsoft.Win32.SystemEvents" Version="$(MicrosoftWin32SystemEventsPackageVersion)" />
- <_TransitiveExternalAspNetCoreAppReference Include="System.Diagnostics.EventLog" Version="$(SystemDiagnosticsEventLogPackageVersion)" />
<_TransitiveExternalAspNetCoreAppReference Include="System.Drawing.Common" Version="$(SystemDrawingCommonPackageVersion)" />
<_TransitiveExternalAspNetCoreAppReference Include="System.Security.Cryptography.Pkcs" Version="$(SystemSecurityCryptographyPkcsPackageVersion)" />
+
+ <_TransitiveExternalAspNetCoreAppReference Include="System.Diagnostics.EventLog" Version="$(SystemDiagnosticsEventLogPackageVersion)" />
<_TransitiveExternalAspNetCoreAppReference Include="System.Security.Permissions" Version="$(SystemSecurityPermissionsPackageVersion)" />
<_TransitiveExternalAspNetCoreAppReference Include="System.Windows.Extensions" Version="$(SystemWindowsExtensionsPackageVersion)" />
diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml
index 516f46414fad..5d9ed07e5ea4 100644
--- a/eng/Version.Details.xml
+++ b/eng/Version.Details.xml
@@ -300,10 +300,6 @@
https://github.com/dotnet/runtime
f37dd6fc8595e130909dcb3085a56342d04aa20c
-
- https://github.com/dotnet/arcade
- 243cc92161ad44c2a07464425892daee19121c99
-
https://github.com/dotnet/arcade
243cc92161ad44c2a07464425892daee19121c99
diff --git a/eng/Versions.props b/eng/Versions.props
index 84ec8f51e6ac..b4b215ead81c 100644
--- a/eng/Versions.props
+++ b/eng/Versions.props
@@ -61,8 +61,6 @@
-->
-
- 5.0.0-beta.20330.3
3.8.0-1.20361.1
@@ -157,6 +155,30 @@
-->
$(MicrosoftNETCoreAppRuntimewinx64PackageVersion)
+
+
+
+ $(MicrosoftWin32RegistryPackageVersion.Split('.')[0]).$(MicrosoftWin32RegistryPackageVersion.Split('.')[1]).0
+ $(MicrosoftWin32SystemEventsPackageVersion.Split('.')[0]).$(MicrosoftWin32SystemEventsPackageVersion.Split('.')[1]).0
+ $(SystemDiagnosticsEventLogPackageVersion.Split('.')[0]).$(SystemDiagnosticsEventLogPackageVersion.Split('.')[1]).0
+ $(SystemDrawingCommonPackageVersion.Split('.')[0]).$(SystemDrawingCommonPackageVersion.Split('.')[1]).0
+ $(SystemIOPipelinesPackageVersion.Split('.')[0]).$(SystemIOPipelinesPackageVersion.Split('.')[1]).0
+ $(SystemSecurityAccessControlPackageVersion.Split('.')[0]).$(SystemSecurityAccessControlPackageVersion.Split('.')[1]).0
+ $(SystemSecurityCryptographyCngPackageVersion.Split('.')[0]).$(SystemSecurityCryptographyCngPackageVersion.Split('.')[1]).0
+ $(SystemSecurityCryptographyPkcsPackageVersion.Split('.')[0]).$(SystemSecurityCryptographyPkcsPackageVersion.Split('.')[1]).0
+ $(SystemSecurityCryptographyXmlPackageVersion.Split('.')[0]).$(SystemSecurityCryptographyXmlPackageVersion.Split('.')[1]).0
+ $(SystemSecurityPermissionsPackageVersion.Split('.')[0]).$(SystemSecurityPermissionsPackageVersion.Split('.')[1]).0
+ $(SystemSecurityPrincipalWindowsPackageVersion.Split('.')[0]).$(SystemSecurityPrincipalWindowsPackageVersion.Split('.')[1]).0
+ $(SystemWindowsExtensionsPackageVersion.Split('.')[0]).$(SystemWindowsExtensionsPackageVersion.Split('.')[1]).0
+
+
5.0.0-preview.4.20180.4
@@ -189,7 +211,7 @@
3.7.0-4.20351.7
3.7.0-4.20351.7
3.7.0-4.20351.7
- 3.0.0
+ 3.0.0
1.0.0-20200708.1
3.19.8
6.7.1
@@ -206,6 +228,8 @@
2.1.1
2.2.0
3.1.3-servicing-20163-14
+ $(MicrosoftAspNetCoreAzureAppServicesSiteExtension31PackageVersion)
+ $(MicrosoftAspNetCoreAzureAppServicesSiteExtension31PackageVersion)
0.9.9
0.12.1
@@ -223,6 +247,7 @@
3.0.0
3.0.0
2.1.90
+ $(MessagePackPackageVersion)
4.10.0
0.11.2
1.0.2
diff --git a/eng/scripts/CodeCheck.ps1 b/eng/scripts/CodeCheck.ps1
index b4eb71c2030b..3f8b17928fba 100644
--- a/eng/scripts/CodeCheck.ps1
+++ b/eng/scripts/CodeCheck.ps1
@@ -166,11 +166,6 @@ try {
& $PSScriptRoot\GenerateProjectList.ps1 -ci:$ci
}
- Write-Host "Re-generating references assemblies"
- Invoke-Block {
- & $PSScriptRoot\GenerateReferenceAssemblies.ps1 -ci:$ci
- }
-
Write-Host "Re-generating package baselines"
Invoke-Block {
& dotnet run -p "$repoRoot/eng/tools/BaselineGenerator/"
diff --git a/eng/scripts/GenerateReferenceAssemblies.ps1 b/eng/scripts/GenerateReferenceAssemblies.ps1
deleted file mode 100644
index 2884b7aa7f62..000000000000
--- a/eng/scripts/GenerateReferenceAssemblies.ps1
+++ /dev/null
@@ -1,22 +0,0 @@
-param(
- [switch]$ci
-)
-
-$ErrorActionPreference = 'stop'
-$repoRoot = Resolve-Path "$PSScriptRoot/../.."
-
-try {
- # eng/common/msbuild.ps1 builds the Debug configuration unless there's a $Configuration variable. Match that here.
- & "$repoRoot\build.ps1" -ci:$ci -nobl -noBuildRepoTasks -noRestore -buildNative -configuration Debug
-
- Remove-Item variable:global:_BuildTool -ErrorAction Ignore
-
- $excludeCIBinarylog = $true
- $msbuildEngine = 'dotnet'
- & "$repoRoot\eng\common\msbuild.ps1" -ci:$ci "$repoRoot/eng/CodeGen.proj" /t:GenerateReferenceSources
-} finally {
- Remove-Item variable:global:_BuildTool -ErrorAction Ignore
- Remove-Item variable:global:_DotNetInstallDir -ErrorAction Ignore
- Remove-Item variable:global:_ToolsetBuildProj -ErrorAction Ignore
- Remove-Item variable:global:_MSBuildExe -ErrorAction Ignore
-}
diff --git a/eng/targets/CSharp.Common.props b/eng/targets/CSharp.Common.props
index c355896e5884..00aa2fa2a75c 100644
--- a/eng/targets/CSharp.Common.props
+++ b/eng/targets/CSharp.Common.props
@@ -10,8 +10,6 @@
-
-
@@ -57,8 +55,6 @@
-
-
false
diff --git a/eng/targets/CSharp.Common.targets b/eng/targets/CSharp.Common.targets
index 8708182c4cf5..65d5f3b0fcb1 100644
--- a/eng/targets/CSharp.Common.targets
+++ b/eng/targets/CSharp.Common.targets
@@ -9,7 +9,6 @@
-
<_Parameter1>CommitHash
@@ -28,6 +27,13 @@
+
+
+
+ <_PackageFilesToExclude Include="@(IntermediateRefAssembly);$(TargetRefPath)" />
+
+
+
-
-
- @(_ResultTargetFramework)$(_TargetFrameworkOverride)$(_NullableProperty)
-
- @(ProjectListContentItem->'%(Identity)', '%0A')
-
-]]>
-
-
-
-
-
-
-
-
-
- <_RefSourceFileTFM>$(TargetFramework)
- <_RefSourceFileTFM Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp' AND
- $([MSBuild]::VersionGreaterThanOrEquals($(TargetFrameworkVersion), '5.0'))">netcoreapp
- <_RefProjectFileTFM>$(TargetFramework)
- <_RefProjectFileTFM Condition="'$(TargetFramework)' == '$(DefaultNetCoreTargetFramework)'">%24(DefaultNetCoreTargetFramework)
-
- <_RefSourceOutputPath>$([System.IO.Directory]::GetParent('$(MSBuildProjectDirectory)'))/ref/
- <_RefSourceFileName>$(AssemblyName).$(_RefSourceFileTFM).cs
- <_ManualRefSourceFileName>$(AssemblyName).Manual.cs
- <_PerTFMManualRefSourceFileName>$(AssemblyName).$(_RefSourceFileTFM).Manual.cs
- <_RefSourceFileOutputPath>$(_RefSourceOutputPath)$(_RefSourceFileName)
-
-
-
- <_ReferenceDirectoriesWithDuplicates Include="@(ReferencePath->'%(RootDir)%(Directory)'->TrimEnd('\'))" />
- <_ReferencePathDirectories Include="%(_ReferenceDirectoriesWithDuplicates.Identity)" />
-
-
-
- <_GenApiFile>$([MSBuild]::NormalizePath('$(ArtifactsDir)', 'log', 'GenAPI.rsp'))
- <_GenAPICommand
- Condition="'$(MSBuildRuntimeType)' == 'core'">"$(DotNetTool)" --roll-forward-on-no-candidate-fx 2 "$(_GenAPIPath)"
- <_GenAPICmd>$(_GenAPICommand) @"$(_GenApiFile)"
- <_GenAPICmd
- Condition=" '$(AdditionalGenApiCmdOptions)' != '' ">$(_GenAPICmd) $(AdditionalGenApiCmdOptions)
- <_GenApiArguments>
-
-
-
-
-
-
-
-
-
-
- <_ReferenceAssemblyCompileItems Include="$(_RefSourceFileName)" />
- <_ReferenceAssemblyCompileItems Include="$(_ManualRefSourceFileName)"
- Condition="Exists('$(_RefSourceOutputPath)$(_ManualRefSourceFileName)')" />
- <_ReferenceAssemblyCompileItems Include="$(_PerTFMManualRefSourceFileName)"
- Condition="Exists('$(_RefSourceOutputPath)$(_PerTFMManualRefSourceFileName)')" />
- <_ReferenceAssemblyCompileItems Include="../src/AssemblyInfo.cs"
- Condition="Exists('$(MSBuildProjectDirectory)/AssemblyInfo.cs')" />
- <_ReferenceAssemblyCompileItems Include="../src/Properties/AssemblyInfo.cs"
- Condition="Exists('$(MSBuildProjectDirectory)/Properties/AssemblyInfo.cs')" />
-
-
- <_ReferenceAssemblyItems
- Include="@(_ReferenceAssemblyCompileItems->'<Compile Include="%(Identity)" />')" />
- <_ReferenceAssemblyItems
- Include="@(FilteredOriginalReferences->'<Reference Include="%(Identity)" />')"
- Condition=" '@(FilteredOriginalReferences)' != '' " />
-
- <_ReferenceAssemblyItems
- Include="@(InternalsVisibleTo->'<InternalsVisibleTo Include="%(Identity)" Key="%(Key)" />')"
- Condition=" '@(InternalsVisibleTo)' != '' " />
-
-
-
-
-
- @(_ReferenceAssemblyItems, '%0A ')
-
-]]>
-
-
-
-
-
-
-
-
-
diff --git a/eng/targets/ResolveReferences.targets b/eng/targets/ResolveReferences.targets
index aef4daf845b5..209b42d1d11d 100644
--- a/eng/targets/ResolveReferences.targets
+++ b/eng/targets/ResolveReferences.targets
@@ -19,7 +19,8 @@
- true
+ true
ResolveCustomReferences;
@@ -34,11 +35,14 @@
* when a project is a test or sample project
* when a package is releasing a new patch (we like to update external dependencies in patches when possible)
-->
- true
- true
+ true
+ true
true
- false
+ false
- true
- true
+ true
+ true
false
-
- true
- false
-
- true
- false
@@ -65,7 +65,8 @@
- true
+ true
@@ -77,7 +78,8 @@
<_UnusedProjectReferenceProvider Include="@(ProjectReferenceProvider)" Exclude="@(Reference)" />
- <_CompilationOnlyReference Condition="'$(TargetFramework)' == 'netstandard2.0'" Include="@(Reference->WithMetadataValue('NuGetPackageId','NETStandard.Library'))" />
+ <_CompilationOnlyReference Condition="'$(TargetFramework)' == 'netstandard2.0'"
+ Include="@(Reference->WithMetadataValue('NuGetPackageId','NETStandard.Library'))" />
<_InvalidReferenceToNonSharedFxAssembly Condition="'$(IsAspNetCoreApp)' == 'true'"
Include="@(Reference)"
@@ -89,6 +91,7 @@
@(Reference->WithMetadataValue('IsSharedSource', 'true'));
@(Reference->WithMetadataValue('PrivateAssets', 'All'))" />
<_OriginalReferences Include="@(Reference)" />
+
-
- false
-
-
-
- true
-
-
+
@@ -116,17 +111,19 @@
individual assemblies.
-->
+
-
-
-
+
-
+
-
+
@@ -155,20 +153,20 @@
-
+
+ Condition=" '$(IsServicingBuild)' == 'true' OR '$(UseLatestPackageReferences)' != 'true' ">
-
+
@@ -181,8 +179,8 @@
-
+
@@ -192,24 +190,55 @@
<_ImplicitPackageReference Remove="@(_ImplicitPackageReference)" />
-
+
<_ExplicitPackageReference Remove="@(_ExplicitPackageReference)" />
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <_ResolvedCompileFileDefinitionsToChange
+ HintPath="$([System.String]::new('%(Identity)').Replace('\%(Version)\', '\%(RTMVersion)\').Replace('/%(Version)/', '/%(RTMVersion)/'))" />
+
+
+ <_ResolvedCompileFileDefinitionsToChange Remove="@(_ResolvedCompileFileDefinitionsToChange)" />
+
@@ -246,20 +275,20 @@
-
- $(MSBuildProjectDirectory)/../ref/
- $([MSBuild]::MakeRelative($(RepoRoot), '$(ReferenceAssemblyDirectory)$(MSBuildProjectFile)'))
-
-
-
-
+
+
+
$([MSBuild]::ValueOrDefault($(IsAspNetCoreApp),'false'))
$([MSBuild]::ValueOrDefault($(IsPackable),'false'))
$([MSBuild]::MakeRelative($(RepoRoot), $(MSBuildProjectFullPath)))
- $(ReferenceAssemblyProjectFileRelativePath)
diff --git a/src/Antiforgery/ref/Directory.Build.props b/src/Antiforgery/ref/Directory.Build.props
deleted file mode 100644
index 5001ef12be6e..000000000000
--- a/src/Antiforgery/ref/Directory.Build.props
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
-
- annotations
-
-
\ No newline at end of file
diff --git a/src/Antiforgery/ref/Microsoft.AspNetCore.Antiforgery.Manual.cs b/src/Antiforgery/ref/Microsoft.AspNetCore.Antiforgery.Manual.cs
deleted file mode 100644
index 10c1b0e282e0..000000000000
--- a/src/Antiforgery/ref/Microsoft.AspNetCore.Antiforgery.Manual.cs
+++ /dev/null
@@ -1,147 +0,0 @@
-// 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.
-
-namespace Microsoft.AspNetCore.Antiforgery
-{
- internal partial class AntiforgeryFeature : Microsoft.AspNetCore.Antiforgery.IAntiforgeryFeature
- {
- public AntiforgeryFeature() { }
- public Microsoft.AspNetCore.Antiforgery.AntiforgeryToken CookieToken { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
- public bool HaveDeserializedCookieToken { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
- public bool HaveDeserializedRequestToken { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
- public bool HaveGeneratedNewCookieToken { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
- public bool HaveStoredNewCookieToken { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
- public Microsoft.AspNetCore.Antiforgery.AntiforgeryToken NewCookieToken { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
- public string NewCookieTokenString { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
- public Microsoft.AspNetCore.Antiforgery.AntiforgeryToken NewRequestToken { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
- public string NewRequestTokenString { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
- public Microsoft.AspNetCore.Antiforgery.AntiforgeryToken RequestToken { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
- }
-
- internal partial class AntiforgerySerializationContext
- {
- public AntiforgerySerializationContext() { }
- public System.IO.BinaryReader Reader { get { throw null; } }
- public System.Security.Cryptography.SHA256 Sha256 { get { throw null; } }
- public System.IO.MemoryStream Stream { get { throw null; } }
- public System.IO.BinaryWriter Writer { get { throw null; } }
- public char[] GetChars(int count) { throw null; }
- public void Reset() { }
- }
-
- internal partial class AntiforgerySerializationContextPooledObjectPolicy : Microsoft.Extensions.ObjectPool.IPooledObjectPolicy
- {
- public AntiforgerySerializationContextPooledObjectPolicy() { }
- public Microsoft.AspNetCore.Antiforgery.AntiforgerySerializationContext Create() { throw null; }
- public bool Return(Microsoft.AspNetCore.Antiforgery.AntiforgerySerializationContext obj) { throw null; }
- }
-
- internal sealed partial class AntiforgeryToken
- {
- internal const int ClaimUidBitLength = 256;
- internal const int SecurityTokenBitLength = 128;
- public AntiforgeryToken() { }
- public string AdditionalData { get { throw null; } set { } }
- public Microsoft.AspNetCore.Antiforgery.BinaryBlob ClaimUid { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
- public bool IsCookieToken { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
- public Microsoft.AspNetCore.Antiforgery.BinaryBlob SecurityToken { get { throw null; } set { } }
- public string Username { get { throw null; } set { } }
- }
-
- [System.Diagnostics.DebuggerDisplayAttribute("{DebuggerString}")]
- internal sealed partial class BinaryBlob : System.IEquatable
- {
- public BinaryBlob(int bitLength) { }
- public BinaryBlob(int bitLength, byte[] data) { }
- public int BitLength { get { throw null; } }
- public bool Equals(Microsoft.AspNetCore.Antiforgery.BinaryBlob other) { throw null; }
- public override bool Equals(object obj) { throw null; }
- public byte[] GetData() { throw null; }
- public override int GetHashCode() { throw null; }
- }
-
- internal partial class DefaultAntiforgery : Microsoft.AspNetCore.Antiforgery.IAntiforgery
- {
- public DefaultAntiforgery(Microsoft.Extensions.Options.IOptions antiforgeryOptionsAccessor, Microsoft.AspNetCore.Antiforgery.IAntiforgeryTokenGenerator tokenGenerator, Microsoft.AspNetCore.Antiforgery.IAntiforgeryTokenSerializer tokenSerializer, Microsoft.AspNetCore.Antiforgery.IAntiforgeryTokenStore tokenStore, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory) { }
- public Microsoft.AspNetCore.Antiforgery.AntiforgeryTokenSet GetAndStoreTokens(Microsoft.AspNetCore.Http.HttpContext httpContext) { throw null; }
- public Microsoft.AspNetCore.Antiforgery.AntiforgeryTokenSet GetTokens(Microsoft.AspNetCore.Http.HttpContext httpContext) { throw null; }
- [System.Diagnostics.DebuggerStepThroughAttribute]
- public System.Threading.Tasks.Task IsRequestValidAsync(Microsoft.AspNetCore.Http.HttpContext httpContext) { throw null; }
- public void SetCookieTokenAndHeader(Microsoft.AspNetCore.Http.HttpContext httpContext) { }
- protected virtual void SetDoNotCacheHeaders(Microsoft.AspNetCore.Http.HttpContext httpContext) { }
- [System.Diagnostics.DebuggerStepThroughAttribute]
- public System.Threading.Tasks.Task ValidateRequestAsync(Microsoft.AspNetCore.Http.HttpContext httpContext) { throw null; }
- }
-
- internal partial class DefaultAntiforgeryTokenGenerator : Microsoft.AspNetCore.Antiforgery.IAntiforgeryTokenGenerator
- {
- public DefaultAntiforgeryTokenGenerator(Microsoft.AspNetCore.Antiforgery.IClaimUidExtractor claimUidExtractor, Microsoft.AspNetCore.Antiforgery.IAntiforgeryAdditionalDataProvider additionalDataProvider) { }
- public Microsoft.AspNetCore.Antiforgery.AntiforgeryToken GenerateCookieToken() { throw null; }
- public Microsoft.AspNetCore.Antiforgery.AntiforgeryToken GenerateRequestToken(Microsoft.AspNetCore.Http.HttpContext httpContext, Microsoft.AspNetCore.Antiforgery.AntiforgeryToken cookieToken) { throw null; }
- public bool IsCookieTokenValid(Microsoft.AspNetCore.Antiforgery.AntiforgeryToken cookieToken) { throw null; }
- public bool TryValidateTokenSet(Microsoft.AspNetCore.Http.HttpContext httpContext, Microsoft.AspNetCore.Antiforgery.AntiforgeryToken cookieToken, Microsoft.AspNetCore.Antiforgery.AntiforgeryToken requestToken, out string message) { throw null; }
- }
-
- internal partial class DefaultAntiforgeryTokenSerializer : Microsoft.AspNetCore.Antiforgery.IAntiforgeryTokenSerializer
- {
- public DefaultAntiforgeryTokenSerializer(Microsoft.AspNetCore.DataProtection.IDataProtectionProvider provider, Microsoft.Extensions.ObjectPool.ObjectPool pool) { }
- public Microsoft.AspNetCore.Antiforgery.AntiforgeryToken Deserialize(string serializedToken) { throw null; }
- public string Serialize(Microsoft.AspNetCore.Antiforgery.AntiforgeryToken token) { throw null; }
- }
-
- internal partial class DefaultAntiforgeryTokenStore : Microsoft.AspNetCore.Antiforgery.IAntiforgeryTokenStore
- {
- public DefaultAntiforgeryTokenStore(Microsoft.Extensions.Options.IOptions optionsAccessor) { }
- public string GetCookieToken(Microsoft.AspNetCore.Http.HttpContext httpContext) { throw null; }
- [System.Diagnostics.DebuggerStepThroughAttribute]
- public System.Threading.Tasks.Task GetRequestTokensAsync(Microsoft.AspNetCore.Http.HttpContext httpContext) { throw null; }
- public void SaveCookieToken(Microsoft.AspNetCore.Http.HttpContext httpContext, string token) { }
- }
-
- internal partial class DefaultClaimUidExtractor : Microsoft.AspNetCore.Antiforgery.IClaimUidExtractor
- {
- public DefaultClaimUidExtractor(Microsoft.Extensions.ObjectPool.ObjectPool pool) { }
- public string ExtractClaimUid(System.Security.Claims.ClaimsPrincipal claimsPrincipal) { throw null; }
- public static System.Collections.Generic.IList GetUniqueIdentifierParameters(System.Collections.Generic.IEnumerable claimsIdentities) { throw null; }
- }
-
- internal partial interface IAntiforgeryFeature
- {
- Microsoft.AspNetCore.Antiforgery.AntiforgeryToken CookieToken { get; set; }
- bool HaveDeserializedCookieToken { get; set; }
- bool HaveDeserializedRequestToken { get; set; }
- bool HaveGeneratedNewCookieToken { get; set; }
- bool HaveStoredNewCookieToken { get; set; }
- Microsoft.AspNetCore.Antiforgery.AntiforgeryToken NewCookieToken { get; set; }
- string NewCookieTokenString { get; set; }
- Microsoft.AspNetCore.Antiforgery.AntiforgeryToken NewRequestToken { get; set; }
- string NewRequestTokenString { get; set; }
- Microsoft.AspNetCore.Antiforgery.AntiforgeryToken RequestToken { get; set; }
- }
-
- internal partial interface IAntiforgeryTokenGenerator
- {
- Microsoft.AspNetCore.Antiforgery.AntiforgeryToken GenerateCookieToken();
- Microsoft.AspNetCore.Antiforgery.AntiforgeryToken GenerateRequestToken(Microsoft.AspNetCore.Http.HttpContext httpContext, Microsoft.AspNetCore.Antiforgery.AntiforgeryToken cookieToken);
- bool IsCookieTokenValid(Microsoft.AspNetCore.Antiforgery.AntiforgeryToken cookieToken);
- bool TryValidateTokenSet(Microsoft.AspNetCore.Http.HttpContext httpContext, Microsoft.AspNetCore.Antiforgery.AntiforgeryToken cookieToken, Microsoft.AspNetCore.Antiforgery.AntiforgeryToken requestToken, out string message);
- }
-
- internal partial interface IAntiforgeryTokenSerializer
- {
- Microsoft.AspNetCore.Antiforgery.AntiforgeryToken Deserialize(string serializedToken);
- string Serialize(Microsoft.AspNetCore.Antiforgery.AntiforgeryToken token);
- }
-
- internal partial interface IAntiforgeryTokenStore
- {
- string GetCookieToken(Microsoft.AspNetCore.Http.HttpContext httpContext);
- System.Threading.Tasks.Task GetRequestTokensAsync(Microsoft.AspNetCore.Http.HttpContext httpContext);
- void SaveCookieToken(Microsoft.AspNetCore.Http.HttpContext httpContext, string token);
- }
-
- internal partial interface IClaimUidExtractor
- {
- string ExtractClaimUid(System.Security.Claims.ClaimsPrincipal claimsPrincipal);
- }
-}
diff --git a/src/Antiforgery/ref/Microsoft.AspNetCore.Antiforgery.csproj b/src/Antiforgery/ref/Microsoft.AspNetCore.Antiforgery.csproj
deleted file mode 100644
index ab33043f0cdb..000000000000
--- a/src/Antiforgery/ref/Microsoft.AspNetCore.Antiforgery.csproj
+++ /dev/null
@@ -1,17 +0,0 @@
-
-
-
- $(DefaultNetCoreTargetFramework)
- annotations
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/Antiforgery/ref/Microsoft.AspNetCore.Antiforgery.netcoreapp.cs b/src/Antiforgery/ref/Microsoft.AspNetCore.Antiforgery.netcoreapp.cs
deleted file mode 100644
index ca33981a5932..000000000000
--- a/src/Antiforgery/ref/Microsoft.AspNetCore.Antiforgery.netcoreapp.cs
+++ /dev/null
@@ -1,49 +0,0 @@
-// 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.
-
-namespace Microsoft.AspNetCore.Antiforgery
-{
- public partial class AntiforgeryOptions
- {
- public static readonly string DefaultCookiePrefix;
- public AntiforgeryOptions() { }
- public Microsoft.AspNetCore.Http.CookieBuilder Cookie { get { throw null; } set { } }
- public string FormFieldName { get { throw null; } set { } }
- public string? HeaderName { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } }
- public bool SuppressXFrameOptionsHeader { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } }
- }
- public partial class AntiforgeryTokenSet
- {
- public AntiforgeryTokenSet(string? requestToken, string? cookieToken, string formFieldName, string? headerName) { }
- public string? CookieToken { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public string FormFieldName { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public string? HeaderName { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- public string? RequestToken { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- }
- public partial class AntiforgeryValidationException : System.Exception
- {
- public AntiforgeryValidationException(string message) { }
- public AntiforgeryValidationException(string message, System.Exception? innerException) { }
- }
- public partial interface IAntiforgery
- {
- Microsoft.AspNetCore.Antiforgery.AntiforgeryTokenSet GetAndStoreTokens(Microsoft.AspNetCore.Http.HttpContext httpContext);
- Microsoft.AspNetCore.Antiforgery.AntiforgeryTokenSet GetTokens(Microsoft.AspNetCore.Http.HttpContext httpContext);
- System.Threading.Tasks.Task IsRequestValidAsync(Microsoft.AspNetCore.Http.HttpContext httpContext);
- void SetCookieTokenAndHeader(Microsoft.AspNetCore.Http.HttpContext httpContext);
- System.Threading.Tasks.Task ValidateRequestAsync(Microsoft.AspNetCore.Http.HttpContext httpContext);
- }
- public partial interface IAntiforgeryAdditionalDataProvider
- {
- string GetAdditionalData(Microsoft.AspNetCore.Http.HttpContext context);
- bool ValidateAdditionalData(Microsoft.AspNetCore.Http.HttpContext context, string additionalData);
- }
-}
-namespace Microsoft.Extensions.DependencyInjection
-{
- public static partial class AntiforgeryServiceCollectionExtensions
- {
- public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddAntiforgery(this Microsoft.Extensions.DependencyInjection.IServiceCollection services) { throw null; }
- public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddAntiforgery(this Microsoft.Extensions.DependencyInjection.IServiceCollection services, System.Action setupAction) { throw null; }
- }
-}
diff --git a/src/Components/Authorization/ref/Microsoft.AspNetCore.Components.Authorization.csproj b/src/Components/Authorization/ref/Microsoft.AspNetCore.Components.Authorization.csproj
deleted file mode 100644
index 238b4804b0a4..000000000000
--- a/src/Components/Authorization/ref/Microsoft.AspNetCore.Components.Authorization.csproj
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
- $(DefaultNetCoreTargetFramework)
-
-
-
-
-
-
-
diff --git a/src/Components/Authorization/ref/Microsoft.AspNetCore.Components.Authorization.netcoreapp.cs b/src/Components/Authorization/ref/Microsoft.AspNetCore.Components.Authorization.netcoreapp.cs
deleted file mode 100644
index 1ed5ecbf0e5c..000000000000
--- a/src/Components/Authorization/ref/Microsoft.AspNetCore.Components.Authorization.netcoreapp.cs
+++ /dev/null
@@ -1,68 +0,0 @@
-// 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.
-
-namespace Microsoft.AspNetCore.Components.Authorization
-{
- public partial class AuthenticationState
- {
- public AuthenticationState(System.Security.Claims.ClaimsPrincipal user) { }
- public System.Security.Claims.ClaimsPrincipal User { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- }
- public delegate void AuthenticationStateChangedHandler(System.Threading.Tasks.Task task);
- public abstract partial class AuthenticationStateProvider
- {
- protected AuthenticationStateProvider() { }
- public event Microsoft.AspNetCore.Components.Authorization.AuthenticationStateChangedHandler AuthenticationStateChanged { add { } remove { } }
- public abstract System.Threading.Tasks.Task GetAuthenticationStateAsync();
- protected void NotifyAuthenticationStateChanged(System.Threading.Tasks.Task task) { }
- }
- public sealed partial class AuthorizeRouteView : Microsoft.AspNetCore.Components.RouteView
- {
- public AuthorizeRouteView() { }
- [Microsoft.AspNetCore.Components.ParameterAttribute]
- public Microsoft.AspNetCore.Components.RenderFragment Authorizing { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } }
- [Microsoft.AspNetCore.Components.ParameterAttribute]
- public Microsoft.AspNetCore.Components.RenderFragment NotAuthorized { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } }
- protected override void Render(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder builder) { }
- }
- public partial class AuthorizeView : Microsoft.AspNetCore.Components.Authorization.AuthorizeViewCore
- {
- public AuthorizeView() { }
- [Microsoft.AspNetCore.Components.ParameterAttribute]
- public string Policy { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } }
- [Microsoft.AspNetCore.Components.ParameterAttribute]
- public string Roles { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } }
- protected override Microsoft.AspNetCore.Authorization.IAuthorizeData[] GetAuthorizeData() { throw null; }
- }
- public abstract partial class AuthorizeViewCore : Microsoft.AspNetCore.Components.ComponentBase
- {
- protected AuthorizeViewCore() { }
- [Microsoft.AspNetCore.Components.ParameterAttribute]
- public Microsoft.AspNetCore.Components.RenderFragment Authorized { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } }
- [Microsoft.AspNetCore.Components.ParameterAttribute]
- public Microsoft.AspNetCore.Components.RenderFragment Authorizing { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } }
- [Microsoft.AspNetCore.Components.ParameterAttribute]
- public Microsoft.AspNetCore.Components.RenderFragment ChildContent { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } }
- [Microsoft.AspNetCore.Components.ParameterAttribute]
- public Microsoft.AspNetCore.Components.RenderFragment NotAuthorized { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } }
- [Microsoft.AspNetCore.Components.ParameterAttribute]
- public object Resource { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } }
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder builder) { }
- protected abstract Microsoft.AspNetCore.Authorization.IAuthorizeData[] GetAuthorizeData();
- [System.Diagnostics.DebuggerStepThroughAttribute]
- protected override System.Threading.Tasks.Task OnParametersSetAsync() { throw null; }
- }
- public partial class CascadingAuthenticationState : Microsoft.AspNetCore.Components.ComponentBase, System.IDisposable
- {
- public CascadingAuthenticationState() { }
- [Microsoft.AspNetCore.Components.ParameterAttribute]
- public Microsoft.AspNetCore.Components.RenderFragment ChildContent { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } }
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder) { }
- protected override void OnInitialized() { }
- void System.IDisposable.Dispose() { }
- }
- public partial interface IHostEnvironmentAuthenticationStateProvider
- {
- void SetAuthenticationState(System.Threading.Tasks.Task authenticationStateTask);
- }
-}
diff --git a/src/Components/Authorization/ref/Microsoft.AspNetCore.Components.Authorization.netstandard2.0.cs b/src/Components/Authorization/ref/Microsoft.AspNetCore.Components.Authorization.netstandard2.0.cs
deleted file mode 100644
index 1ed5ecbf0e5c..000000000000
--- a/src/Components/Authorization/ref/Microsoft.AspNetCore.Components.Authorization.netstandard2.0.cs
+++ /dev/null
@@ -1,68 +0,0 @@
-// 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.
-
-namespace Microsoft.AspNetCore.Components.Authorization
-{
- public partial class AuthenticationState
- {
- public AuthenticationState(System.Security.Claims.ClaimsPrincipal user) { }
- public System.Security.Claims.ClaimsPrincipal User { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } }
- }
- public delegate void AuthenticationStateChangedHandler(System.Threading.Tasks.Task task);
- public abstract partial class AuthenticationStateProvider
- {
- protected AuthenticationStateProvider() { }
- public event Microsoft.AspNetCore.Components.Authorization.AuthenticationStateChangedHandler AuthenticationStateChanged { add { } remove { } }
- public abstract System.Threading.Tasks.Task GetAuthenticationStateAsync();
- protected void NotifyAuthenticationStateChanged(System.Threading.Tasks.Task task) { }
- }
- public sealed partial class AuthorizeRouteView : Microsoft.AspNetCore.Components.RouteView
- {
- public AuthorizeRouteView() { }
- [Microsoft.AspNetCore.Components.ParameterAttribute]
- public Microsoft.AspNetCore.Components.RenderFragment Authorizing { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } }
- [Microsoft.AspNetCore.Components.ParameterAttribute]
- public Microsoft.AspNetCore.Components.RenderFragment NotAuthorized { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } }
- protected override void Render(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder builder) { }
- }
- public partial class AuthorizeView : Microsoft.AspNetCore.Components.Authorization.AuthorizeViewCore
- {
- public AuthorizeView() { }
- [Microsoft.AspNetCore.Components.ParameterAttribute]
- public string Policy { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } }
- [Microsoft.AspNetCore.Components.ParameterAttribute]
- public string Roles { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } }
- protected override Microsoft.AspNetCore.Authorization.IAuthorizeData[] GetAuthorizeData() { throw null; }
- }
- public abstract partial class AuthorizeViewCore : Microsoft.AspNetCore.Components.ComponentBase
- {
- protected AuthorizeViewCore() { }
- [Microsoft.AspNetCore.Components.ParameterAttribute]
- public Microsoft.AspNetCore.Components.RenderFragment Authorized { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } }
- [Microsoft.AspNetCore.Components.ParameterAttribute]
- public Microsoft.AspNetCore.Components.RenderFragment Authorizing { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } }
- [Microsoft.AspNetCore.Components.ParameterAttribute]
- public Microsoft.AspNetCore.Components.RenderFragment ChildContent { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } }
- [Microsoft.AspNetCore.Components.ParameterAttribute]
- public Microsoft.AspNetCore.Components.RenderFragment NotAuthorized { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } }
- [Microsoft.AspNetCore.Components.ParameterAttribute]
- public object Resource { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } }
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder builder) { }
- protected abstract Microsoft.AspNetCore.Authorization.IAuthorizeData[] GetAuthorizeData();
- [System.Diagnostics.DebuggerStepThroughAttribute]
- protected override System.Threading.Tasks.Task OnParametersSetAsync() { throw null; }
- }
- public partial class CascadingAuthenticationState : Microsoft.AspNetCore.Components.ComponentBase, System.IDisposable
- {
- public CascadingAuthenticationState() { }
- [Microsoft.AspNetCore.Components.ParameterAttribute]
- public Microsoft.AspNetCore.Components.RenderFragment ChildContent { [System.Runtime.CompilerServices.CompilerGeneratedAttribute] get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute] set { } }
- protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder) { }
- protected override void OnInitialized() { }
- void System.IDisposable.Dispose() { }
- }
- public partial interface IHostEnvironmentAuthenticationStateProvider
- {
- void SetAuthenticationState(System.Threading.Tasks.Task authenticationStateTask);
- }
-}
diff --git a/src/Components/Components/ref/Microsoft.AspNetCore.Components.Manual.cs b/src/Components/Components/ref/Microsoft.AspNetCore.Components.Manual.cs
deleted file mode 100644
index 26646bf79bb8..000000000000
--- a/src/Components/Components/ref/Microsoft.AspNetCore.Components.Manual.cs
+++ /dev/null
@@ -1,322 +0,0 @@
-// 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;
-using System.Runtime.InteropServices;
-using Microsoft.AspNetCore.Components.Rendering;
-
-namespace Microsoft.AspNetCore.Components
-{
- public readonly partial struct ElementReference
- {
- internal static Microsoft.AspNetCore.Components.ElementReference CreateWithUniqueId() { throw null; }
- }
- public abstract partial class NavigationManager
- {
- internal static string NormalizeBaseUri(string baseUri) { throw null; }
- }
- public readonly partial struct RenderHandle
- {
- internal RenderHandle(Microsoft.AspNetCore.Components.RenderTree.Renderer renderer, int componentId) { throw null; }
- }
- internal partial class ComponentFactory
- {
- public static readonly Microsoft.AspNetCore.Components.ComponentFactory Instance;
- public ComponentFactory() { }
- public Microsoft.AspNetCore.Components.IComponent InstantiateComponent(System.IServiceProvider serviceProvider, System.Type componentType) { throw null; }
- }
- public readonly partial struct ParameterView
- {
- internal ParameterView(in Microsoft.AspNetCore.Components.Rendering.ParameterViewLifetime lifetime, Microsoft.AspNetCore.Components.RenderTree.RenderTreeFrame[] frames, int ownerIndex) { throw null; }
- internal Microsoft.AspNetCore.Components.Rendering.ParameterViewLifetime Lifetime { get { throw null; } }
- internal void CaptureSnapshot(Microsoft.AspNetCore.Components.RenderTree.ArrayBuilder builder) { }
- internal bool DefinitelyEquals(Microsoft.AspNetCore.Components.ParameterView oldParameters) { throw null; }
- internal Microsoft.AspNetCore.Components.ParameterView WithCascadingParameters(System.Collections.Generic.IReadOnlyList cascadingParameters) { throw null; }
- }
- internal static partial class RouteTableFactory
- {
- public static readonly System.Collections.Generic.IComparer RoutePrecedence;
- internal static Microsoft.AspNetCore.Components.Routing.RouteTable Create(System.Collections.Generic.Dictionary templatesByHandler) { throw null; }
- public static Microsoft.AspNetCore.Components.Routing.RouteTable Create(System.Collections.Generic.IEnumerable assemblies) { throw null; }
- internal static Microsoft.AspNetCore.Components.Routing.RouteTable Create(System.Collections.Generic.IEnumerable componentTypes) { throw null; }
- internal static int RouteComparison(Microsoft.AspNetCore.Components.Routing.RouteEntry x, Microsoft.AspNetCore.Components.Routing.RouteEntry y) { throw null; }
- }
- internal partial interface IEventCallback
- {
- bool HasDelegate { get; }
- object UnpackForRenderTree();
- }
- internal partial interface ICascadingValueComponent
- {
- object CurrentValue { get; }
- bool CurrentValueIsFixed { get; }
- bool CanSupplyValue(System.Type valueType, string valueName);
- void Subscribe(Microsoft.AspNetCore.Components.Rendering.ComponentState subscriber);
- void Unsubscribe(Microsoft.AspNetCore.Components.Rendering.ComponentState subscriber);
- }
- [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
- internal readonly partial struct CascadingParameterState
- {
- private readonly object _dummy;
- public CascadingParameterState(string localValueName, Microsoft.AspNetCore.Components.ICascadingValueComponent valueSupplier) { throw null; }
- public string LocalValueName { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
- public Microsoft.AspNetCore.Components.ICascadingValueComponent ValueSupplier { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
- public static System.Collections.Generic.IReadOnlyList FindCascadingParameters(Microsoft.AspNetCore.Components.Rendering.ComponentState componentState) { throw null; }
- }
-}
-namespace Microsoft.AspNetCore.Components.RenderTree
-{
- public readonly partial struct RenderTreeEdit
- {
- internal static Microsoft.AspNetCore.Components.RenderTree.RenderTreeEdit PermutationListEnd() { throw null; }
- internal static Microsoft.AspNetCore.Components.RenderTree.RenderTreeEdit PermutationListEntry(int fromSiblingIndex, int toSiblingIndex) { throw null; }
- internal static Microsoft.AspNetCore.Components.RenderTree.RenderTreeEdit PrependFrame(int siblingIndex, int referenceFrameIndex) { throw null; }
- internal static Microsoft.AspNetCore.Components.RenderTree.RenderTreeEdit RemoveAttribute(int siblingIndex, string name) { throw null; }
- internal static Microsoft.AspNetCore.Components.RenderTree.RenderTreeEdit RemoveFrame(int siblingIndex) { throw null; }
- internal static Microsoft.AspNetCore.Components.RenderTree.RenderTreeEdit SetAttribute(int siblingIndex, int referenceFrameIndex) { throw null; }
- internal static Microsoft.AspNetCore.Components.RenderTree.RenderTreeEdit StepIn(int siblingIndex) { throw null; }
- internal static Microsoft.AspNetCore.Components.RenderTree.RenderTreeEdit StepOut() { throw null; }
- internal static Microsoft.AspNetCore.Components.RenderTree.RenderTreeEdit UpdateMarkup(int siblingIndex, int referenceFrameIndex) { throw null; }
- internal static Microsoft.AspNetCore.Components.RenderTree.RenderTreeEdit UpdateText(int siblingIndex, int referenceFrameIndex) { throw null; }
- }
- public readonly partial struct RenderBatch
- {
- internal RenderBatch(Microsoft.AspNetCore.Components.RenderTree.ArrayRange updatedComponents, Microsoft.AspNetCore.Components.RenderTree.ArrayRange referenceFrames, Microsoft.AspNetCore.Components.RenderTree.ArrayRange disposedComponentIDs, Microsoft.AspNetCore.Components.RenderTree.ArrayRange disposedEventHandlerIDs) { throw null; }
- }
- internal static partial class ArrayBuilderExtensions
- {
- public static Microsoft.AspNetCore.Components.RenderTree.ArrayRange ToRange(this Microsoft.AspNetCore.Components.RenderTree.ArrayBuilder builder) { throw null; }
- public static Microsoft.AspNetCore.Components.RenderTree.ArrayBuilderSegment ToSegment(this Microsoft.AspNetCore.Components.RenderTree.ArrayBuilder builder, int fromIndexInclusive, int toIndexExclusive) { throw null; }
- }
- internal static partial class RenderTreeDiffBuilder
- {
- public const int SystemAddedAttributeSequenceNumber = -2147483648;
- public static Microsoft.AspNetCore.Components.RenderTree.RenderTreeDiff ComputeDiff(Microsoft.AspNetCore.Components.RenderTree.Renderer renderer, Microsoft.AspNetCore.Components.Rendering.RenderBatchBuilder batchBuilder, int componentId, Microsoft.AspNetCore.Components.RenderTree.ArrayRange oldTree, Microsoft.AspNetCore.Components.RenderTree.ArrayRange newTree) { throw null; }
- public static void DisposeFrames(Microsoft.AspNetCore.Components.Rendering.RenderBatchBuilder batchBuilder, Microsoft.AspNetCore.Components.RenderTree.ArrayRange frames) { }
- }
- internal partial class ArrayBuilder : System.IDisposable
- {
- public ArrayBuilder(int minCapacity = 32, System.Buffers.ArrayPool arrayPool = null) { }
- public T[] Buffer { get { throw null; } }
- public int Count { get { throw null; } }
- [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)]public int Append(in T item) { throw null; }
- internal int Append(T[] source, int startIndex, int length) { throw null; }
- public void Clear() { }
- public void Dispose() { }
- public void InsertExpensive(int index, T value) { }
- [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)]public void Overwrite(int index, in T value) { }
- public void RemoveLast() { }
- }
- internal partial class StackObjectPool where T : class
- {
- public StackObjectPool(int maxPreservedItems, System.Func instanceFactory) { }
- public T Get() { throw null; }
- public void Return(T instance) { }
- }
- public readonly partial struct RenderTreeDiff
- {
- internal RenderTreeDiff(int componentId, Microsoft.AspNetCore.Components.RenderTree.ArrayBuilderSegment entries) { throw null; }
- }
-
- // https://github.com/dotnet/arcade/pull/2033
- [StructLayout(LayoutKind.Explicit, Pack = 4)]
- public readonly partial struct RenderTreeFrame
- {
- [FieldOffset(0)] public readonly int Sequence;
-
- [FieldOffset(4)] public readonly RenderTreeFrameType FrameType;
-
- [FieldOffset(8)] public readonly int ElementSubtreeLength;
-
- [FieldOffset(16)] public readonly string ElementName;
-
- [FieldOffset(24)] public readonly object ElementKey;
-
- [FieldOffset(16)] public readonly string TextContent;
-
- [FieldOffset(8)] public readonly ulong AttributeEventHandlerId;
-
- [FieldOffset(16)] public readonly string AttributeName;
-
- [FieldOffset(24)] public readonly object AttributeValue;
-
- [FieldOffset(32)] public readonly string AttributeEventUpdatesAttributeName;
-
- [FieldOffset(8)] public readonly int ComponentSubtreeLength;
-
- [FieldOffset(12)] public readonly int ComponentId;
-
- [FieldOffset(16)] public readonly Type ComponentType;
-
- [FieldOffset(32)] public readonly object ComponentKey;
-
- public IComponent Component => null;
-
- [FieldOffset(8)] public readonly int RegionSubtreeLength;
-
- [FieldOffset(16)] public readonly string ElementReferenceCaptureId;
-
- [FieldOffset(24)] public readonly Action ElementReferenceCaptureAction;
-
- [FieldOffset(8)] public readonly int ComponentReferenceCaptureParentFrameIndex;
-
- [FieldOffset(16)] public readonly Action