diff --git a/.azure/pipelines/ci.yml b/.azure/pipelines/ci.yml
index 09c05b8757..93df4e04f9 100644
--- a/.azure/pipelines/ci.yml
+++ b/.azure/pipelines/ci.yml
@@ -63,7 +63,7 @@ variables:
- name: _BuildArgs
value: ''
- name: _SignType
- valule: test
+ value: test
- name: _PublishArgs
value: ''
# used for post-build phases, internal builds only
@@ -636,7 +636,6 @@ stages:
parameters:
# See https://github.com/dotnet/arcade/issues/2871
enableSymbolValidation: false
- enableSigningValidation: false
publishInstallersAndChecksums: true
# This is to enable SDL runs part of Post-Build Validation Stage
SDLValidationParameters:
diff --git a/Directory.Build.props b/Directory.Build.props
index 2fe19bde83..b123605a33 100644
--- a/Directory.Build.props
+++ b/Directory.Build.props
@@ -84,8 +84,14 @@
aspnetcore-runtime
aspnetcore-targeting-pack
-
- false
+
+
+ false
+ true
+ false
+ true
false
-
+
- true
+ true
@@ -58,18 +59,18 @@
-
- $(PackagesInPatch.Contains(' $(PackageId);'))
-
-
+ true
true
-
+
false
+
+ $(PackageVersion)
+
+
$(BaselinePackageVersion.Substring(0, $(BaselinePackageVersion.IndexOf('-')))).0
@@ -83,6 +84,9 @@
-->
$(BaselinePackageVersion)
$(BaselinePackageVersion)
+
+
+ $(BaselinePackageVersion)
@@ -92,7 +96,8 @@
true
- true
+ true
false
true
@@ -105,9 +110,8 @@
-
+
-
$(AspNetCoreMajorVersion).$(AspNetCoreMinorVersion).0.0
@@ -161,6 +165,6 @@
-
+
diff --git a/NuGet.config b/NuGet.config
index 3cbe74036f..6a9ec52915 100644
--- a/NuGet.config
+++ b/NuGet.config
@@ -8,16 +8,10 @@
-
-
-
-
-
+
+
+
-
-
-
-
diff --git a/docs/PreparingPatchUpdates.md b/docs/PreparingPatchUpdates.md
index ee153b4d03..5b069cb4b0 100644
--- a/docs/PreparingPatchUpdates.md
+++ b/docs/PreparingPatchUpdates.md
@@ -12,5 +12,3 @@ In order to prepare this repo to build a new servicing update, the following cha
* Update the package baselines. This is used to ensure packages keep a consistent set of dependencies between releases.
See [eng/tools/BaselineGenerator/](/eng/tools/BaselineGenerator/README.md) for instructions on how to run this tool.
-
-* Update the list of packages in [eng/PatchConfig.props](/eng/PatchConfig.props) to list which packages should be patching in this release.
diff --git a/docs/ReferenceResolution.md b/docs/ReferenceResolution.md
index 8f1fe70675..043082f4ec 100644
--- a/docs/ReferenceResolution.md
+++ b/docs/ReferenceResolution.md
@@ -31,7 +31,6 @@ The requirements that led to this system are:
* [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/Dependencies.props](/eng/Dependencies.props) - contains a list of all package references that might be used in the repo.
-* [eng/PatchConfig.props](/eng/PatchConfig.props) - lists which assemblies or packages are patching in the current build.
* [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.
diff --git a/eng/Build.props b/eng/Build.props
index 2a045abf95..588be47ca8 100644
--- a/eng/Build.props
+++ b/eng/Build.props
@@ -158,7 +158,35 @@
@(ProjectToExclude);
$(RepoRoot)**\node_modules\**\*;
$(RepoRoot)**\bin\**\*;
- $(RepoRoot)**\obj\**\*;" />
+ $(RepoRoot)**\obj\**\*;"
+ Condition=" '$(BuildMainlyReferenceProviders)' != 'true' " />
+
diff --git a/eng/CodeGen.proj b/eng/CodeGen.proj
index e2b6785f30..d8e4e2fbc2 100644
--- a/eng/CodeGen.proj
+++ b/eng/CodeGen.proj
@@ -3,6 +3,7 @@
true
$([MSBuild]::NormalizeDirectory('$(MSBuildThisFileDirectory)', '..'))
+ true
@@ -15,7 +16,6 @@
BuildInParallel="true"
SkipNonexistentTargets="true"
SkipNonexistentProjects="true" >
-
diff --git a/eng/Dependencies.props b/eng/Dependencies.props
index 2e11857b1b..8e7bb0ecd5 100644
--- a/eng/Dependencies.props
+++ b/eng/Dependencies.props
@@ -82,12 +82,14 @@ and are generated based on the last package release.
+
+
@@ -99,6 +101,7 @@ and are generated based on the last package release.
+
diff --git a/eng/GenAPI.exclusions.txt b/eng/GenAPI.exclusions.txt
index ebabc0ac7d..810c09e52c 100644
--- a/eng/GenAPI.exclusions.txt
+++ b/eng/GenAPI.exclusions.txt
@@ -2,4 +2,24 @@
T:Microsoft.AspNetCore.Components.RenderTree.RenderTreeFrame
# Manually implemented - https://github.com/dotnet/arcade/issues/2066
T:Microsoft.AspNetCore.Mvc.ApplicationModels.PageParameterModel
-T:Microsoft.AspNetCore.Mvc.ApplicationModels.PagePropertyModel
\ No newline at end of file
+T:Microsoft.AspNetCore.Mvc.ApplicationModels.PagePropertyModel
+# Manually implemented - Need to include internal setter
+P:Microsoft.AspNetCore.Mvc.Razor.Infrastructure.TagHelperMemoryCacheProvider.Cache
+P:Microsoft.AspNetCore.Mvc.RazorPages.RazorPagesOptions.Conventions
+P:Microsoft.AspNetCore.Routing.Matching.CandidateState.Values
+P:Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions.KestrelServerOptions
+# public structs with public fields that GenAPI doesn't handle
+T:Microsoft.AspNetCore.Components.EventCallback
+T:Microsoft.AspNetCore.Components.EventCallback`1
+# Break GenAPI - https://github.com/dotnet/arcade/issues/4488
+T:Microsoft.AspNetCore.Components.Rendering.HtmlRenderer.d__17
+T:Microsoft.AspNetCore.Components.Rendering.HtmlRenderer.d__8
+T:Microsoft.AspNetCore.Mvc.ApplicationModels.ActionAttributeRouteModel.<>c
+T:Microsoft.AspNetCore.Mvc.ApplicationModels.ActionAttributeRouteModel.d__3
+T:Microsoft.AspNetCore.Mvc.ControllerBase.d__181`1
+T:Microsoft.AspNetCore.Mvc.ControllerBase.d__183`1
+T:Microsoft.AspNetCore.Mvc.ControllerBase.d__184`1
+T:Microsoft.AspNetCore.Mvc.ControllerBase.d__187
+T:Microsoft.AspNetCore.Mvc.Controllers.ControllerBinderDelegateProvider.<>c__DisplayClass0_0
+T:Microsoft.AspNetCore.Mvc.ModelBinding.CompositeValueProvider.d__4
+T:Microsoft.AspNetCore.Mvc.Routing.ConsumesMatcherPolicy.<>c
diff --git a/eng/PatchConfig.props b/eng/PatchConfig.props
deleted file mode 100644
index 60adba37fa..0000000000
--- a/eng/PatchConfig.props
+++ /dev/null
@@ -1,28 +0,0 @@
-
-
-
- $(MSBuildAllProjects);$(MSBuildThisFileFullPath)
-
-
-
-
- Microsoft.Net.Http.Headers;
- Microsoft.AspNetCore.CookiePolicy;
- Microsoft.AspNetCore.DataProtection.EntityFrameworkCore;
- @microsoft/signalr;
- Microsoft.Net.Http.Headers;
- Microsoft.AspNetCore.Http.Abstractions;
- Microsoft.AspNetCore.Http.Features;
- Microsoft.AspNetCore.CookiePolicy;
-
-
-
diff --git a/eng/ProjectReferences.props b/eng/ProjectReferences.props
index 3ac3e8dbf6..dedf038e0b 100644
--- a/eng/ProjectReferences.props
+++ b/eng/ProjectReferences.props
@@ -5,36 +5,72 @@
-->
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
@@ -43,61 +79,40 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -110,34 +125,18 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/eng/SignCheckExclusionsFile.txt b/eng/SignCheckExclusionsFile.txt
index e047f630ec..a65b9f27f9 100644
--- a/eng/SignCheckExclusionsFile.txt
+++ b/eng/SignCheckExclusionsFile.txt
@@ -1,4 +1,5 @@
-apphost.exe;; Exclude the apphost because this is expected to be code-signed by customers after the SDK modifies it.
-.js;; We do not sign JavaScript files.
-.binlog;; MSBuild binary logs are not signed though they are sometimes placed where validation thinks they should be.
-WixUIWixca|WixDepCA;; We do not sign WiX content in our installers.
+*apphost.exe;; Exclude the apphost because this is expected to be code-signed by customers after the SDK modifies it.
+*.binlog;; MSBuild binary logs are not signed though they are sometimes placed where validation thinks they should be.
+*.js;; We do not sign JavaScript files.
+*netfxca|*wixca|*wixdepca|*wixuiwixca;*.msi; We do not sign WiX content in our installers.
+*wixstdba.dll;*.exe;
diff --git a/eng/Versions.props b/eng/Versions.props
index 3017b16bef..ac32a23cfd 100644
--- a/eng/Versions.props
+++ b/eng/Versions.props
@@ -23,15 +23,12 @@
4
preview$(BlazorClientPreReleasePreviewNumber)
$(AspNetCoreMajorVersion).$(AspNetCoreMinorVersion)
+
+ 3.1.0
false
-
- true
-
- true
+
+ true
$(AspNetCoreMajorVersion).$(AspNetCoreMinorVersion).$(AspNetCorePatchVersion)
$(VersionPrefix)
diff --git a/eng/targets/Packaging.targets b/eng/targets/Packaging.targets
index fdef1de7a3..ea8dabdb46 100644
--- a/eng/targets/Packaging.targets
+++ b/eng/targets/Packaging.targets
@@ -13,7 +13,7 @@
<_ProjectPathWithVersion Include="$(MSBuildProjectFullPath)">
$(PackageId)
- $(PackageVersion)
+ $(PackageVersionForPackageVersionInfo)
$(VersionSuffix)
$(PackageId.Replace('.',''))PackageVersion
diff --git a/eng/targets/ReferenceAssembly.targets b/eng/targets/ReferenceAssembly.targets
index 149d4e2443..59568267be 100644
--- a/eng/targets/ReferenceAssembly.targets
+++ b/eng/targets/ReferenceAssembly.targets
@@ -1,6 +1,6 @@
-
+
<_RefSourceOutputPath>$([System.IO.Directory]::GetParent('$(MSBuildProjectDirectory)'))/ref/
<_RefProjectFileOutputPath>$(_RefSourceOutputPath)$(AssemblyName).csproj
@@ -13,8 +13,8 @@
+ Targets="_GenerateProjectSourceInner"
+ Properties="TargetFramework=%(_DeduplicatedTargetFramework.Identity);CompileUsingReferenceAssemblies=false">
@@ -34,16 +34,17 @@
]]>
-
-
-
+
-
+
<_RefSourceFileTFM>$(TargetFramework)
<_RefSourceFileTFM Condition="$(TargetFramework.StartsWith('netcoreapp'))">netcoreapp
@@ -53,6 +54,7 @@
<_RefSourceOutputPath>$([System.IO.Directory]::GetParent('$(MSBuildProjectDirectory)'))/ref/
<_RefSourceFileName>$(AssemblyName).$(_RefSourceFileTFM).cs
<_ManualRefSourceFileName>$(AssemblyName).Manual.cs
+ <_PerTFMManualRefSourceFileName>$(AssemblyName).$(_RefSourceFileTFM).Manual.cs
<_RefSourceFileOutputPath>$(_RefSourceOutputPath)$(_RefSourceFileName)
@@ -63,8 +65,12 @@
<_GenApiFile>$([MSBuild]::NormalizePath('$(ArtifactsDir)', 'log', 'GenAPI.rsp'))
- <_GenAPICommand Condition="'$(MSBuildRuntimeType)' == 'core'">"$(DotNetTool)" --roll-forward-on-no-candidate-fx 2 "$(_GenAPIPath)"
+ <_GenAPICommand
+ Condition="'$(MSBuildRuntimeType)' == 'core'">"$(DotNetTool)" --roll-forward-on-no-candidate-fx 2 "$(_GenAPIPath)"
+ <_GenAPICmd>$(_GenAPICommand)
<_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)' != '' " />
- <_ManualReferenceAssemblyContent />
- <_ManualReferenceAssemblyContent Condition="Exists('$(_RefSourceOutputPath)$(_ManualRefSourceFileName)')">
- ]]>
-
-
- ]]>$(_ManualReferenceAssemblyContent)'', '%0A ')
+ @(_ReferenceAssemblyItems, '%0A ')
]]>
diff --git a/eng/targets/ResolveReferences.targets b/eng/targets/ResolveReferences.targets
index 4efbe58e97..d4f52db039 100644
--- a/eng/targets/ResolveReferences.targets
+++ b/eng/targets/ResolveReferences.targets
@@ -11,11 +11,12 @@
Items used by the resolution strategy:
- * BaselinePackageReference = a list of packages that were reference in the last release of the project currently building
+ * BaselinePackageReference = a list of packages that were referenced in the last release of the project currently building
+ - mainly used to ensure references do not change in servicing builds unless $(UseLatestPackageReferences) is not true.
* LatestPackageReference = a list of the latest versions of packages
* Reference = a list of the references which are needed for compilation or runtime
* ProjectReferenceProvider = a list which maps of assembly names to the project file that produces it
- -->
+-->
@@ -29,43 +30,49 @@
- true
- true
true
+ Condition=" '$(UseLatestPackageReferences)' == '' AND '$(IsServicingBuild)' != 'true' ">true
+ true
+ true
false
- true
- true
- false
+ true
- true
- false
+ true
+ false
- true
- false
+ true
+ false
-
+
- true
+ true
@@ -73,35 +80,40 @@
<_AllowedExplicitPackageReference Include="@(PackageReference->WithMetadataValue('AllowExplicitReference', 'true'))" />
<_AllowedExplicitPackageReference Include="FSharp.Core" Condition="'$(MSBuildProjectExtension)' == '.fsproj'" />
- <_ExplicitPackageReference Include="@(PackageReference)" Exclude="@(_ImplicitPackageReference);@(_AllowedExplicitPackageReference)" />
+ <_ExplicitPackageReference Include="@(PackageReference)"
+ Exclude="@(_ImplicitPackageReference);@(_AllowedExplicitPackageReference)" />
<_UnusedProjectReferenceProvider Include="@(ProjectReferenceProvider)" Exclude="@(Reference)" />
- <_CompilationOnlyReference Condition="'$(TargetFramework)' == 'netstandard2.0'" Include="@(Reference->WithMetadataValue('NuGetPackageId','NETStandard.Library'))" />
+ <_CompilationOnlyReference Include="@(Reference->WithMetadataValue('NuGetPackageId','NETStandard.Library'))"
+ Condition="'$(TargetFramework)' == 'netstandard2.0'" />
<_InvalidReferenceToNonSharedFxAssembly Condition="'$(IsAspNetCoreApp)' == 'true'"
- Include="@(Reference)"
- Exclude="
- @(AspNetCoreAppReference);
- @(AspNetCoreAppReferenceAndPackage);
- @(ExternalAspNetCoreAppReference);
- @(_CompilationOnlyReference);
- @(Reference->WithMetadataValue('IsSharedSource', 'true'))" />
+ Include="@(Reference)"
+ Exclude="
+ @(AspNetCoreAppReference);
+ @(AspNetCoreAppReferenceAndPackage);
+ @(ExternalAspNetCoreAppReference);
+ @(_CompilationOnlyReference);
+ @(Reference->WithMetadataValue('IsSharedSource', 'true'))" />
<_OriginalReferences Include="@(Reference)" />
+
<_ProjectReferenceByAssemblyName Condition="'$(UseProjectReferences)' == 'true'"
- Include="@(ProjectReferenceProvider)"
- Exclude="@(_UnusedProjectReferenceProvider)" />
+ Include="@(ProjectReferenceProvider)"
+ Exclude="@(_UnusedProjectReferenceProvider)" />
-
+
false
-
+
true
@@ -109,30 +121,31 @@
-
+ Text="Cannot reference "%(_InvalidReferenceToSharedFxOnlyAssembly.Identity)" directly because it is part of the shared framework and this project is not. Use <FrameworkReference Include="Microsoft.AspNetCore.App" /> instead." />
+ Text="Cannot reference "%(_InvalidReferenceToNonSharedFxAssembly.Identity)". This dependency is not in the shared framework. See docs/SharedFramework.md for instructions on how to modify what is in the shared framework." />
-
+
-
+
@@ -141,9 +154,15 @@
-
+
+
-
+
+
-
- <_BaselinePackageReferenceWithVersion Include="@(Reference)" Condition=" '$(IsServicingBuild)' == 'true' OR '$(UseLatestPackageReferences)' != 'true' ">
+
+ <_BaselinePackageReferenceWithVersion Include="@(Reference)"
+ Condition=" '$(IsServicingBuild)' == 'true' OR '$(UseLatestPackageReferences)' != 'true' ">
%(BaselinePackageReference.Identity)
%(BaselinePackageReference.Version)
-
- <_BaselinePackageReferenceWithVersion Remove="@(_BaselinePackageReferenceWithVersion)" Condition="'%(Id)' != '%(Identity)' " />
+ <_BaselinePackageReferenceWithVersion Remove="@(_BaselinePackageReferenceWithVersion)"
+ Condition="'%(Id)' != '%(Identity)' " />
@@ -176,10 +197,10 @@
%(LatestPackageReference.Identity)
%(LatestPackageReference.Version)
+ <_PrivatePackageReferenceWithVersion Remove="@(_PrivatePackageReferenceWithVersion)"
+ Condition="'%(Id)' != '%(Identity)' " />
- <_PrivatePackageReferenceWithVersion Remove="@(_PrivatePackageReferenceWithVersion)" Condition="'%(Id)' != '%(Identity)' " />
-
-
+
@@ -190,24 +211,91 @@
<_ImplicitPackageReference Remove="@(_ImplicitPackageReference)" />
-
+
<_ExplicitPackageReference Remove="@(_ExplicitPackageReference)" />
-
+
-
+
-
+
+
+
+
+
+ <_CompileTfmUsingReferenceAssemblies>false
+ <_CompileTfmUsingReferenceAssemblies
+ Condition=" '$(CompileUsingReferenceAssemblies)' != false AND '$(TargetFramework)' == '$(DefaultNetCoreTargetFramework)' ">true
+
+
+ <_ReferenceProjectFile>$(MSBuildProjectDirectory)/../ref/$(MSBuildProjectFile)
+
+
+ $(GetTargetPathWithTargetPlatformMonikerDependsOn);AddReferenceProjectMetadata
+ RemoveReferenceProjectMetadata;$(PrepareForRunDependsOn)
+
+
+
+
+ ReferenceProjectMetadata
+ false
+
+
+
+
+ true
+ @(ReferenceProjectMetadata)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ $(MicrosoftInternalExtensionsRefsPath)%(FileName).dll
+
+
@@ -231,24 +319,36 @@
$([MSBuild]::MakeRelative($(RepoRoot), '$(ReferenceAssemblyDirectory)$(MSBuildProjectFile)'))
-
-
+
+
+
+
$([MSBuild]::ValueOrDefault($(IsAspNetCoreApp),'false'))
$([MSBuild]::ValueOrDefault($(IsShippingPackage),'false'))
$([MSBuild]::MakeRelative($(RepoRoot), $(MSBuildProjectFullPath)))
- $(ReferenceAssemblyProjectFileRelativePath)
+ $(ReferenceAssemblyProjectFileRelativePath)
- <_CustomCollectProjectReferenceDependsOn Condition="'$(TargetFramework)' != ''">ResolveProjectReferences
+ <_CustomCollectProjectReferenceDependsOn
+ Condition="'$(TargetFramework)' != ''">ResolveProjectReferences
-
+
<_TargetFrameworks Include="$(TargetFrameworks)" />
diff --git a/src/Analyzers/Analyzers/test/AnalyzerTestBase.cs b/src/Analyzers/Analyzers/test/AnalyzerTestBase.cs
index ed80fa3d08..269c50a394 100644
--- a/src/Analyzers/Analyzers/test/AnalyzerTestBase.cs
+++ b/src/Analyzers/Analyzers/test/AnalyzerTestBase.cs
@@ -39,7 +39,7 @@ namespace Microsoft.AspNetCore.Analyzers
}
var read = Read(source);
- return DiagnosticProject.Create(GetType().Assembly, new[] { read.Source, });
+ return AnalyzersDiagnosticAnalyzerRunner.CreateProjectWithReferencesInBinDir(GetType().Assembly, new[] { read.Source, });
}
public Task CreateCompilationAsync(string source)
diff --git a/src/Analyzers/Analyzers/test/AnalyzersDiagnosticAnalyzerRunner.cs b/src/Analyzers/Analyzers/test/AnalyzersDiagnosticAnalyzerRunner.cs
index 57a8ce8a69..f54a187c0e 100644
--- a/src/Analyzers/Analyzers/test/AnalyzersDiagnosticAnalyzerRunner.cs
+++ b/src/Analyzers/Analyzers/test/AnalyzersDiagnosticAnalyzerRunner.cs
@@ -2,6 +2,9 @@
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
+using System.IO;
+using System.Linq;
+using System.Reflection;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Analyzer.Testing;
using Microsoft.CodeAnalysis;
@@ -20,7 +23,28 @@ namespace Microsoft.AspNetCore.Analyzers
public Task GetDiagnosticsAsync(string source)
{
- return GetDiagnosticsAsync(sources: new[] { source }, Analyzer, Array.Empty());
+ var project = CreateProjectWithReferencesInBinDir(GetType().Assembly, source);
+
+ return GetDiagnosticsAsync(project);
+ }
+
+ public static Project CreateProjectWithReferencesInBinDir(Assembly testAssembly, params string[] source)
+ {
+ // The deps file in the project is incorrect and does not contain "compile" nodes for some references.
+ // However these binaries are always present in the bin output. As a "temporary" workaround, we'll add
+ // every dll file that's present in the test's build output as a metadatareference.
+
+ var project = DiagnosticProject.Create(testAssembly, source);
+
+ foreach (var assembly in Directory.EnumerateFiles(AppContext.BaseDirectory, "*.dll"))
+ {
+ if (!project.MetadataReferences.Any(c => string.Equals(Path.GetFileNameWithoutExtension(c.Display), Path.GetFileNameWithoutExtension(assembly), StringComparison.OrdinalIgnoreCase)))
+ {
+ project = project.AddMetadataReference(MetadataReference.CreateFromFile(assembly));
+ }
+ }
+
+ return project;
}
public Task GetDiagnosticsAsync(Project project)
diff --git a/src/Antiforgery/ref/Microsoft.AspNetCore.Antiforgery.Manual.cs b/src/Antiforgery/ref/Microsoft.AspNetCore.Antiforgery.Manual.cs
new file mode 100644
index 0000000000..10c1b0e282
--- /dev/null
+++ b/src/Antiforgery/ref/Microsoft.AspNetCore.Antiforgery.Manual.cs
@@ -0,0 +1,147 @@
+// 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
index 19cd7ed436..451b80df95 100644
--- a/src/Antiforgery/ref/Microsoft.AspNetCore.Antiforgery.csproj
+++ b/src/Antiforgery/ref/Microsoft.AspNetCore.Antiforgery.csproj
@@ -5,10 +5,12 @@
-
-
-
-
-
+
+
+
+
+
+
+
diff --git a/src/Azure/AzureAD/Authentication.AzureAD.UI/ref/Microsoft.AspNetCore.Authentication.AzureAD.UI.csproj b/src/Azure/AzureAD/Authentication.AzureAD.UI/ref/Microsoft.AspNetCore.Authentication.AzureAD.UI.csproj
deleted file mode 100644
index 85033065e4..0000000000
--- a/src/Azure/AzureAD/Authentication.AzureAD.UI/ref/Microsoft.AspNetCore.Authentication.AzureAD.UI.csproj
+++ /dev/null
@@ -1,13 +0,0 @@
-
-
-
- $(DefaultNetCoreTargetFramework)
-
-
-
-
-
-
-
-
-
diff --git a/src/Azure/AzureAD/Authentication.AzureAD.UI/ref/Microsoft.AspNetCore.Authentication.AzureAD.UI.netcoreapp.cs b/src/Azure/AzureAD/Authentication.AzureAD.UI/ref/Microsoft.AspNetCore.Authentication.AzureAD.UI.netcoreapp.cs
deleted file mode 100644
index 2e7a9b87f9..0000000000
--- a/src/Azure/AzureAD/Authentication.AzureAD.UI/ref/Microsoft.AspNetCore.Authentication.AzureAD.UI.netcoreapp.cs
+++ /dev/null
@@ -1,64 +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.Authentication
-{
- public static partial class AzureADAuthenticationBuilderExtensions
- {
- public static Microsoft.AspNetCore.Authentication.AuthenticationBuilder AddAzureAD(this Microsoft.AspNetCore.Authentication.AuthenticationBuilder builder, System.Action configureOptions) { throw null; }
- public static Microsoft.AspNetCore.Authentication.AuthenticationBuilder AddAzureAD(this Microsoft.AspNetCore.Authentication.AuthenticationBuilder builder, string scheme, string openIdConnectScheme, string cookieScheme, string displayName, System.Action configureOptions) { throw null; }
- public static Microsoft.AspNetCore.Authentication.AuthenticationBuilder AddAzureADBearer(this Microsoft.AspNetCore.Authentication.AuthenticationBuilder builder, System.Action configureOptions) { throw null; }
- public static Microsoft.AspNetCore.Authentication.AuthenticationBuilder AddAzureADBearer(this Microsoft.AspNetCore.Authentication.AuthenticationBuilder builder, string scheme, string jwtBearerScheme, System.Action configureOptions) { throw null; }
- }
-}
-namespace Microsoft.AspNetCore.Authentication.AzureAD.UI
-{
- public static partial class AzureADDefaults
- {
- public const string AuthenticationScheme = "AzureAD";
- public const string BearerAuthenticationScheme = "AzureADBearer";
- public const string CookieScheme = "AzureADCookie";
- public static readonly string DisplayName;
- public const string JwtBearerAuthenticationScheme = "AzureADJwtBearer";
- public const string OpenIdScheme = "AzureADOpenID";
- }
- public partial class AzureADOptions
- {
- public AzureADOptions() { }
- public string[] AllSchemes { get { throw null; } }
- public string CallbackPath { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
- public string ClientId { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
- public string ClientSecret { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
- public string CookieSchemeName { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
- public string Domain { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
- public string Instance { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
- public string JwtBearerSchemeName { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
- public string OpenIdConnectSchemeName { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
- public string SignedOutCallbackPath { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
- public string TenantId { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
- }
-}
-namespace Microsoft.AspNetCore.Authentication.AzureAD.UI.Internal
-{
- [Microsoft.AspNetCore.Authorization.AllowAnonymousAttribute]
- public partial class AccessDeniedModel : Microsoft.AspNetCore.Mvc.RazorPages.PageModel
- {
- public AccessDeniedModel() { }
- public void OnGet() { }
- }
- [Microsoft.AspNetCore.Authorization.AllowAnonymousAttribute]
- [Microsoft.AspNetCore.Mvc.ResponseCacheAttribute(Duration=0, Location=Microsoft.AspNetCore.Mvc.ResponseCacheLocation.None, NoStore=true)]
- public partial class ErrorModel : Microsoft.AspNetCore.Mvc.RazorPages.PageModel
- {
- public ErrorModel() { }
- public string RequestId { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
- public bool ShowRequestId { get { throw null; } }
- public void OnGet() { }
- }
- [Microsoft.AspNetCore.Authorization.AllowAnonymousAttribute]
- public partial class SignedOutModel : Microsoft.AspNetCore.Mvc.RazorPages.PageModel
- {
- public SignedOutModel() { }
- public Microsoft.AspNetCore.Mvc.IActionResult OnGet() { throw null; }
- }
-}
diff --git a/src/Azure/AzureAD/Authentication.AzureADB2C.UI/ref/Microsoft.AspNetCore.Authentication.AzureADB2C.UI.csproj b/src/Azure/AzureAD/Authentication.AzureADB2C.UI/ref/Microsoft.AspNetCore.Authentication.AzureADB2C.UI.csproj
deleted file mode 100644
index 7bcd1a5e1b..0000000000
--- a/src/Azure/AzureAD/Authentication.AzureADB2C.UI/ref/Microsoft.AspNetCore.Authentication.AzureADB2C.UI.csproj
+++ /dev/null
@@ -1,13 +0,0 @@
-
-
-
- $(DefaultNetCoreTargetFramework)
-
-
-
-
-
-
-
-
-
diff --git a/src/Azure/AzureAD/Authentication.AzureADB2C.UI/ref/Microsoft.AspNetCore.Authentication.AzureADB2C.UI.netcoreapp.cs b/src/Azure/AzureAD/Authentication.AzureADB2C.UI/ref/Microsoft.AspNetCore.Authentication.AzureADB2C.UI.netcoreapp.cs
deleted file mode 100644
index 5cd9f38724..0000000000
--- a/src/Azure/AzureAD/Authentication.AzureADB2C.UI/ref/Microsoft.AspNetCore.Authentication.AzureADB2C.UI.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.Authentication
-{
- public static partial class AzureADB2CAuthenticationBuilderExtensions
- {
- public static Microsoft.AspNetCore.Authentication.AuthenticationBuilder AddAzureADB2C(this Microsoft.AspNetCore.Authentication.AuthenticationBuilder builder, System.Action configureOptions) { throw null; }
- public static Microsoft.AspNetCore.Authentication.AuthenticationBuilder AddAzureADB2C(this Microsoft.AspNetCore.Authentication.AuthenticationBuilder builder, string scheme, string openIdConnectScheme, string cookieScheme, string displayName, System.Action configureOptions) { throw null; }
- public static Microsoft.AspNetCore.Authentication.AuthenticationBuilder AddAzureADB2CBearer(this Microsoft.AspNetCore.Authentication.AuthenticationBuilder builder, System.Action configureOptions) { throw null; }
- public static Microsoft.AspNetCore.Authentication.AuthenticationBuilder AddAzureADB2CBearer(this Microsoft.AspNetCore.Authentication.AuthenticationBuilder builder, string scheme, string jwtBearerScheme, System.Action configureOptions) { throw null; }
- }
-}
-namespace Microsoft.AspNetCore.Authentication.AzureADB2C.UI
-{
- public static partial class AzureADB2CDefaults
- {
- public const string AuthenticationScheme = "AzureADB2C";
- public const string BearerAuthenticationScheme = "AzureADB2CBearer";
- public const string CookieScheme = "AzureADB2CCookie";
- public static readonly string DisplayName;
- public const string JwtBearerAuthenticationScheme = "AzureADB2CJwtBearer";
- public const string OpenIdScheme = "AzureADB2COpenID";
- public static readonly string PolicyKey;
- }
- public partial class AzureADB2COptions
- {
- public AzureADB2COptions() { }
- public string[] AllSchemes { get { throw null; } }
- public string CallbackPath { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
- public string ClientId { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
- public string ClientSecret { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
- public string CookieSchemeName { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
- public string DefaultPolicy { get { throw null; } }
- public string Domain { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
- public string EditProfilePolicyId { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
- public string Instance { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
- public string JwtBearerSchemeName { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } }
- public string OpenIdConnectSchemeName { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
- public string ResetPasswordPolicyId { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
- public string SignedOutCallbackPath { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
- public string SignUpSignInPolicyId { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
- }
-}
-namespace Microsoft.AspNetCore.Authentication.AzureADB2C.UI.Internal
-{
- [Microsoft.AspNetCore.Authorization.AllowAnonymousAttribute]
- public partial class AccessDeniedModel : Microsoft.AspNetCore.Mvc.RazorPages.PageModel
- {
- public AccessDeniedModel() { }
- public void OnGet() { }
- }
- [Microsoft.AspNetCore.Authorization.AllowAnonymousAttribute]
- [Microsoft.AspNetCore.Mvc.ResponseCacheAttribute(Duration=0, Location=Microsoft.AspNetCore.Mvc.ResponseCacheLocation.None, NoStore=true)]
- public partial class ErrorModel : Microsoft.AspNetCore.Mvc.RazorPages.PageModel
- {
- public ErrorModel() { }
- public string RequestId { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } }
- public bool ShowRequestId { get { throw null; } }
- public void OnGet() { }
- }
- [Microsoft.AspNetCore.Authorization.AllowAnonymousAttribute]
- public partial class SignedOutModel : Microsoft.AspNetCore.Mvc.RazorPages.PageModel
- {
- public SignedOutModel() { }
- public Microsoft.AspNetCore.Mvc.IActionResult OnGet() { throw null; }
- }
-}
diff --git a/src/Azure/AzureAppServices.HostingStartup/ref/Microsoft.AspNetCore.AzureAppServices.HostingStartup.csproj b/src/Azure/AzureAppServices.HostingStartup/ref/Microsoft.AspNetCore.AzureAppServices.HostingStartup.csproj
deleted file mode 100644
index 5026fcfe23..0000000000
--- a/src/Azure/AzureAppServices.HostingStartup/ref/Microsoft.AspNetCore.AzureAppServices.HostingStartup.csproj
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
- $(DefaultNetCoreTargetFramework)
-
-
-
-
-
-
-
diff --git a/src/Azure/AzureAppServices.HostingStartup/ref/Microsoft.AspNetCore.AzureAppServices.HostingStartup.netcoreapp.cs b/src/Azure/AzureAppServices.HostingStartup/ref/Microsoft.AspNetCore.AzureAppServices.HostingStartup.netcoreapp.cs
deleted file mode 100644
index 5b449024e0..0000000000
--- a/src/Azure/AzureAppServices.HostingStartup/ref/Microsoft.AspNetCore.AzureAppServices.HostingStartup.netcoreapp.cs
+++ /dev/null
@@ -1,11 +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.AzureAppServices.HostingStartup
-{
- public partial class AzureAppServicesHostingStartup : Microsoft.AspNetCore.Hosting.IHostingStartup
- {
- public AzureAppServicesHostingStartup() { }
- public void Configure(Microsoft.AspNetCore.Hosting.IWebHostBuilder builder) { }
- }
-}
diff --git a/src/Azure/AzureAppServicesIntegration/ref/Microsoft.AspNetCore.AzureAppServicesIntegration.csproj b/src/Azure/AzureAppServicesIntegration/ref/Microsoft.AspNetCore.AzureAppServicesIntegration.csproj
deleted file mode 100644
index ba1159838b..0000000000
--- a/src/Azure/AzureAppServicesIntegration/ref/Microsoft.AspNetCore.AzureAppServicesIntegration.csproj
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
- $(DefaultNetCoreTargetFramework)
-
-
-
-
-
-
-
diff --git a/src/Azure/AzureAppServicesIntegration/ref/Microsoft.AspNetCore.AzureAppServicesIntegration.netcoreapp.cs b/src/Azure/AzureAppServicesIntegration/ref/Microsoft.AspNetCore.AzureAppServicesIntegration.netcoreapp.cs
deleted file mode 100644
index 55a333c151..0000000000
--- a/src/Azure/AzureAppServicesIntegration/ref/Microsoft.AspNetCore.AzureAppServicesIntegration.netcoreapp.cs
+++ /dev/null
@@ -1,10 +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.Hosting
-{
- public static partial class AppServicesWebHostBuilderExtensions
- {
- public static Microsoft.AspNetCore.Hosting.IWebHostBuilder UseAzureAppServices(this Microsoft.AspNetCore.Hosting.IWebHostBuilder hostBuilder) { throw null; }
- }
-}
diff --git a/src/Components/Authorization/ref/Microsoft.AspNetCore.Components.Authorization.csproj b/src/Components/Authorization/ref/Microsoft.AspNetCore.Components.Authorization.csproj
index 513c24575d..3a91e8a4b8 100644
--- a/src/Components/Authorization/ref/Microsoft.AspNetCore.Components.Authorization.csproj
+++ b/src/Components/Authorization/ref/Microsoft.AspNetCore.Components.Authorization.csproj
@@ -5,12 +5,12 @@
-
-
+
+
-
-
+
+
diff --git a/src/Components/Blazor/Blazor/ref/Microsoft.AspNetCore.Blazor.csproj b/src/Components/Blazor/Blazor/ref/Microsoft.AspNetCore.Blazor.csproj
deleted file mode 100644
index d750edc189..0000000000
--- a/src/Components/Blazor/Blazor/ref/Microsoft.AspNetCore.Blazor.csproj
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-
- netstandard2.0
-
-
-
-
-
-
-
-
diff --git a/src/Components/Blazor/Blazor/ref/Microsoft.AspNetCore.Blazor.netstandard2.0.cs b/src/Components/Blazor/Blazor/ref/Microsoft.AspNetCore.Blazor.netstandard2.0.cs
deleted file mode 100644
index b8062d72c0..0000000000
--- a/src/Components/Blazor/Blazor/ref/Microsoft.AspNetCore.Blazor.netstandard2.0.cs
+++ /dev/null
@@ -1,81 +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.Blazor
-{
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
- public static partial class JSInteropMethods
- {
- [Microsoft.JSInterop.JSInvokableAttribute("NotifyLocationChanged")]
- public static void NotifyLocationChanged(string uri, bool isInterceptedLink) { }
- }
-}
-namespace Microsoft.AspNetCore.Blazor.Hosting
-{
- public static partial class BlazorWebAssemblyHost
- {
- public static Microsoft.AspNetCore.Blazor.Hosting.IWebAssemblyHostBuilder CreateDefaultBuilder() { throw null; }
- }
- public partial interface IWebAssemblyHost : System.IDisposable
- {
- System.IServiceProvider Services { get; }
- System.Threading.Tasks.Task StartAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
- System.Threading.Tasks.Task StopAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
- }
- public partial interface IWebAssemblyHostBuilder
- {
- System.Collections.Generic.IDictionary