Commit 8f023a7
Claude (Initial Force WPF Bot)
fix(packaging): add PackageReadmeFile to RuntimeOverride for snupkg
NU5017 'Cannot create a package that has no dependencies nor content'
fired during dotnet pack because the snupkg has only loose .pdb files
under runtimes/ — the symbol packager doesn't count those as content.
The .nupkg packs fine (it has the runtime DLLs). To make snupkg succeed,
add a PackageReadmeFile pointing at the existing README.md and Pack the
file. This also resolves the secondary 'package is missing a readme'
NuGet best-practice warning.
InitialForce.WPF.csproj already does this; alignment now matches.1 parent 6cfde07 commit 8f023a7
1 file changed
Lines changed: 9 additions & 0 deletions
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
34 | 38 | | |
35 | 39 | | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
36 | 45 | | |
37 | 46 | | |
38 | 47 | | |
| |||
0 commit comments