Browse Source

[main] Update dependencies from dotnet/runtime dotnet/efcore (#47650)

[main] Update dependencies from dotnet/runtime dotnet/efcore


 - Add suppressions to CertificateXmlEncryptor and EncryptedXmlDecryptor

 - RoutePatternException serialization constructor and members obsolete

 - Update other exceptions

 - Fix up RequiresDynamicCode suppressions

 - Sync shared code from runtime

 - Add Obsoletions strings needed for obsolete Exception code shared between runtime and aspnetcore.

 - Update AmbiguousActionException

 - Update submodule

 - Add Obsoletions.cs to test projects

 - Update src/Servers/Kestrel/samples/http2cat/http2cat.csproj

 - Fix tests
dotnet-maestro[bot] 2 years ago
parent
commit
0dd576f7ff
23 changed files with 316 additions and 218 deletions
  1. 140 140
      eng/Version.Details.xml
  2. 70 70
      eng/Versions.props
  3. 3 0
      src/DataProtection/DataProtection/src/XmlEncryption/CertificateXmlEncryptor.cs
  4. 4 0
      src/DataProtection/DataProtection/src/XmlEncryption/EncryptedXmlDecryptor.cs
  5. 12 6
      src/Hosting/Hosting/test/WebHostBuilderTests.cs
  6. 1 0
      src/Http/Routing/src/Matching/AmbiguousMatchException.cs
  7. 2 0
      src/Http/Routing/src/Patterns/RoutePatternException.cs
  8. 1 0
      src/Mvc/Mvc.Core/src/Infrastructure/AmbiguousActionException.cs
  9. 1 0
      src/Servers/HttpSys/test/FunctionalTests/Microsoft.AspNetCore.Server.HttpSys.FunctionalTests.csproj
  10. 1 0
      src/Servers/IIS/IIS/test/IIS.FunctionalTests/IIS.FunctionalTests.csproj
  11. 1 0
      src/Servers/IIS/IIS/test/IIS.LongTests/IIS.LongTests.csproj
  12. 1 0
      src/Servers/IIS/IIS/test/IIS.NewHandler.FunctionalTests/IIS.NewHandler.FunctionalTests.csproj
  13. 1 0
      src/Servers/IIS/IIS/test/IIS.NewShim.FunctionalTests/IIS.NewShim.FunctionalTests.csproj
  14. 1 0
      src/Servers/IIS/IIS/test/IISExpress.FunctionalTests/IISExpress.FunctionalTests.csproj
  15. 2 1
      src/Servers/Kestrel/samples/http2cat/http2cat.csproj
  16. 34 0
      src/Shared/TrimmingAttributes.cs
  17. 3 0
      src/Shared/runtime/Http2/Hpack/HPackDecodingException.cs
  18. 11 0
      src/Shared/runtime/Http2/Hpack/HuffmanDecodingException.cs
  19. 4 0
      src/Shared/runtime/Http3/QPack/QPackDecodingException.cs
  20. 4 0
      src/Shared/runtime/Http3/QPack/QPackEncodingException.cs
  21. 13 0
      src/Shared/runtime/Obsoletions.cs
  22. 5 0
      src/SignalR/common/SignalR.Common/src/HubException.cs
  23. 1 1
      src/submodules/MessagePack-CSharp

+ 140 - 140
eng/Version.Details.xml

@@ -9,290 +9,290 @@
 -->
 <Dependencies>
   <ProductDependencies>
-    <Dependency Name="dotnet-ef" Version="8.0.0-preview.4.23210.7">
+    <Dependency Name="dotnet-ef" Version="8.0.0-preview.4.23212.3">
       <Uri>https://github.com/dotnet/efcore</Uri>
-      <Sha>6e1ab0737681ec8dff3a6f63d255dbef0ca793cd</Sha>
+      <Sha>596dcd6d7b7a67082fca25e6a832d252547ffa51</Sha>
     </Dependency>
-    <Dependency Name="Microsoft.EntityFrameworkCore.InMemory" Version="8.0.0-preview.4.23210.7">
+    <Dependency Name="Microsoft.EntityFrameworkCore.InMemory" Version="8.0.0-preview.4.23212.3">
       <Uri>https://github.com/dotnet/efcore</Uri>
-      <Sha>6e1ab0737681ec8dff3a6f63d255dbef0ca793cd</Sha>
+      <Sha>596dcd6d7b7a67082fca25e6a832d252547ffa51</Sha>
     </Dependency>
-    <Dependency Name="Microsoft.EntityFrameworkCore.Relational" Version="8.0.0-preview.4.23210.7">
+    <Dependency Name="Microsoft.EntityFrameworkCore.Relational" Version="8.0.0-preview.4.23212.3">
       <Uri>https://github.com/dotnet/efcore</Uri>
-      <Sha>6e1ab0737681ec8dff3a6f63d255dbef0ca793cd</Sha>
+      <Sha>596dcd6d7b7a67082fca25e6a832d252547ffa51</Sha>
     </Dependency>
-    <Dependency Name="Microsoft.EntityFrameworkCore.Sqlite" Version="8.0.0-preview.4.23210.7">
+    <Dependency Name="Microsoft.EntityFrameworkCore.Sqlite" Version="8.0.0-preview.4.23212.3">
       <Uri>https://github.com/dotnet/efcore</Uri>
-      <Sha>6e1ab0737681ec8dff3a6f63d255dbef0ca793cd</Sha>
+      <Sha>596dcd6d7b7a67082fca25e6a832d252547ffa51</Sha>
     </Dependency>
-    <Dependency Name="Microsoft.EntityFrameworkCore.SqlServer" Version="8.0.0-preview.4.23210.7">
+    <Dependency Name="Microsoft.EntityFrameworkCore.SqlServer" Version="8.0.0-preview.4.23212.3">
       <Uri>https://github.com/dotnet/efcore</Uri>
-      <Sha>6e1ab0737681ec8dff3a6f63d255dbef0ca793cd</Sha>
+      <Sha>596dcd6d7b7a67082fca25e6a832d252547ffa51</Sha>
     </Dependency>
-    <Dependency Name="Microsoft.EntityFrameworkCore.Tools" Version="8.0.0-preview.4.23210.7">
+    <Dependency Name="Microsoft.EntityFrameworkCore.Tools" Version="8.0.0-preview.4.23212.3">
       <Uri>https://github.com/dotnet/efcore</Uri>
-      <Sha>6e1ab0737681ec8dff3a6f63d255dbef0ca793cd</Sha>
+      <Sha>596dcd6d7b7a67082fca25e6a832d252547ffa51</Sha>
     </Dependency>
-    <Dependency Name="Microsoft.EntityFrameworkCore" Version="8.0.0-preview.4.23210.7">
+    <Dependency Name="Microsoft.EntityFrameworkCore" Version="8.0.0-preview.4.23212.3">
       <Uri>https://github.com/dotnet/efcore</Uri>
-      <Sha>6e1ab0737681ec8dff3a6f63d255dbef0ca793cd</Sha>
+      <Sha>596dcd6d7b7a67082fca25e6a832d252547ffa51</Sha>
     </Dependency>
-    <Dependency Name="Microsoft.EntityFrameworkCore.Design" Version="8.0.0-preview.4.23210.7">
+    <Dependency Name="Microsoft.EntityFrameworkCore.Design" Version="8.0.0-preview.4.23212.3">
       <Uri>https://github.com/dotnet/efcore</Uri>
-      <Sha>6e1ab0737681ec8dff3a6f63d255dbef0ca793cd</Sha>
+      <Sha>596dcd6d7b7a67082fca25e6a832d252547ffa51</Sha>
     </Dependency>
-    <Dependency Name="Microsoft.Extensions.Caching.Abstractions" Version="8.0.0-preview.4.23210.3">
+    <Dependency Name="Microsoft.Extensions.Caching.Abstractions" Version="8.0.0-preview.4.23212.4">
       <Uri>https://github.com/dotnet/runtime</Uri>
-      <Sha>00dbf84e3df92c050cf256ef93dff09ff5aa2934</Sha>
+      <Sha>5117e1f78d2f4924181a9ed6d1fd525f27a9fc91</Sha>
     </Dependency>
-    <Dependency Name="Microsoft.Extensions.Caching.Memory" Version="8.0.0-preview.4.23210.3">
+    <Dependency Name="Microsoft.Extensions.Caching.Memory" Version="8.0.0-preview.4.23212.4">
       <Uri>https://github.com/dotnet/runtime</Uri>
-      <Sha>00dbf84e3df92c050cf256ef93dff09ff5aa2934</Sha>
+      <Sha>5117e1f78d2f4924181a9ed6d1fd525f27a9fc91</Sha>
     </Dependency>
-    <Dependency Name="Microsoft.Extensions.Configuration.Abstractions" Version="8.0.0-preview.4.23210.3">
+    <Dependency Name="Microsoft.Extensions.Configuration.Abstractions" Version="8.0.0-preview.4.23212.4">
       <Uri>https://github.com/dotnet/runtime</Uri>
-      <Sha>00dbf84e3df92c050cf256ef93dff09ff5aa2934</Sha>
+      <Sha>5117e1f78d2f4924181a9ed6d1fd525f27a9fc91</Sha>
     </Dependency>
-    <Dependency Name="Microsoft.Extensions.Configuration.Binder" Version="8.0.0-preview.4.23210.3">
+    <Dependency Name="Microsoft.Extensions.Configuration.Binder" Version="8.0.0-preview.4.23212.4">
       <Uri>https://github.com/dotnet/runtime</Uri>
-      <Sha>00dbf84e3df92c050cf256ef93dff09ff5aa2934</Sha>
+      <Sha>5117e1f78d2f4924181a9ed6d1fd525f27a9fc91</Sha>
     </Dependency>
-    <Dependency Name="Microsoft.Extensions.Configuration.CommandLine" Version="8.0.0-preview.4.23210.3">
+    <Dependency Name="Microsoft.Extensions.Configuration.CommandLine" Version="8.0.0-preview.4.23212.4">
       <Uri>https://github.com/dotnet/runtime</Uri>
-      <Sha>00dbf84e3df92c050cf256ef93dff09ff5aa2934</Sha>
+      <Sha>5117e1f78d2f4924181a9ed6d1fd525f27a9fc91</Sha>
     </Dependency>
-    <Dependency Name="Microsoft.Extensions.Configuration.EnvironmentVariables" Version="8.0.0-preview.4.23210.3">
+    <Dependency Name="Microsoft.Extensions.Configuration.EnvironmentVariables" Version="8.0.0-preview.4.23212.4">
       <Uri>https://github.com/dotnet/runtime</Uri>
-      <Sha>00dbf84e3df92c050cf256ef93dff09ff5aa2934</Sha>
+      <Sha>5117e1f78d2f4924181a9ed6d1fd525f27a9fc91</Sha>
     </Dependency>
-    <Dependency Name="Microsoft.Extensions.Configuration.FileExtensions" Version="8.0.0-preview.4.23210.3">
+    <Dependency Name="Microsoft.Extensions.Configuration.FileExtensions" Version="8.0.0-preview.4.23212.4">
       <Uri>https://github.com/dotnet/runtime</Uri>
-      <Sha>00dbf84e3df92c050cf256ef93dff09ff5aa2934</Sha>
+      <Sha>5117e1f78d2f4924181a9ed6d1fd525f27a9fc91</Sha>
     </Dependency>
-    <Dependency Name="Microsoft.Extensions.Configuration.Ini" Version="8.0.0-preview.4.23210.3">
+    <Dependency Name="Microsoft.Extensions.Configuration.Ini" Version="8.0.0-preview.4.23212.4">
       <Uri>https://github.com/dotnet/runtime</Uri>
-      <Sha>00dbf84e3df92c050cf256ef93dff09ff5aa2934</Sha>
+      <Sha>5117e1f78d2f4924181a9ed6d1fd525f27a9fc91</Sha>
     </Dependency>
-    <Dependency Name="Microsoft.Extensions.Configuration.Json" Version="8.0.0-preview.4.23210.3">
+    <Dependency Name="Microsoft.Extensions.Configuration.Json" Version="8.0.0-preview.4.23212.4">
       <Uri>https://github.com/dotnet/runtime</Uri>
-      <Sha>00dbf84e3df92c050cf256ef93dff09ff5aa2934</Sha>
+      <Sha>5117e1f78d2f4924181a9ed6d1fd525f27a9fc91</Sha>
     </Dependency>
-    <Dependency Name="Microsoft.Extensions.Configuration.UserSecrets" Version="8.0.0-preview.4.23210.3">
+    <Dependency Name="Microsoft.Extensions.Configuration.UserSecrets" Version="8.0.0-preview.4.23212.4">
       <Uri>https://github.com/dotnet/runtime</Uri>
-      <Sha>00dbf84e3df92c050cf256ef93dff09ff5aa2934</Sha>
+      <Sha>5117e1f78d2f4924181a9ed6d1fd525f27a9fc91</Sha>
     </Dependency>
-    <Dependency Name="Microsoft.Extensions.Configuration.Xml" Version="8.0.0-preview.4.23210.3">
+    <Dependency Name="Microsoft.Extensions.Configuration.Xml" Version="8.0.0-preview.4.23212.4">
       <Uri>https://github.com/dotnet/runtime</Uri>
-      <Sha>00dbf84e3df92c050cf256ef93dff09ff5aa2934</Sha>
+      <Sha>5117e1f78d2f4924181a9ed6d1fd525f27a9fc91</Sha>
     </Dependency>
-    <Dependency Name="Microsoft.Extensions.Configuration" Version="8.0.0-preview.4.23210.3">
+    <Dependency Name="Microsoft.Extensions.Configuration" Version="8.0.0-preview.4.23212.4">
       <Uri>https://github.com/dotnet/runtime</Uri>
-      <Sha>00dbf84e3df92c050cf256ef93dff09ff5aa2934</Sha>
+      <Sha>5117e1f78d2f4924181a9ed6d1fd525f27a9fc91</Sha>
     </Dependency>
-    <Dependency Name="Microsoft.Extensions.DependencyInjection.Abstractions" Version="8.0.0-preview.4.23210.3">
+    <Dependency Name="Microsoft.Extensions.DependencyInjection.Abstractions" Version="8.0.0-preview.4.23212.4">
       <Uri>https://github.com/dotnet/runtime</Uri>
-      <Sha>00dbf84e3df92c050cf256ef93dff09ff5aa2934</Sha>
+      <Sha>5117e1f78d2f4924181a9ed6d1fd525f27a9fc91</Sha>
     </Dependency>
-    <Dependency Name="Microsoft.Extensions.DependencyInjection" Version="8.0.0-preview.4.23210.3">
+    <Dependency Name="Microsoft.Extensions.DependencyInjection" Version="8.0.0-preview.4.23212.4">
       <Uri>https://github.com/dotnet/runtime</Uri>
-      <Sha>00dbf84e3df92c050cf256ef93dff09ff5aa2934</Sha>
+      <Sha>5117e1f78d2f4924181a9ed6d1fd525f27a9fc91</Sha>
     </Dependency>
-    <Dependency Name="Microsoft.Extensions.FileProviders.Abstractions" Version="8.0.0-preview.4.23210.3">
+    <Dependency Name="Microsoft.Extensions.FileProviders.Abstractions" Version="8.0.0-preview.4.23212.4">
       <Uri>https://github.com/dotnet/runtime</Uri>
-      <Sha>00dbf84e3df92c050cf256ef93dff09ff5aa2934</Sha>
+      <Sha>5117e1f78d2f4924181a9ed6d1fd525f27a9fc91</Sha>
     </Dependency>
-    <Dependency Name="Microsoft.Extensions.FileProviders.Composite" Version="8.0.0-preview.4.23210.3">
+    <Dependency Name="Microsoft.Extensions.FileProviders.Composite" Version="8.0.0-preview.4.23212.4">
       <Uri>https://github.com/dotnet/runtime</Uri>
-      <Sha>00dbf84e3df92c050cf256ef93dff09ff5aa2934</Sha>
+      <Sha>5117e1f78d2f4924181a9ed6d1fd525f27a9fc91</Sha>
     </Dependency>
-    <Dependency Name="Microsoft.Extensions.FileProviders.Physical" Version="8.0.0-preview.4.23210.3">
+    <Dependency Name="Microsoft.Extensions.FileProviders.Physical" Version="8.0.0-preview.4.23212.4">
       <Uri>https://github.com/dotnet/runtime</Uri>
-      <Sha>00dbf84e3df92c050cf256ef93dff09ff5aa2934</Sha>
+      <Sha>5117e1f78d2f4924181a9ed6d1fd525f27a9fc91</Sha>
     </Dependency>
-    <Dependency Name="Microsoft.Extensions.FileSystemGlobbing" Version="8.0.0-preview.4.23210.3">
+    <Dependency Name="Microsoft.Extensions.FileSystemGlobbing" Version="8.0.0-preview.4.23212.4">
       <Uri>https://github.com/dotnet/runtime</Uri>
-      <Sha>00dbf84e3df92c050cf256ef93dff09ff5aa2934</Sha>
+      <Sha>5117e1f78d2f4924181a9ed6d1fd525f27a9fc91</Sha>
     </Dependency>
-    <Dependency Name="Microsoft.Extensions.HostFactoryResolver.Sources" Version="8.0.0-preview.4.23210.3">
+    <Dependency Name="Microsoft.Extensions.HostFactoryResolver.Sources" Version="8.0.0-preview.4.23212.4">
       <Uri>https://github.com/dotnet/runtime</Uri>
-      <Sha>00dbf84e3df92c050cf256ef93dff09ff5aa2934</Sha>
+      <Sha>5117e1f78d2f4924181a9ed6d1fd525f27a9fc91</Sha>
     </Dependency>
-    <Dependency Name="Microsoft.Extensions.Hosting.Abstractions" Version="8.0.0-preview.4.23210.3">
+    <Dependency Name="Microsoft.Extensions.Hosting.Abstractions" Version="8.0.0-preview.4.23212.4">
       <Uri>https://github.com/dotnet/runtime</Uri>
-      <Sha>00dbf84e3df92c050cf256ef93dff09ff5aa2934</Sha>
+      <Sha>5117e1f78d2f4924181a9ed6d1fd525f27a9fc91</Sha>
     </Dependency>
-    <Dependency Name="Microsoft.Extensions.Hosting" Version="8.0.0-preview.4.23210.3">
+    <Dependency Name="Microsoft.Extensions.Hosting" Version="8.0.0-preview.4.23212.4">
       <Uri>https://github.com/dotnet/runtime</Uri>
-      <Sha>00dbf84e3df92c050cf256ef93dff09ff5aa2934</Sha>
+      <Sha>5117e1f78d2f4924181a9ed6d1fd525f27a9fc91</Sha>
     </Dependency>
-    <Dependency Name="Microsoft.Extensions.Http" Version="8.0.0-preview.4.23210.3">
+    <Dependency Name="Microsoft.Extensions.Http" Version="8.0.0-preview.4.23212.4">
       <Uri>https://github.com/dotnet/runtime</Uri>
-      <Sha>00dbf84e3df92c050cf256ef93dff09ff5aa2934</Sha>
+      <Sha>5117e1f78d2f4924181a9ed6d1fd525f27a9fc91</Sha>
     </Dependency>
-    <Dependency Name="Microsoft.Extensions.Logging.Abstractions" Version="8.0.0-preview.4.23210.3">
+    <Dependency Name="Microsoft.Extensions.Logging.Abstractions" Version="8.0.0-preview.4.23212.4">
       <Uri>https://github.com/dotnet/runtime</Uri>
-      <Sha>00dbf84e3df92c050cf256ef93dff09ff5aa2934</Sha>
+      <Sha>5117e1f78d2f4924181a9ed6d1fd525f27a9fc91</Sha>
     </Dependency>
-    <Dependency Name="Microsoft.Extensions.Logging.Configuration" Version="8.0.0-preview.4.23210.3">
+    <Dependency Name="Microsoft.Extensions.Logging.Configuration" Version="8.0.0-preview.4.23212.4">
       <Uri>https://github.com/dotnet/runtime</Uri>
-      <Sha>00dbf84e3df92c050cf256ef93dff09ff5aa2934</Sha>
+      <Sha>5117e1f78d2f4924181a9ed6d1fd525f27a9fc91</Sha>
     </Dependency>
-    <Dependency Name="Microsoft.Extensions.Logging.Console" Version="8.0.0-preview.4.23210.3">
+    <Dependency Name="Microsoft.Extensions.Logging.Console" Version="8.0.0-preview.4.23212.4">
       <Uri>https://github.com/dotnet/runtime</Uri>
-      <Sha>00dbf84e3df92c050cf256ef93dff09ff5aa2934</Sha>
+      <Sha>5117e1f78d2f4924181a9ed6d1fd525f27a9fc91</Sha>
     </Dependency>
-    <Dependency Name="Microsoft.Extensions.Logging.Debug" Version="8.0.0-preview.4.23210.3">
+    <Dependency Name="Microsoft.Extensions.Logging.Debug" Version="8.0.0-preview.4.23212.4">
       <Uri>https://github.com/dotnet/runtime</Uri>
-      <Sha>00dbf84e3df92c050cf256ef93dff09ff5aa2934</Sha>
+      <Sha>5117e1f78d2f4924181a9ed6d1fd525f27a9fc91</Sha>
     </Dependency>
-    <Dependency Name="Microsoft.Extensions.Logging.EventSource" Version="8.0.0-preview.4.23210.3">
+    <Dependency Name="Microsoft.Extensions.Logging.EventSource" Version="8.0.0-preview.4.23212.4">
       <Uri>https://github.com/dotnet/runtime</Uri>
-      <Sha>00dbf84e3df92c050cf256ef93dff09ff5aa2934</Sha>
+      <Sha>5117e1f78d2f4924181a9ed6d1fd525f27a9fc91</Sha>
     </Dependency>
-    <Dependency Name="Microsoft.Extensions.Logging.EventLog" Version="8.0.0-preview.4.23210.3">
+    <Dependency Name="Microsoft.Extensions.Logging.EventLog" Version="8.0.0-preview.4.23212.4">
       <Uri>https://github.com/dotnet/runtime</Uri>
-      <Sha>00dbf84e3df92c050cf256ef93dff09ff5aa2934</Sha>
+      <Sha>5117e1f78d2f4924181a9ed6d1fd525f27a9fc91</Sha>
     </Dependency>
-    <Dependency Name="Microsoft.Extensions.Logging.TraceSource" Version="8.0.0-preview.4.23210.3">
+    <Dependency Name="Microsoft.Extensions.Logging.TraceSource" Version="8.0.0-preview.4.23212.4">
       <Uri>https://github.com/dotnet/runtime</Uri>
-      <Sha>00dbf84e3df92c050cf256ef93dff09ff5aa2934</Sha>
+      <Sha>5117e1f78d2f4924181a9ed6d1fd525f27a9fc91</Sha>
     </Dependency>
-    <Dependency Name="Microsoft.Extensions.Logging" Version="8.0.0-preview.4.23210.3">
+    <Dependency Name="Microsoft.Extensions.Logging" Version="8.0.0-preview.4.23212.4">
       <Uri>https://github.com/dotnet/runtime</Uri>
-      <Sha>00dbf84e3df92c050cf256ef93dff09ff5aa2934</Sha>
+      <Sha>5117e1f78d2f4924181a9ed6d1fd525f27a9fc91</Sha>
     </Dependency>
-    <Dependency Name="Microsoft.Extensions.Options.ConfigurationExtensions" Version="8.0.0-preview.4.23210.3">
+    <Dependency Name="Microsoft.Extensions.Options.ConfigurationExtensions" Version="8.0.0-preview.4.23212.4">
       <Uri>https://github.com/dotnet/runtime</Uri>
-      <Sha>00dbf84e3df92c050cf256ef93dff09ff5aa2934</Sha>
+      <Sha>5117e1f78d2f4924181a9ed6d1fd525f27a9fc91</Sha>
     </Dependency>
-    <Dependency Name="Microsoft.Extensions.Options.DataAnnotations" Version="8.0.0-preview.4.23210.3">
+    <Dependency Name="Microsoft.Extensions.Options.DataAnnotations" Version="8.0.0-preview.4.23212.4">
       <Uri>https://github.com/dotnet/runtime</Uri>
-      <Sha>00dbf84e3df92c050cf256ef93dff09ff5aa2934</Sha>
+      <Sha>5117e1f78d2f4924181a9ed6d1fd525f27a9fc91</Sha>
     </Dependency>
-    <Dependency Name="Microsoft.Extensions.Options" Version="8.0.0-preview.4.23210.3">
+    <Dependency Name="Microsoft.Extensions.Options" Version="8.0.0-preview.4.23212.4">
       <Uri>https://github.com/dotnet/runtime</Uri>
-      <Sha>00dbf84e3df92c050cf256ef93dff09ff5aa2934</Sha>
+      <Sha>5117e1f78d2f4924181a9ed6d1fd525f27a9fc91</Sha>
     </Dependency>
-    <Dependency Name="Microsoft.Extensions.Primitives" Version="8.0.0-preview.4.23210.3">
+    <Dependency Name="Microsoft.Extensions.Primitives" Version="8.0.0-preview.4.23212.4">
       <Uri>https://github.com/dotnet/runtime</Uri>
-      <Sha>00dbf84e3df92c050cf256ef93dff09ff5aa2934</Sha>
+      <Sha>5117e1f78d2f4924181a9ed6d1fd525f27a9fc91</Sha>
     </Dependency>
-    <Dependency Name="Microsoft.Internal.Runtime.AspNetCore.Transport" Version="8.0.0-preview.4.23210.3">
+    <Dependency Name="Microsoft.Internal.Runtime.AspNetCore.Transport" Version="8.0.0-preview.4.23212.4">
       <Uri>https://github.com/dotnet/runtime</Uri>
-      <Sha>00dbf84e3df92c050cf256ef93dff09ff5aa2934</Sha>
+      <Sha>5117e1f78d2f4924181a9ed6d1fd525f27a9fc91</Sha>
     </Dependency>
     <Dependency Name="Microsoft.SourceBuild.Intermediate.source-build-externals" Version="8.0.0-alpha.1.23203.1">
       <Uri>https://github.com/dotnet/source-build-externals</Uri>
       <Sha>33edde07d61cf7606d76ada765335fb81f1cbb71</Sha>
       <SourceBuild RepoName="source-build-externals" ManagedOnly="true" />
     </Dependency>
-    <Dependency Name="System.Configuration.ConfigurationManager" Version="8.0.0-preview.4.23210.3">
+    <Dependency Name="System.Configuration.ConfigurationManager" Version="8.0.0-preview.4.23212.4">
       <Uri>https://github.com/dotnet/runtime</Uri>
-      <Sha>00dbf84e3df92c050cf256ef93dff09ff5aa2934</Sha>
+      <Sha>5117e1f78d2f4924181a9ed6d1fd525f27a9fc91</Sha>
     </Dependency>
-    <Dependency Name="System.Diagnostics.DiagnosticSource" Version="8.0.0-preview.4.23210.3">
+    <Dependency Name="System.Diagnostics.DiagnosticSource" Version="8.0.0-preview.4.23212.4">
       <Uri>https://github.com/dotnet/runtime</Uri>
-      <Sha>00dbf84e3df92c050cf256ef93dff09ff5aa2934</Sha>
+      <Sha>5117e1f78d2f4924181a9ed6d1fd525f27a9fc91</Sha>
     </Dependency>
-    <Dependency Name="System.Diagnostics.EventLog" Version="8.0.0-preview.4.23210.3">
+    <Dependency Name="System.Diagnostics.EventLog" Version="8.0.0-preview.4.23212.4">
       <Uri>https://github.com/dotnet/runtime</Uri>
-      <Sha>00dbf84e3df92c050cf256ef93dff09ff5aa2934</Sha>
+      <Sha>5117e1f78d2f4924181a9ed6d1fd525f27a9fc91</Sha>
     </Dependency>
-    <Dependency Name="System.DirectoryServices.Protocols" Version="8.0.0-preview.4.23210.3">
+    <Dependency Name="System.DirectoryServices.Protocols" Version="8.0.0-preview.4.23212.4">
       <Uri>https://github.com/dotnet/runtime</Uri>
-      <Sha>00dbf84e3df92c050cf256ef93dff09ff5aa2934</Sha>
+      <Sha>5117e1f78d2f4924181a9ed6d1fd525f27a9fc91</Sha>
     </Dependency>
-    <Dependency Name="System.IO.Pipelines" Version="8.0.0-preview.4.23210.3">
+    <Dependency Name="System.IO.Pipelines" Version="8.0.0-preview.4.23212.4">
       <Uri>https://github.com/dotnet/runtime</Uri>
-      <Sha>00dbf84e3df92c050cf256ef93dff09ff5aa2934</Sha>
+      <Sha>5117e1f78d2f4924181a9ed6d1fd525f27a9fc91</Sha>
     </Dependency>
-    <Dependency Name="System.Net.Http.Json" Version="8.0.0-preview.4.23210.3">
+    <Dependency Name="System.Net.Http.Json" Version="8.0.0-preview.4.23212.4">
       <Uri>https://github.com/dotnet/runtime</Uri>
-      <Sha>00dbf84e3df92c050cf256ef93dff09ff5aa2934</Sha>
+      <Sha>5117e1f78d2f4924181a9ed6d1fd525f27a9fc91</Sha>
     </Dependency>
-    <Dependency Name="System.Net.Http.WinHttpHandler" Version="8.0.0-preview.4.23210.3">
+    <Dependency Name="System.Net.Http.WinHttpHandler" Version="8.0.0-preview.4.23212.4">
       <Uri>https://github.com/dotnet/runtime</Uri>
-      <Sha>00dbf84e3df92c050cf256ef93dff09ff5aa2934</Sha>
+      <Sha>5117e1f78d2f4924181a9ed6d1fd525f27a9fc91</Sha>
     </Dependency>
-    <Dependency Name="System.Reflection.Metadata" Version="8.0.0-preview.4.23210.3">
+    <Dependency Name="System.Reflection.Metadata" Version="8.0.0-preview.4.23212.4">
       <Uri>https://github.com/dotnet/runtime</Uri>
-      <Sha>00dbf84e3df92c050cf256ef93dff09ff5aa2934</Sha>
+      <Sha>5117e1f78d2f4924181a9ed6d1fd525f27a9fc91</Sha>
     </Dependency>
-    <Dependency Name="System.Resources.Extensions" Version="8.0.0-preview.4.23210.3">
+    <Dependency Name="System.Resources.Extensions" Version="8.0.0-preview.4.23212.4">
       <Uri>https://github.com/dotnet/runtime</Uri>
-      <Sha>00dbf84e3df92c050cf256ef93dff09ff5aa2934</Sha>
+      <Sha>5117e1f78d2f4924181a9ed6d1fd525f27a9fc91</Sha>
     </Dependency>
-    <Dependency Name="System.Security.Cryptography.Pkcs" Version="8.0.0-preview.4.23210.3">
+    <Dependency Name="System.Security.Cryptography.Pkcs" Version="8.0.0-preview.4.23212.4">
       <Uri>https://github.com/dotnet/runtime</Uri>
-      <Sha>00dbf84e3df92c050cf256ef93dff09ff5aa2934</Sha>
+      <Sha>5117e1f78d2f4924181a9ed6d1fd525f27a9fc91</Sha>
     </Dependency>
-    <Dependency Name="System.Security.Cryptography.Xml" Version="8.0.0-preview.4.23210.3">
+    <Dependency Name="System.Security.Cryptography.Xml" Version="8.0.0-preview.4.23212.4">
       <Uri>https://github.com/dotnet/runtime</Uri>
-      <Sha>00dbf84e3df92c050cf256ef93dff09ff5aa2934</Sha>
+      <Sha>5117e1f78d2f4924181a9ed6d1fd525f27a9fc91</Sha>
     </Dependency>
-    <Dependency Name="System.Security.Permissions" Version="8.0.0-preview.4.23210.3">
+    <Dependency Name="System.Security.Permissions" Version="8.0.0-preview.4.23212.4">
       <Uri>https://github.com/dotnet/runtime</Uri>
-      <Sha>00dbf84e3df92c050cf256ef93dff09ff5aa2934</Sha>
+      <Sha>5117e1f78d2f4924181a9ed6d1fd525f27a9fc91</Sha>
     </Dependency>
-    <Dependency Name="System.ServiceProcess.ServiceController" Version="8.0.0-preview.4.23210.3">
+    <Dependency Name="System.ServiceProcess.ServiceController" Version="8.0.0-preview.4.23212.4">
       <Uri>https://github.com/dotnet/runtime</Uri>
-      <Sha>00dbf84e3df92c050cf256ef93dff09ff5aa2934</Sha>
+      <Sha>5117e1f78d2f4924181a9ed6d1fd525f27a9fc91</Sha>
     </Dependency>
-    <Dependency Name="System.Text.Encodings.Web" Version="8.0.0-preview.4.23210.3">
+    <Dependency Name="System.Text.Encodings.Web" Version="8.0.0-preview.4.23212.4">
       <Uri>https://github.com/dotnet/runtime</Uri>
-      <Sha>00dbf84e3df92c050cf256ef93dff09ff5aa2934</Sha>
+      <Sha>5117e1f78d2f4924181a9ed6d1fd525f27a9fc91</Sha>
     </Dependency>
-    <Dependency Name="System.Text.Json" Version="8.0.0-preview.4.23210.3">
+    <Dependency Name="System.Text.Json" Version="8.0.0-preview.4.23212.4">
       <Uri>https://github.com/dotnet/runtime</Uri>
-      <Sha>00dbf84e3df92c050cf256ef93dff09ff5aa2934</Sha>
+      <Sha>5117e1f78d2f4924181a9ed6d1fd525f27a9fc91</Sha>
     </Dependency>
-    <Dependency Name="System.Threading.AccessControl" Version="8.0.0-preview.4.23210.3">
+    <Dependency Name="System.Threading.AccessControl" Version="8.0.0-preview.4.23212.4">
       <Uri>https://github.com/dotnet/runtime</Uri>
-      <Sha>00dbf84e3df92c050cf256ef93dff09ff5aa2934</Sha>
+      <Sha>5117e1f78d2f4924181a9ed6d1fd525f27a9fc91</Sha>
     </Dependency>
-    <Dependency Name="System.Threading.Channels" Version="8.0.0-preview.4.23210.3">
+    <Dependency Name="System.Threading.Channels" Version="8.0.0-preview.4.23212.4">
       <Uri>https://github.com/dotnet/runtime</Uri>
-      <Sha>00dbf84e3df92c050cf256ef93dff09ff5aa2934</Sha>
+      <Sha>5117e1f78d2f4924181a9ed6d1fd525f27a9fc91</Sha>
     </Dependency>
-    <Dependency Name="System.Threading.RateLimiting" Version="8.0.0-preview.4.23210.3">
+    <Dependency Name="System.Threading.RateLimiting" Version="8.0.0-preview.4.23212.4">
       <Uri>https://github.com/dotnet/runtime</Uri>
-      <Sha>00dbf84e3df92c050cf256ef93dff09ff5aa2934</Sha>
+      <Sha>5117e1f78d2f4924181a9ed6d1fd525f27a9fc91</Sha>
     </Dependency>
-    <Dependency Name="Microsoft.Extensions.DependencyModel" Version="8.0.0-preview.4.23210.3">
+    <Dependency Name="Microsoft.Extensions.DependencyModel" Version="8.0.0-preview.4.23212.4">
       <Uri>https://github.com/dotnet/runtime</Uri>
-      <Sha>00dbf84e3df92c050cf256ef93dff09ff5aa2934</Sha>
+      <Sha>5117e1f78d2f4924181a9ed6d1fd525f27a9fc91</Sha>
     </Dependency>
-    <Dependency Name="Microsoft.NETCore.App.Ref" Version="8.0.0-preview.4.23210.3">
+    <Dependency Name="Microsoft.NETCore.App.Ref" Version="8.0.0-preview.4.23212.4">
       <Uri>https://github.com/dotnet/runtime</Uri>
-      <Sha>00dbf84e3df92c050cf256ef93dff09ff5aa2934</Sha>
+      <Sha>5117e1f78d2f4924181a9ed6d1fd525f27a9fc91</Sha>
     </Dependency>
-    <Dependency Name="Microsoft.NET.Runtime.MonoAOTCompiler.Task" Version="8.0.0-preview.4.23210.3">
+    <Dependency Name="Microsoft.NET.Runtime.MonoAOTCompiler.Task" Version="8.0.0-preview.4.23212.4">
       <Uri>https://github.com/dotnet/runtime</Uri>
-      <Sha>00dbf84e3df92c050cf256ef93dff09ff5aa2934</Sha>
+      <Sha>5117e1f78d2f4924181a9ed6d1fd525f27a9fc91</Sha>
     </Dependency>
-    <Dependency Name="Microsoft.NET.Runtime.WebAssembly.Sdk" Version="8.0.0-preview.4.23210.3">
+    <Dependency Name="Microsoft.NET.Runtime.WebAssembly.Sdk" Version="8.0.0-preview.4.23212.4">
       <Uri>https://github.com/dotnet/runtime</Uri>
-      <Sha>00dbf84e3df92c050cf256ef93dff09ff5aa2934</Sha>
+      <Sha>5117e1f78d2f4924181a9ed6d1fd525f27a9fc91</Sha>
     </Dependency>
-    <Dependency Name="Microsoft.Bcl.AsyncInterfaces" Version="8.0.0-preview.4.23210.3">
+    <Dependency Name="Microsoft.Bcl.AsyncInterfaces" Version="8.0.0-preview.4.23212.4">
       <Uri>https://github.com/dotnet/runtime</Uri>
-      <Sha>00dbf84e3df92c050cf256ef93dff09ff5aa2934</Sha>
+      <Sha>5117e1f78d2f4924181a9ed6d1fd525f27a9fc91</Sha>
     </Dependency>
     <!--
          Win-x64 is used here because we have picked an arbitrary runtime identifier to flow the version of the latest NETCore.App runtime.
          All Runtime.$rid packages should have the same version.
     -->
-    <Dependency Name="Microsoft.NETCore.App.Runtime.win-x64" Version="8.0.0-preview.4.23210.3">
+    <Dependency Name="Microsoft.NETCore.App.Runtime.win-x64" Version="8.0.0-preview.4.23212.4">
       <Uri>https://github.com/dotnet/runtime</Uri>
-      <Sha>00dbf84e3df92c050cf256ef93dff09ff5aa2934</Sha>
+      <Sha>5117e1f78d2f4924181a9ed6d1fd525f27a9fc91</Sha>
     </Dependency>
-    <Dependency Name="Microsoft.NETCore.App.Runtime.AOT.win-x64.Cross.browser-wasm" Version="8.0.0-preview.4.23210.3">
+    <Dependency Name="Microsoft.NETCore.App.Runtime.AOT.win-x64.Cross.browser-wasm" Version="8.0.0-preview.4.23212.4">
       <Uri>https://github.com/dotnet/runtime</Uri>
-      <Sha>00dbf84e3df92c050cf256ef93dff09ff5aa2934</Sha>
+      <Sha>5117e1f78d2f4924181a9ed6d1fd525f27a9fc91</Sha>
     </Dependency>
-    <Dependency Name="Microsoft.NETCore.BrowserDebugHost.Transport" Version="8.0.0-preview.4.23210.3">
+    <Dependency Name="Microsoft.NETCore.BrowserDebugHost.Transport" Version="8.0.0-preview.4.23212.4">
       <Uri>https://github.com/dotnet/runtime</Uri>
-      <Sha>00dbf84e3df92c050cf256ef93dff09ff5aa2934</Sha>
+      <Sha>5117e1f78d2f4924181a9ed6d1fd525f27a9fc91</Sha>
     </Dependency>
     <Dependency Name="Microsoft.Web.Xdt" Version="7.0.0-preview.22423.2">
       <Uri>https://github.com/dotnet/xdt</Uri>
@@ -302,9 +302,9 @@
   </ProductDependencies>
   <ToolsetDependencies>
     <!-- Listed explicitly to workaround https://github.com/dotnet/cli/issues/10528 -->
-    <Dependency Name="Microsoft.NETCore.Platforms" Version="8.0.0-preview.4.23210.3">
+    <Dependency Name="Microsoft.NETCore.Platforms" Version="8.0.0-preview.4.23212.4">
       <Uri>https://github.com/dotnet/runtime</Uri>
-      <Sha>00dbf84e3df92c050cf256ef93dff09ff5aa2934</Sha>
+      <Sha>5117e1f78d2f4924181a9ed6d1fd525f27a9fc91</Sha>
     </Dependency>
     <Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="8.0.0-beta.23207.2">
       <Uri>https://github.com/dotnet/arcade</Uri>

+ 70 - 70
eng/Versions.props

@@ -63,78 +63,78 @@
   -->
   <PropertyGroup Label="Automated">
     <!-- Packages from dotnet/runtime -->
-    <MicrosoftExtensionsDependencyModelVersion>8.0.0-preview.4.23210.3</MicrosoftExtensionsDependencyModelVersion>
-    <MicrosoftNETCoreAppRefVersion>8.0.0-preview.4.23210.3</MicrosoftNETCoreAppRefVersion>
-    <MicrosoftNETCoreAppRuntimewinx64Version>8.0.0-preview.4.23210.3</MicrosoftNETCoreAppRuntimewinx64Version>
-    <MicrosoftNETRuntimeMonoAOTCompilerTaskVersion>8.0.0-preview.4.23210.3</MicrosoftNETRuntimeMonoAOTCompilerTaskVersion>
-    <MicrosoftNETRuntimeWebAssemblySdkVersion>8.0.0-preview.4.23210.3</MicrosoftNETRuntimeWebAssemblySdkVersion>
-    <MicrosoftNETCoreAppRuntimeAOTwinx64CrossbrowserwasmVersion>8.0.0-preview.4.23210.3</MicrosoftNETCoreAppRuntimeAOTwinx64CrossbrowserwasmVersion>
-    <MicrosoftNETCoreBrowserDebugHostTransportVersion>8.0.0-preview.4.23210.3</MicrosoftNETCoreBrowserDebugHostTransportVersion>
-    <MicrosoftExtensionsCachingAbstractionsVersion>8.0.0-preview.4.23210.3</MicrosoftExtensionsCachingAbstractionsVersion>
-    <MicrosoftExtensionsCachingMemoryVersion>8.0.0-preview.4.23210.3</MicrosoftExtensionsCachingMemoryVersion>
-    <MicrosoftExtensionsConfigurationAbstractionsVersion>8.0.0-preview.4.23210.3</MicrosoftExtensionsConfigurationAbstractionsVersion>
-    <MicrosoftExtensionsConfigurationBinderVersion>8.0.0-preview.4.23210.3</MicrosoftExtensionsConfigurationBinderVersion>
-    <MicrosoftExtensionsConfigurationCommandLineVersion>8.0.0-preview.4.23210.3</MicrosoftExtensionsConfigurationCommandLineVersion>
-    <MicrosoftExtensionsConfigurationEnvironmentVariablesVersion>8.0.0-preview.4.23210.3</MicrosoftExtensionsConfigurationEnvironmentVariablesVersion>
-    <MicrosoftExtensionsConfigurationFileExtensionsVersion>8.0.0-preview.4.23210.3</MicrosoftExtensionsConfigurationFileExtensionsVersion>
-    <MicrosoftExtensionsConfigurationIniVersion>8.0.0-preview.4.23210.3</MicrosoftExtensionsConfigurationIniVersion>
-    <MicrosoftExtensionsConfigurationJsonVersion>8.0.0-preview.4.23210.3</MicrosoftExtensionsConfigurationJsonVersion>
-    <MicrosoftExtensionsConfigurationVersion>8.0.0-preview.4.23210.3</MicrosoftExtensionsConfigurationVersion>
-    <MicrosoftExtensionsConfigurationUserSecretsVersion>8.0.0-preview.4.23210.3</MicrosoftExtensionsConfigurationUserSecretsVersion>
-    <MicrosoftExtensionsConfigurationXmlVersion>8.0.0-preview.4.23210.3</MicrosoftExtensionsConfigurationXmlVersion>
-    <MicrosoftExtensionsDependencyInjectionAbstractionsVersion>8.0.0-preview.4.23210.3</MicrosoftExtensionsDependencyInjectionAbstractionsVersion>
-    <MicrosoftExtensionsDependencyInjectionVersion>8.0.0-preview.4.23210.3</MicrosoftExtensionsDependencyInjectionVersion>
-    <MicrosoftExtensionsFileProvidersAbstractionsVersion>8.0.0-preview.4.23210.3</MicrosoftExtensionsFileProvidersAbstractionsVersion>
-    <MicrosoftExtensionsFileProvidersCompositeVersion>8.0.0-preview.4.23210.3</MicrosoftExtensionsFileProvidersCompositeVersion>
-    <MicrosoftExtensionsFileProvidersPhysicalVersion>8.0.0-preview.4.23210.3</MicrosoftExtensionsFileProvidersPhysicalVersion>
-    <MicrosoftExtensionsFileSystemGlobbingVersion>8.0.0-preview.4.23210.3</MicrosoftExtensionsFileSystemGlobbingVersion>
-    <MicrosoftExtensionsHostFactoryResolverSourcesVersion>8.0.0-preview.4.23210.3</MicrosoftExtensionsHostFactoryResolverSourcesVersion>
-    <MicrosoftExtensionsHostingAbstractionsVersion>8.0.0-preview.4.23210.3</MicrosoftExtensionsHostingAbstractionsVersion>
-    <MicrosoftExtensionsHostingVersion>8.0.0-preview.4.23210.3</MicrosoftExtensionsHostingVersion>
-    <MicrosoftExtensionsHttpVersion>8.0.0-preview.4.23210.3</MicrosoftExtensionsHttpVersion>
-    <MicrosoftExtensionsLoggingAbstractionsVersion>8.0.0-preview.4.23210.3</MicrosoftExtensionsLoggingAbstractionsVersion>
-    <MicrosoftExtensionsLoggingConfigurationVersion>8.0.0-preview.4.23210.3</MicrosoftExtensionsLoggingConfigurationVersion>
-    <MicrosoftExtensionsLoggingConsoleVersion>8.0.0-preview.4.23210.3</MicrosoftExtensionsLoggingConsoleVersion>
-    <MicrosoftExtensionsLoggingDebugVersion>8.0.0-preview.4.23210.3</MicrosoftExtensionsLoggingDebugVersion>
-    <MicrosoftExtensionsLoggingEventSourceVersion>8.0.0-preview.4.23210.3</MicrosoftExtensionsLoggingEventSourceVersion>
-    <MicrosoftExtensionsLoggingEventLogVersion>8.0.0-preview.4.23210.3</MicrosoftExtensionsLoggingEventLogVersion>
-    <MicrosoftExtensionsLoggingVersion>8.0.0-preview.4.23210.3</MicrosoftExtensionsLoggingVersion>
-    <MicrosoftExtensionsLoggingTraceSourceVersion>8.0.0-preview.4.23210.3</MicrosoftExtensionsLoggingTraceSourceVersion>
-    <MicrosoftExtensionsOptionsConfigurationExtensionsVersion>8.0.0-preview.4.23210.3</MicrosoftExtensionsOptionsConfigurationExtensionsVersion>
-    <MicrosoftExtensionsOptionsDataAnnotationsVersion>8.0.0-preview.4.23210.3</MicrosoftExtensionsOptionsDataAnnotationsVersion>
-    <MicrosoftExtensionsOptionsVersion>8.0.0-preview.4.23210.3</MicrosoftExtensionsOptionsVersion>
-    <MicrosoftExtensionsPrimitivesVersion>8.0.0-preview.4.23210.3</MicrosoftExtensionsPrimitivesVersion>
-    <MicrosoftInternalRuntimeAspNetCoreTransportVersion>8.0.0-preview.4.23210.3</MicrosoftInternalRuntimeAspNetCoreTransportVersion>
-    <SystemConfigurationConfigurationManagerVersion>8.0.0-preview.4.23210.3</SystemConfigurationConfigurationManagerVersion>
-    <SystemDiagnosticsDiagnosticSourceVersion>8.0.0-preview.4.23210.3</SystemDiagnosticsDiagnosticSourceVersion>
-    <SystemDiagnosticsEventLogVersion>8.0.0-preview.4.23210.3</SystemDiagnosticsEventLogVersion>
-    <SystemDirectoryServicesProtocolsVersion>8.0.0-preview.4.23210.3</SystemDirectoryServicesProtocolsVersion>
-    <SystemIOPipelinesVersion>8.0.0-preview.4.23210.3</SystemIOPipelinesVersion>
-    <SystemNetHttpJsonVersion>8.0.0-preview.4.23210.3</SystemNetHttpJsonVersion>
-    <SystemNetHttpWinHttpHandlerVersion>8.0.0-preview.4.23210.3</SystemNetHttpWinHttpHandlerVersion>
-    <SystemReflectionMetadataVersion>8.0.0-preview.4.23210.3</SystemReflectionMetadataVersion>
-    <SystemResourcesExtensionsVersion>8.0.0-preview.4.23210.3</SystemResourcesExtensionsVersion>
-    <SystemSecurityCryptographyPkcsVersion>8.0.0-preview.4.23210.3</SystemSecurityCryptographyPkcsVersion>
-    <SystemSecurityCryptographyXmlVersion>8.0.0-preview.4.23210.3</SystemSecurityCryptographyXmlVersion>
-    <SystemSecurityPermissionsVersion>8.0.0-preview.4.23210.3</SystemSecurityPermissionsVersion>
-    <SystemServiceProcessServiceControllerVersion>8.0.0-preview.4.23210.3</SystemServiceProcessServiceControllerVersion>
-    <SystemTextEncodingsWebVersion>8.0.0-preview.4.23210.3</SystemTextEncodingsWebVersion>
-    <SystemTextJsonVersion>8.0.0-preview.4.23210.3</SystemTextJsonVersion>
-    <SystemThreadingAccessControlVersion>8.0.0-preview.4.23210.3</SystemThreadingAccessControlVersion>
-    <SystemThreadingChannelsVersion>8.0.0-preview.4.23210.3</SystemThreadingChannelsVersion>
-    <SystemThreadingRateLimitingVersion>8.0.0-preview.4.23210.3</SystemThreadingRateLimitingVersion>
+    <MicrosoftExtensionsDependencyModelVersion>8.0.0-preview.4.23212.4</MicrosoftExtensionsDependencyModelVersion>
+    <MicrosoftNETCoreAppRefVersion>8.0.0-preview.4.23212.4</MicrosoftNETCoreAppRefVersion>
+    <MicrosoftNETCoreAppRuntimewinx64Version>8.0.0-preview.4.23212.4</MicrosoftNETCoreAppRuntimewinx64Version>
+    <MicrosoftNETRuntimeMonoAOTCompilerTaskVersion>8.0.0-preview.4.23212.4</MicrosoftNETRuntimeMonoAOTCompilerTaskVersion>
+    <MicrosoftNETRuntimeWebAssemblySdkVersion>8.0.0-preview.4.23212.4</MicrosoftNETRuntimeWebAssemblySdkVersion>
+    <MicrosoftNETCoreAppRuntimeAOTwinx64CrossbrowserwasmVersion>8.0.0-preview.4.23212.4</MicrosoftNETCoreAppRuntimeAOTwinx64CrossbrowserwasmVersion>
+    <MicrosoftNETCoreBrowserDebugHostTransportVersion>8.0.0-preview.4.23212.4</MicrosoftNETCoreBrowserDebugHostTransportVersion>
+    <MicrosoftExtensionsCachingAbstractionsVersion>8.0.0-preview.4.23212.4</MicrosoftExtensionsCachingAbstractionsVersion>
+    <MicrosoftExtensionsCachingMemoryVersion>8.0.0-preview.4.23212.4</MicrosoftExtensionsCachingMemoryVersion>
+    <MicrosoftExtensionsConfigurationAbstractionsVersion>8.0.0-preview.4.23212.4</MicrosoftExtensionsConfigurationAbstractionsVersion>
+    <MicrosoftExtensionsConfigurationBinderVersion>8.0.0-preview.4.23212.4</MicrosoftExtensionsConfigurationBinderVersion>
+    <MicrosoftExtensionsConfigurationCommandLineVersion>8.0.0-preview.4.23212.4</MicrosoftExtensionsConfigurationCommandLineVersion>
+    <MicrosoftExtensionsConfigurationEnvironmentVariablesVersion>8.0.0-preview.4.23212.4</MicrosoftExtensionsConfigurationEnvironmentVariablesVersion>
+    <MicrosoftExtensionsConfigurationFileExtensionsVersion>8.0.0-preview.4.23212.4</MicrosoftExtensionsConfigurationFileExtensionsVersion>
+    <MicrosoftExtensionsConfigurationIniVersion>8.0.0-preview.4.23212.4</MicrosoftExtensionsConfigurationIniVersion>
+    <MicrosoftExtensionsConfigurationJsonVersion>8.0.0-preview.4.23212.4</MicrosoftExtensionsConfigurationJsonVersion>
+    <MicrosoftExtensionsConfigurationVersion>8.0.0-preview.4.23212.4</MicrosoftExtensionsConfigurationVersion>
+    <MicrosoftExtensionsConfigurationUserSecretsVersion>8.0.0-preview.4.23212.4</MicrosoftExtensionsConfigurationUserSecretsVersion>
+    <MicrosoftExtensionsConfigurationXmlVersion>8.0.0-preview.4.23212.4</MicrosoftExtensionsConfigurationXmlVersion>
+    <MicrosoftExtensionsDependencyInjectionAbstractionsVersion>8.0.0-preview.4.23212.4</MicrosoftExtensionsDependencyInjectionAbstractionsVersion>
+    <MicrosoftExtensionsDependencyInjectionVersion>8.0.0-preview.4.23212.4</MicrosoftExtensionsDependencyInjectionVersion>
+    <MicrosoftExtensionsFileProvidersAbstractionsVersion>8.0.0-preview.4.23212.4</MicrosoftExtensionsFileProvidersAbstractionsVersion>
+    <MicrosoftExtensionsFileProvidersCompositeVersion>8.0.0-preview.4.23212.4</MicrosoftExtensionsFileProvidersCompositeVersion>
+    <MicrosoftExtensionsFileProvidersPhysicalVersion>8.0.0-preview.4.23212.4</MicrosoftExtensionsFileProvidersPhysicalVersion>
+    <MicrosoftExtensionsFileSystemGlobbingVersion>8.0.0-preview.4.23212.4</MicrosoftExtensionsFileSystemGlobbingVersion>
+    <MicrosoftExtensionsHostFactoryResolverSourcesVersion>8.0.0-preview.4.23212.4</MicrosoftExtensionsHostFactoryResolverSourcesVersion>
+    <MicrosoftExtensionsHostingAbstractionsVersion>8.0.0-preview.4.23212.4</MicrosoftExtensionsHostingAbstractionsVersion>
+    <MicrosoftExtensionsHostingVersion>8.0.0-preview.4.23212.4</MicrosoftExtensionsHostingVersion>
+    <MicrosoftExtensionsHttpVersion>8.0.0-preview.4.23212.4</MicrosoftExtensionsHttpVersion>
+    <MicrosoftExtensionsLoggingAbstractionsVersion>8.0.0-preview.4.23212.4</MicrosoftExtensionsLoggingAbstractionsVersion>
+    <MicrosoftExtensionsLoggingConfigurationVersion>8.0.0-preview.4.23212.4</MicrosoftExtensionsLoggingConfigurationVersion>
+    <MicrosoftExtensionsLoggingConsoleVersion>8.0.0-preview.4.23212.4</MicrosoftExtensionsLoggingConsoleVersion>
+    <MicrosoftExtensionsLoggingDebugVersion>8.0.0-preview.4.23212.4</MicrosoftExtensionsLoggingDebugVersion>
+    <MicrosoftExtensionsLoggingEventSourceVersion>8.0.0-preview.4.23212.4</MicrosoftExtensionsLoggingEventSourceVersion>
+    <MicrosoftExtensionsLoggingEventLogVersion>8.0.0-preview.4.23212.4</MicrosoftExtensionsLoggingEventLogVersion>
+    <MicrosoftExtensionsLoggingVersion>8.0.0-preview.4.23212.4</MicrosoftExtensionsLoggingVersion>
+    <MicrosoftExtensionsLoggingTraceSourceVersion>8.0.0-preview.4.23212.4</MicrosoftExtensionsLoggingTraceSourceVersion>
+    <MicrosoftExtensionsOptionsConfigurationExtensionsVersion>8.0.0-preview.4.23212.4</MicrosoftExtensionsOptionsConfigurationExtensionsVersion>
+    <MicrosoftExtensionsOptionsDataAnnotationsVersion>8.0.0-preview.4.23212.4</MicrosoftExtensionsOptionsDataAnnotationsVersion>
+    <MicrosoftExtensionsOptionsVersion>8.0.0-preview.4.23212.4</MicrosoftExtensionsOptionsVersion>
+    <MicrosoftExtensionsPrimitivesVersion>8.0.0-preview.4.23212.4</MicrosoftExtensionsPrimitivesVersion>
+    <MicrosoftInternalRuntimeAspNetCoreTransportVersion>8.0.0-preview.4.23212.4</MicrosoftInternalRuntimeAspNetCoreTransportVersion>
+    <SystemConfigurationConfigurationManagerVersion>8.0.0-preview.4.23212.4</SystemConfigurationConfigurationManagerVersion>
+    <SystemDiagnosticsDiagnosticSourceVersion>8.0.0-preview.4.23212.4</SystemDiagnosticsDiagnosticSourceVersion>
+    <SystemDiagnosticsEventLogVersion>8.0.0-preview.4.23212.4</SystemDiagnosticsEventLogVersion>
+    <SystemDirectoryServicesProtocolsVersion>8.0.0-preview.4.23212.4</SystemDirectoryServicesProtocolsVersion>
+    <SystemIOPipelinesVersion>8.0.0-preview.4.23212.4</SystemIOPipelinesVersion>
+    <SystemNetHttpJsonVersion>8.0.0-preview.4.23212.4</SystemNetHttpJsonVersion>
+    <SystemNetHttpWinHttpHandlerVersion>8.0.0-preview.4.23212.4</SystemNetHttpWinHttpHandlerVersion>
+    <SystemReflectionMetadataVersion>8.0.0-preview.4.23212.4</SystemReflectionMetadataVersion>
+    <SystemResourcesExtensionsVersion>8.0.0-preview.4.23212.4</SystemResourcesExtensionsVersion>
+    <SystemSecurityCryptographyPkcsVersion>8.0.0-preview.4.23212.4</SystemSecurityCryptographyPkcsVersion>
+    <SystemSecurityCryptographyXmlVersion>8.0.0-preview.4.23212.4</SystemSecurityCryptographyXmlVersion>
+    <SystemSecurityPermissionsVersion>8.0.0-preview.4.23212.4</SystemSecurityPermissionsVersion>
+    <SystemServiceProcessServiceControllerVersion>8.0.0-preview.4.23212.4</SystemServiceProcessServiceControllerVersion>
+    <SystemTextEncodingsWebVersion>8.0.0-preview.4.23212.4</SystemTextEncodingsWebVersion>
+    <SystemTextJsonVersion>8.0.0-preview.4.23212.4</SystemTextJsonVersion>
+    <SystemThreadingAccessControlVersion>8.0.0-preview.4.23212.4</SystemThreadingAccessControlVersion>
+    <SystemThreadingChannelsVersion>8.0.0-preview.4.23212.4</SystemThreadingChannelsVersion>
+    <SystemThreadingRateLimitingVersion>8.0.0-preview.4.23212.4</SystemThreadingRateLimitingVersion>
     <!-- Only listed explicitly to workaround https://github.com/dotnet/cli/issues/10528 -->
-    <MicrosoftNETCorePlatformsVersion>8.0.0-preview.4.23210.3</MicrosoftNETCorePlatformsVersion>
-    <MicrosoftBclAsyncInterfacesVersion>8.0.0-preview.4.23210.3</MicrosoftBclAsyncInterfacesVersion>
+    <MicrosoftNETCorePlatformsVersion>8.0.0-preview.4.23212.4</MicrosoftNETCorePlatformsVersion>
+    <MicrosoftBclAsyncInterfacesVersion>8.0.0-preview.4.23212.4</MicrosoftBclAsyncInterfacesVersion>
     <!-- Packages from dotnet/efcore -->
-    <dotnetefVersion>8.0.0-preview.4.23210.7</dotnetefVersion>
-    <MicrosoftEntityFrameworkCoreInMemoryVersion>8.0.0-preview.4.23210.7</MicrosoftEntityFrameworkCoreInMemoryVersion>
-    <MicrosoftEntityFrameworkCoreRelationalVersion>8.0.0-preview.4.23210.7</MicrosoftEntityFrameworkCoreRelationalVersion>
-    <MicrosoftEntityFrameworkCoreSqliteVersion>8.0.0-preview.4.23210.7</MicrosoftEntityFrameworkCoreSqliteVersion>
-    <MicrosoftEntityFrameworkCoreSqlServerVersion>8.0.0-preview.4.23210.7</MicrosoftEntityFrameworkCoreSqlServerVersion>
-    <MicrosoftEntityFrameworkCoreToolsVersion>8.0.0-preview.4.23210.7</MicrosoftEntityFrameworkCoreToolsVersion>
-    <MicrosoftEntityFrameworkCoreVersion>8.0.0-preview.4.23210.7</MicrosoftEntityFrameworkCoreVersion>
-    <MicrosoftEntityFrameworkCoreDesignVersion>8.0.0-preview.4.23210.7</MicrosoftEntityFrameworkCoreDesignVersion>
+    <dotnetefVersion>8.0.0-preview.4.23212.3</dotnetefVersion>
+    <MicrosoftEntityFrameworkCoreInMemoryVersion>8.0.0-preview.4.23212.3</MicrosoftEntityFrameworkCoreInMemoryVersion>
+    <MicrosoftEntityFrameworkCoreRelationalVersion>8.0.0-preview.4.23212.3</MicrosoftEntityFrameworkCoreRelationalVersion>
+    <MicrosoftEntityFrameworkCoreSqliteVersion>8.0.0-preview.4.23212.3</MicrosoftEntityFrameworkCoreSqliteVersion>
+    <MicrosoftEntityFrameworkCoreSqlServerVersion>8.0.0-preview.4.23212.3</MicrosoftEntityFrameworkCoreSqlServerVersion>
+    <MicrosoftEntityFrameworkCoreToolsVersion>8.0.0-preview.4.23212.3</MicrosoftEntityFrameworkCoreToolsVersion>
+    <MicrosoftEntityFrameworkCoreVersion>8.0.0-preview.4.23212.3</MicrosoftEntityFrameworkCoreVersion>
+    <MicrosoftEntityFrameworkCoreDesignVersion>8.0.0-preview.4.23212.3</MicrosoftEntityFrameworkCoreDesignVersion>
     <!-- Packages from dotnet/arcade -->
     <MicrosoftDotNetBuildTasksInstallersVersion>8.0.0-beta.23207.2</MicrosoftDotNetBuildTasksInstallersVersion>
     <MicrosoftDotNetBuildTasksTemplatingVersion>8.0.0-beta.23207.2</MicrosoftDotNetBuildTasksTemplatingVersion>

+ 3 - 0
src/DataProtection/DataProtection/src/XmlEncryption/CertificateXmlEncryptor.cs

@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 
 using System;
+using System.Diagnostics.CodeAnalysis;
 using System.Security.Cryptography.X509Certificates;
 using System.Security.Cryptography.Xml;
 using System.Xml;
@@ -75,6 +76,8 @@ public sealed class CertificateXmlEncryptor : IInternalCertificateXmlEncryptor,
         return new EncryptedXmlInfo(encryptedElement, typeof(EncryptedXmlDecryptor));
     }
 
+    [UnconditionalSuppressMessage("AOT", "IL3050:RequiresDynamicCode",
+        Justification = "Only XSLTs require dynamic code. The usage of EncryptedXml doesn't use XSLTs.")]
     private XElement EncryptElement(XElement plaintextElement)
     {
         // EncryptedXml works with XmlDocument, not XLinq. When we perform the conversion

+ 4 - 0
src/DataProtection/DataProtection/src/XmlEncryption/EncryptedXmlDecryptor.cs

@@ -2,6 +2,7 @@
 // The .NET Foundation licenses this file to you under the MIT license.
 
 using System;
+using System.Diagnostics.CodeAnalysis;
 using System.Security.Cryptography.X509Certificates;
 using System.Security.Cryptography.Xml;
 using System.Xml;
@@ -43,6 +44,8 @@ public sealed class EncryptedXmlDecryptor : IInternalEncryptedXmlDecryptor, IXml
     /// </summary>
     /// <param name="encryptedElement">An encrypted XML element.</param>
     /// <returns>The decrypted form of <paramref name="encryptedElement"/>.</returns>
+    [UnconditionalSuppressMessage("AOT", "IL3050:RequiresDynamicCode",
+        Justification = "Only XSLTs require dynamic code. The usage of EncryptedXml doesn't use XSLTs.")]
     public XElement Decrypt(XElement encryptedElement)
     {
         ArgumentNullThrowHelper.ThrowIfNull(encryptedElement);
@@ -79,6 +82,7 @@ public sealed class EncryptedXmlDecryptor : IInternalEncryptedXmlDecryptor, IXml
     {
         private readonly XmlKeyDecryptionOptions? _options;
 
+        [RequiresDynamicCode("XmlDsigXsltTransform uses XslCompiledTransform which requires dynamic code.")]
         public EncryptedXmlWithCertificateKeys(XmlKeyDecryptionOptions? options, XmlDocument document)
             : base(document)
         {

+ 12 - 6
src/Hosting/Hosting/test/WebHostBuilderTests.cs

@@ -1353,9 +1353,12 @@ public class WebHostBuilderTests
         {
             var startEx = await Assert.ThrowsAsync<InvalidOperationException>(() => host.StartAsync());
             Assert.Equal("Hosted Service throws in StartAsync", startEx.Message);
-            var stopEx = await Assert.ThrowsAsync<AggregateException>(() => host.StopAsync());
-            Assert.Single(stopEx.InnerExceptions);
-            Assert.Equal("Hosted Service throws in StopAsync", stopEx.InnerExceptions[0].Message);
+            var stopEx = await Assert.ThrowsAnyAsync<Exception>(() => host.StopAsync());
+            if (stopEx is AggregateException aggregateException)
+            {
+                stopEx = Assert.Single(aggregateException.InnerExceptions);
+            }
+            Assert.Equal("Hosted Service throws in StopAsync", stopEx.Message);
         }
     }
 
@@ -1376,9 +1379,12 @@ public class WebHostBuilderTests
         var startEx = await Assert.ThrowsAsync<InvalidOperationException>(() => host.StartAsync());
         Assert.Equal("Hosted Service throws in StartAsync", startEx.Message);
 
-        var stopEx = await Assert.ThrowsAsync<AggregateException>(() => host.StopAsync());
-        Assert.Single(stopEx.InnerExceptions);
-        Assert.Equal("Hosted Service throws in StopAsync", stopEx.InnerExceptions[0].Message);
+        var stopEx = await Assert.ThrowsAnyAsync<Exception>(() => host.StopAsync());
+        if (stopEx is AggregateException aggregateException)
+        {
+            stopEx = Assert.Single(aggregateException.InnerExceptions);
+        }
+        Assert.Equal("Hosted Service throws in StopAsync", stopEx.Message);
 
         // This service is never constructed
         Assert.False(service.StartCalled);

+ 1 - 0
src/Http/Routing/src/Matching/AmbiguousMatchException.cs

@@ -16,6 +16,7 @@ internal sealed class AmbiguousMatchException : Exception
     {
     }
 
+    [Obsolete]
     internal AmbiguousMatchException(SerializationInfo info, StreamingContext context)
         : base(info, context)
     {

+ 2 - 0
src/Http/Routing/src/Patterns/RoutePatternException.cs

@@ -12,6 +12,7 @@ namespace Microsoft.AspNetCore.Routing.Patterns;
 [Serializable]
 public sealed class RoutePatternException : Exception
 {
+    [Obsolete]
     private RoutePatternException(SerializationInfo info, StreamingContext context)
         : base(info, context)
     {
@@ -42,6 +43,7 @@ public sealed class RoutePatternException : Exception
     /// </summary>
     /// <param name="info">The <see cref="SerializationInfo"/> to populate with data.</param>
     /// <param name="context">The destination (<see cref="StreamingContext" />) for this serialization.</param>
+    [Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")]
     public override void GetObjectData(SerializationInfo info, StreamingContext context)
     {
         info.AddValue(nameof(Pattern), Pattern);

+ 1 - 0
src/Mvc/Mvc.Core/src/Infrastructure/AmbiguousActionException.cs

@@ -27,6 +27,7 @@ public class AmbiguousActionException : InvalidOperationException
     /// </summary>
     /// <param name="info"></param>
     /// <param name="context"></param>
+    [Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")]
     protected AmbiguousActionException(SerializationInfo info, StreamingContext context)
         : base(info, context)
     {

+ 1 - 0
src/Servers/HttpSys/test/FunctionalTests/Microsoft.AspNetCore.Server.HttpSys.FunctionalTests.csproj

@@ -13,6 +13,7 @@
   <ItemGroup>
     <Compile Include="$(SharedSourceRoot)runtime\Http2\**\*.cs" LinkBase="Shared\Http2\" />
     <Compile Include="$(SharedSourceRoot)runtime\IHttpStreamHeadersHandler.cs" LinkBase="Shared\IHttpStreamHeadersHandler.cs" />
+    <Compile Include="$(SharedSourceRoot)runtime\Obsoletions.cs" LinkBase="Shared\Obsoletions.cs" />
     <Compile Include="$(SharedSourceRoot)runtime\SR.cs" LinkBase="Shared\SR.cs" />
     <Compile Include="$(SharedSourceRoot)Http2cat\**\*.cs" LinkBase="Shared\Http2cat" />
     <Compile Include="$(SharedSourceRoot)ServerInfrastructure\**\*.cs" LinkBase="Shared\" />

+ 1 - 0
src/Servers/IIS/IIS/test/IIS.FunctionalTests/IIS.FunctionalTests.csproj

@@ -29,6 +29,7 @@
     <Compile Include="$(SharedSourceRoot)Http2cat\**\*.cs" LinkBase="Shared\Http2cat" />
     <Compile Include="$(SharedSourceRoot)runtime\Http2\**\*.cs" LinkBase="Shared\Http2\" />
     <Compile Include="$(SharedSourceRoot)runtime\IHttpStreamHeadersHandler.cs" LinkBase="Shared\IHttpStreamHeadersHandler.cs" />
+    <Compile Include="$(SharedSourceRoot)runtime\Obsoletions.cs" LinkBase="Shared\Obsoletions.cs" />
     <Compile Include="$(SharedSourceRoot)runtime\SR.cs" LinkBase="Shared\SR.cs" />
     <Compile Include="$(SharedSourceRoot)ServerInfrastructure\**\*.cs" LinkBase="Shared\" Exclude="$(SharedSourceRoot)ServerInfrastructure\DuplexPipe.cs" />
     <Compile Include="$(SharedSourceRoot)ValueTaskExtensions\**\*.cs" LinkBase="Shared\" />

+ 1 - 0
src/Servers/IIS/IIS/test/IIS.LongTests/IIS.LongTests.csproj

@@ -25,6 +25,7 @@
     <Compile Include="$(SharedSourceRoot)Http2cat\**\*.cs" LinkBase="Shared\Http2cat" />
     <Compile Include="$(SharedSourceRoot)runtime\Http2\**\*.cs" LinkBase="Shared\Http2\" />
     <Compile Include="$(SharedSourceRoot)runtime\IHttpStreamHeadersHandler.cs" LinkBase="Shared\IHttpStreamHeadersHandler.cs" />
+    <Compile Include="$(SharedSourceRoot)runtime\Obsoletions.cs" LinkBase="Shared\Obsoletions.cs" />
     <Compile Include="$(SharedSourceRoot)runtime\SR.cs" LinkBase="Shared\SR.cs" />
     <Compile Include="$(SharedSourceRoot)ServerInfrastructure\**\*.cs" LinkBase="Shared\" Exclude="$(SharedSourceRoot)ServerInfrastructure\DuplexPipe.cs" />
     <Compile Include="$(SharedSourceRoot)ValueTaskExtensions\**\*.cs" LinkBase="Shared\" />

+ 1 - 0
src/Servers/IIS/IIS/test/IIS.NewHandler.FunctionalTests/IIS.NewHandler.FunctionalTests.csproj

@@ -18,6 +18,7 @@
     <Compile Include="$(SharedSourceRoot)Http2cat\**\*.cs" LinkBase="Shared\Http2cat" />
     <Compile Include="$(SharedSourceRoot)runtime\Http2\**\*.cs" LinkBase="Shared\Http2\" />
     <Compile Include="$(SharedSourceRoot)runtime\IHttpStreamHeadersHandler.cs" LinkBase="Shared\IHttpStreamHeadersHandler.cs" />
+    <Compile Include="$(SharedSourceRoot)runtime\Obsoletions.cs" LinkBase="Shared\Obsoletions.cs" />
     <Compile Include="$(SharedSourceRoot)runtime\SR.cs" LinkBase="Shared\SR.cs" />
     <Compile Include="$(SharedSourceRoot)ServerInfrastructure\**\*.cs" LinkBase="Shared\" Exclude="$(SharedSourceRoot)ServerInfrastructure\DuplexPipe.cs" />
     <Compile Include="$(SharedSourceRoot)ValueTaskExtensions\**\*.cs" LinkBase="Shared\" />

+ 1 - 0
src/Servers/IIS/IIS/test/IIS.NewShim.FunctionalTests/IIS.NewShim.FunctionalTests.csproj

@@ -28,6 +28,7 @@
     <Compile Include="$(SharedSourceRoot)Http2cat\**\*.cs" LinkBase="Shared\Http2cat" />
     <Compile Include="$(SharedSourceRoot)runtime\Http2\**\*.cs" LinkBase="Shared\Http2\" />
     <Compile Include="$(SharedSourceRoot)runtime\IHttpStreamHeadersHandler.cs" LinkBase="Shared\IHttpStreamHeadersHandler.cs" />
+    <Compile Include="$(SharedSourceRoot)runtime\Obsoletions.cs" LinkBase="Shared\Obsoletions.cs" />
     <Compile Include="$(SharedSourceRoot)runtime\SR.cs" LinkBase="Shared\SR.cs" />
     <Compile Include="$(SharedSourceRoot)ServerInfrastructure\**\*.cs" LinkBase="Shared\" Exclude="$(SharedSourceRoot)ServerInfrastructure\DuplexPipe.cs" />
     <Compile Include="$(SharedSourceRoot)ValueTaskExtensions\**\*.cs" LinkBase="Shared\" />

+ 1 - 0
src/Servers/IIS/IIS/test/IISExpress.FunctionalTests/IISExpress.FunctionalTests.csproj

@@ -30,6 +30,7 @@
     <Compile Include="$(SharedSourceRoot)Http2cat\**\*.cs" LinkBase="Shared\Http2cat" />
     <Compile Include="$(SharedSourceRoot)runtime\Http2\**\*.cs" LinkBase="Shared\Http2\" />
     <Compile Include="$(SharedSourceRoot)runtime\IHttpStreamHeadersHandler.cs" LinkBase="Shared\IHttpStreamHeadersHandler.cs" />
+    <Compile Include="$(SharedSourceRoot)runtime\Obsoletions.cs" LinkBase="Shared\Obsoletions.cs" />
     <Compile Include="$(SharedSourceRoot)runtime\SR.cs" LinkBase="Shared\SR.cs" />
     <Compile Include="$(SharedSourceRoot)ServerInfrastructure\**\*.cs" LinkBase="Shared\" Exclude="$(SharedSourceRoot)ServerInfrastructure\DuplexPipe.cs" />
     <Compile Include="$(SharedSourceRoot)ValueTaskExtensions\**\*.cs" LinkBase="Shared\" />

+ 2 - 1
src/Servers/Kestrel/samples/http2cat/http2cat.csproj

@@ -1,4 +1,4 @@
-<Project Sdk="Microsoft.NET.Sdk">
+<Project Sdk="Microsoft.NET.Sdk">
 
   <PropertyGroup>
     <OutputType>Exe</OutputType>
@@ -9,6 +9,7 @@
   <ItemGroup>
     <Compile Include="$(SharedSourceRoot)runtime\Http2\**\*.cs" LinkBase="Shared\Http2" />
     <Compile Include="$(SharedSourceRoot)runtime\IHttpStreamHeadersHandler.cs" LinkBase="Shared\IHttpStreamHeadersHandler.cs" />
+    <Compile Include="$(SharedSourceRoot)runtime\Obsoletions.cs" LinkBase="Shared\Obsoletions.cs" />
     <Compile Include="$(SharedSourceRoot)runtime\SR.cs" LinkBase="Shared\SR.cs" />
     <Compile Include="$(SharedSourceRoot)Http2cat\**\*.cs" LinkBase="Shared\Http2cat" />
     <Compile Include="$(SharedSourceRoot)ServerInfrastructure\**\*.cs" LinkBase="Shared\" />

+ 34 - 0
src/Shared/TrimmingAttributes.cs

@@ -40,6 +40,40 @@ internal sealed class RequiresUnreferencedCodeAttribute : Attribute
     public string? Url { get; set; }
 }
 
+/// <summary>
+/// Indicates that the specified method requires the ability to generate new code at runtime,
+/// for example through <see cref="System.Reflection"/>.
+/// </summary>
+/// <remarks>
+/// This allows tools to understand which methods are unsafe to call when compiling ahead of time.
+/// </remarks>
+[AttributeUsage(AttributeTargets.Method | AttributeTargets.Constructor | AttributeTargets.Class, Inherited = false)]
+internal sealed class RequiresDynamicCodeAttribute : Attribute
+{
+    /// <summary>
+    /// Initializes a new instance of the <see cref="RequiresDynamicCodeAttribute"/> class
+    /// with the specified message.
+    /// </summary>
+    /// <param name="message">
+    /// A message that contains information about the usage of dynamic code.
+    /// </param>
+    public RequiresDynamicCodeAttribute(string message)
+    {
+        Message = message;
+    }
+
+    /// <summary>
+    /// Gets a message that contains information about the usage of dynamic code.
+    /// </summary>
+    public string Message { get; }
+
+    /// <summary>
+    /// Gets or sets an optional URL that contains more information about the method,
+    /// why it requires dynamic code, and what options a consumer has to deal with it.
+    /// </summary>
+    public string? Url { get; set; }
+}
+
 /// <summary>
 /// Suppresses reporting of a specific rule violation, allowing multiple suppressions on a
 /// single code artifact.

+ 3 - 0
src/Shared/runtime/Http2/Hpack/HPackDecodingException.cs

@@ -1,6 +1,7 @@
 // Licensed to the .NET Foundation under one or more agreements.
 // The .NET Foundation licenses this file to you under the MIT license.
 
+using System.ComponentModel;
 using System.Runtime.Serialization;
 
 namespace System.Net.Http.HPack
@@ -21,6 +22,8 @@ namespace System.Net.Http.HPack
         {
         }
 
+        [Obsolete(Obsoletions.LegacyFormatterImplMessage, DiagnosticId = Obsoletions.LegacyFormatterImplDiagId, UrlFormat = Obsoletions.SharedUrlFormat)]
+        [EditorBrowsable(EditorBrowsableState.Never)]
         public HPackDecodingException(SerializationInfo info, StreamingContext context) : base(info, context)
         {
         }

+ 11 - 0
src/Shared/runtime/Http2/Hpack/HuffmanDecodingException.cs

@@ -1,6 +1,7 @@
 // Licensed to the .NET Foundation under one or more agreements.
 // The .NET Foundation licenses this file to you under the MIT license.
 
+using System.ComponentModel;
 using System.Runtime.Serialization;
 
 namespace System.Net.Http.HPack
@@ -18,16 +19,26 @@ namespace System.Net.Http.HPack
         {
         }
 
+#if NET8_0_OR_GREATER
+        [Obsolete(Obsoletions.LegacyFormatterImplMessage, DiagnosticId = Obsoletions.LegacyFormatterImplDiagId, UrlFormat = Obsoletions.SharedUrlFormat)]
+#endif
         private HuffmanDecodingException(SerializationInfo info, StreamingContext context)
             : base(info, context)
         {
         }
 
+#if NET8_0_OR_GREATER
+        [Obsolete(Obsoletions.LegacyFormatterImplMessage, DiagnosticId = Obsoletions.LegacyFormatterImplDiagId, UrlFormat = Obsoletions.SharedUrlFormat)]
+#endif
         void ISerializable.GetObjectData(SerializationInfo serializationInfo, StreamingContext streamingContext)
         {
             base.GetObjectData(serializationInfo, streamingContext);
         }
 
+#if NET8_0_OR_GREATER
+        [Obsolete(Obsoletions.LegacyFormatterImplMessage, DiagnosticId = Obsoletions.LegacyFormatterImplDiagId, UrlFormat = Obsoletions.SharedUrlFormat)]
+        [EditorBrowsable(EditorBrowsableState.Never)]
+#endif
         public override void GetObjectData(SerializationInfo serializationInfo, StreamingContext streamingContext)
         {
             base.GetObjectData(serializationInfo, streamingContext);

+ 4 - 0
src/Shared/runtime/Http3/QPack/QPackDecodingException.cs

@@ -1,6 +1,7 @@
 // Licensed to the .NET Foundation under one or more agreements.
 // The .NET Foundation licenses this file to you under the MIT license.
 
+using System.ComponentModel;
 using System.Runtime.Serialization;
 
 namespace System.Net.Http.QPack
@@ -20,6 +21,9 @@ namespace System.Net.Http.QPack
         {
         }
 
+#if NET8_0_OR_GREATER
+        [Obsolete(Obsoletions.LegacyFormatterImplMessage, DiagnosticId = Obsoletions.LegacyFormatterImplDiagId, UrlFormat = Obsoletions.SharedUrlFormat)]
+#endif
         private QPackDecodingException(SerializationInfo info, StreamingContext context) : base(info, context)
         {
         }

+ 4 - 0
src/Shared/runtime/Http3/QPack/QPackEncodingException.cs

@@ -1,6 +1,7 @@
 // Licensed to the .NET Foundation under one or more agreements.
 // The .NET Foundation licenses this file to you under the MIT license.
 
+using System.ComponentModel;
 using System.Runtime.Serialization;
 
 namespace System.Net.Http.QPack
@@ -17,6 +18,9 @@ namespace System.Net.Http.QPack
         {
         }
 
+#if NET8_0_OR_GREATER
+        [Obsolete(Obsoletions.LegacyFormatterImplMessage, DiagnosticId = Obsoletions.LegacyFormatterImplDiagId, UrlFormat = Obsoletions.SharedUrlFormat)]
+#endif
         private QPackEncodingException(SerializationInfo info, StreamingContext context) : base(info, context)
         {
         }

+ 13 - 0
src/Shared/runtime/Obsoletions.cs

@@ -0,0 +1,13 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+
+namespace System
+{
+    internal static class Obsoletions
+    {
+        internal const string SharedUrlFormat = "https://aka.ms/dotnet-warnings/{0}";
+
+        internal const string LegacyFormatterImplMessage = "This API supports obsolete formatter-based serialization. It should not be called or extended by application code.";
+        internal const string LegacyFormatterImplDiagId = "SYSLIB0051";
+    }
+}

+ 5 - 0
src/SignalR/common/SignalR.Common/src/HubException.cs

@@ -49,6 +49,11 @@ public class HubException : Exception
     /// <param name="context">The <see cref="StreamingContext"/> that contains contextual information about the source or destination.</param>
     /// <exception cref="ArgumentNullException">The <paramref name="info"/> parameter is <c>null</c>.</exception>
     /// <exception cref="SerializationException">The class name is <c>null</c> or <see cref="Exception.HResult"/> is zero (0).</exception>
+#if NET8_0_OR_GREATER
+    [Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId = "SYSLIB0051", UrlFormat = "https://aka.ms/dotnet-warnings/{0}")]
+#else
+    [Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.")]
+#endif
     public HubException(SerializationInfo info, StreamingContext context) : base(info, context)
     {
     }

+ 1 - 1
src/submodules/MessagePack-CSharp

@@ -1 +1 @@
-Subproject commit fe9fa0834d18492eb229ff2923024af2c87553f8
+Subproject commit ecc4e18ad7a0c7db51cd7e3d2997a291ed01444d