Explorar el Código

Add Microsoft.AspNetCore.Server.Kestrel.Transport.Quic to SharedFx (#34596)

* Add Microsoft.AspNetCore.Server.Kestrel.Transport.Quic to SharedFx

* Update SharedFramework.Local.props
William Godbe hace 4 años
padre
commit
56d80d44ac

+ 1 - 0
eng/SharedFramework.Local.props

@@ -60,6 +60,7 @@
     <AspNetCoreAppReference Include="Microsoft.AspNetCore.Server.IIS" />
     <AspNetCoreAppReference Include="Microsoft.AspNetCore.Server.Kestrel.Core" />
     <AspNetCoreAppReference Include="Microsoft.AspNetCore.Server.Kestrel" />
+    <AspNetCoreAppReference Include="Microsoft.AspNetCore.Server.Kestrel.Transport.Quic" />
     <AspNetCoreAppReference Include="Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets" />
     <AspNetCoreAppReference Include="Microsoft.AspNetCore.Authentication.Cookies" />
     <AspNetCoreAppReference Include="Microsoft.AspNetCore.Authentication" />

+ 2 - 0
src/Framework/test/TestData.cs

@@ -89,6 +89,7 @@ namespace Microsoft.AspNetCore
                 "Microsoft.AspNetCore.Server.IISIntegration",
                 "Microsoft.AspNetCore.Server.Kestrel",
                 "Microsoft.AspNetCore.Server.Kestrel.Core",
+                "Microsoft.AspNetCore.Server.Kestrel.Transport.Quic",
                 "Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets",
                 "Microsoft.AspNetCore.Session",
                 "Microsoft.AspNetCore.SignalR",
@@ -223,6 +224,7 @@ namespace Microsoft.AspNetCore
                 { "Microsoft.AspNetCore.Server.IISIntegration", "6.0.0.0" },
                 { "Microsoft.AspNetCore.Server.Kestrel", "6.0.0.0" },
                 { "Microsoft.AspNetCore.Server.Kestrel.Core", "6.0.0.0" },
+                { "Microsoft.AspNetCore.Server.Kestrel.Transport.Quic", "6.0.0.0" },
                 { "Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets", "6.0.0.0" },
                 { "Microsoft.AspNetCore.Session", "6.0.0.0" },
                 { "Microsoft.AspNetCore.SignalR", "6.0.0.0" },

+ 2 - 0
src/Servers/Kestrel/Transport.Quic/src/Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.csproj

@@ -3,10 +3,12 @@
   <PropertyGroup>
     <Description>Quic transport for the ASP.NET Core Kestrel cross-platform web server.</Description>
     <TargetFramework>$(DefaultNetCoreTargetFramework)</TargetFramework>
+    <IsAspNetCoreApp>true</IsAspNetCoreApp>
     <GenerateDocumentationFile>true</GenerateDocumentationFile>
     <PackageTags>aspnetcore;kestrel</PackageTags>
     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
     <NoWarn>CS1591;CS0436;$(NoWarn)</NoWarn><!-- Conflicts between internal and public Quic APIs -->
+    <IsPackable>false</IsPackable>
     <Nullable>enable</Nullable>
   </PropertyGroup>