Skip to content

Commit 05434a9

Browse files
danroth27Copilot
andauthored
Pack Microsoft.AspNetCore.Components.Gateway (#66579)
Microsoft.NET.Sdk.Web.ProjectSystem.props sets <IsPackable>false</IsPackable> by default. The Gateway project uses the Web SDK with a custom <NuspecFile> and <IsShippingPackage>true</IsShippingPackage>, but Pack silently no-ops under the Web SDK default, so no shipping nupkg is produced. Set <IsPackable>true</IsPackable> explicitly so the existing nuspec is honored and Microsoft.AspNetCore.Components.Gateway.<version>.nupkg is produced into artifacts/packages/<config>/Shipping/ alongside the other shipping packages. Verified locally: before this change, ./eng/build.ps1 -pack -projects ... succeeds with 0 errors but produces no nupkg anywhere under artifacts/. After this change, the same invocation produces both the package and its symbols package in the Shipping folder, with the expected build/ targets and tools/ payload. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 4b6bdf3 commit 05434a9

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/Components/Gateway/src/Microsoft.AspNetCore.Components.Gateway.csproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
<AssemblyName>blazor-gateway</AssemblyName>
77
<PackageId>Microsoft.AspNetCore.Components.Gateway</PackageId>
88
<IsShippingPackage>true</IsShippingPackage>
9+
<!-- Microsoft.NET.Sdk.Web defaults IsPackable to false. Override it so the
10+
<NuspecFile> below is honored and the shipping package is produced. -->
11+
<IsPackable>true</IsPackable>
912
<Description>Gateway server for hosting standalone Blazor WebAssembly applications.</Description>
1013
<GenerateDocumentationFile>true</GenerateDocumentationFile>
1114
<!-- Assemblies should not reference this assembly directly -->

0 commit comments

Comments
 (0)