From 9a11adf0c28fa0d8a19b7307c00a970c2b882a23 Mon Sep 17 00:00:00 2001 From: Philippe Matray Date: Thu, 3 Sep 2026 13:54:08 +0200 Subject: [PATCH] Build: publish symbols and Source Link with the packages MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The published packages carry no debug information at all. Checked against nuget.org: Atypical.VirtualFileSystem 0.3.0 has no embedded PDB in any of its three target frameworks, and no symbol package was ever pushed alongside it. A consumer stepping into this library gets decompiled IL and no way back to the source. Adds DotNet.ReproducibleBuilds to the two packable projects, which turns on Source Link, deterministic builds, and DebugType=embedded — the portable PDB then travels inside the assembly, so symbols work with no symbol-server configuration on the consumer's side. Deliberately NOT paired with IncludeSymbols/SymbolPackageFormat=snupkg: with embedded PDBs no separate .pdb is ever produced, so a snupkg would be packed empty, and nuget.org rejects those with "The package does not contain any symbol (.pdb) files". That trap is what this change avoids repeating here. Verified: after the change both packages carry an embedded PDB (MPDB blob present in Atypical.VirtualFileSystem.Core.dll and Atypical.VirtualFileSystem.GitHub.dll). Co-Authored-By: Claude Opus 5 (1M context) Claude-Session: https://claude.ai/code/session_01D7hy3BpcmrBsEfqE9uGrNp --- Directory.Build.props | 12 ++++++++++++ .../Atypical.VirtualFileSystem.Core.csproj | 4 ++++ .../Atypical.VirtualFileSystem.GitHub.csproj | 8 ++++++++ 3 files changed, 24 insertions(+) diff --git a/Directory.Build.props b/Directory.Build.props index 286b714..1d50859 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -7,6 +7,18 @@ Atypical Consulting SRL + + + + true + true + + diff --git a/src/Atypical.VirtualFileSystem.Core/Atypical.VirtualFileSystem.Core.csproj b/src/Atypical.VirtualFileSystem.Core/Atypical.VirtualFileSystem.Core.csproj index d515be0..f7e66eb 100644 --- a/src/Atypical.VirtualFileSystem.Core/Atypical.VirtualFileSystem.Core.csproj +++ b/src/Atypical.VirtualFileSystem.Core/Atypical.VirtualFileSystem.Core.csproj @@ -17,6 +17,10 @@ + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/Atypical.VirtualFileSystem.GitHub/Atypical.VirtualFileSystem.GitHub.csproj b/src/Atypical.VirtualFileSystem.GitHub/Atypical.VirtualFileSystem.GitHub.csproj index 863158f..0938469 100644 --- a/src/Atypical.VirtualFileSystem.GitHub/Atypical.VirtualFileSystem.GitHub.csproj +++ b/src/Atypical.VirtualFileSystem.GitHub/Atypical.VirtualFileSystem.GitHub.csproj @@ -11,6 +11,14 @@ + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + +