Skip to content

fix(packaging): quitar la generación de .snupkg (DebugType embedded los deja vacíos) - #6

Merged
UBF21 merged 1 commit into
mainfrom
fix/remove-snupkg
Oct 7, 2026
Merged

UBF21 merged 1 commit into
mainfrom
fix/remove-snupkg

Conversation

@UBF21

@UBF21 UBF21 commented Oct 7, 2026

Copy link
Copy Markdown
Owner

Resumen

Encontrado en el primer publish real: el push de Vali-Flow.Abstractions.1.2.0.nupkg a NuGet.org salió bien, pero el .snupkg que dotnet nuget push empuja automáticamente a continuación falló con 400: The package does not contain any symbol (.pdb) files.

Causa: los 12 paquetes usan DebugType=embedded (el PDB queda embebido en el DLL), por lo que no queda ningún .pdb separado para meter en el .snupkg — dotnet pack lo generaba vacío igual, y NuGet.org lo rechaza.

Fix: se quita IncludeSymbols/SymbolPackageFormat de los 12 .csproj. El debug info embebido ya cubre el caso de uso, nunca hizo falta el paquete de símbolos separado.

Estado real en NuGet.org en este momento: Vali-Flow.Abstractions 1.2.0 ya está publicado (el .nupkg se empujó bien antes de que fallara el .snupkg). El resto de las olas (2 y 3) nunca corrieron porque el job se cayó ahí. Una vez mergeado esto, se vuelve a correr release.yml con publish: true — el push de la ola 1 es --skip-duplicate, así que es seguro repetirlo.

Plan de pruebas

  • dotnet pack local de Abstractions — confirma que ya no genera .snupkg

Every package sets DebugType=embedded, which embeds the PDB directly into
the DLL -- there is no separate .pdb file left to put in a symbol package.
IncludeSymbols+SymbolPackageFormat still produced an empty .snupkg anyway,
which NuGet.org rejects outright: "The package does not contain any symbol
(.pdb) files." dotnet nuget push auto-pushes a sibling .snupkg right after
its .nupkg, so this broke the real wave-1 publish right after the main
Vali-Flow.Abstractions.1.2.0.nupkg had already gone out successfully.

Removed IncludeSymbols/SymbolPackageFormat from all 12 packages; embedded
debug info means a separate symbol package was never needed.
@UBF21
UBF21 merged commit 2e2a6b3 into main Oct 7, 2026
9 checks passed
@UBF21
UBF21 deleted the fix/remove-snupkg branch October 7, 2026 00:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant