Commit 657dfdf
fix: remove redundant NU1510 PackageReference pins in TodoApp.Uno (#558)
System.Formats.Asn1, System.Private.Uri, and System.Text.Json were pinned
as top-level PackageReference/PackageVersion entries since the Uno sample
was first added, but NuGet's package-pruning feature now considers these
pins redundant on every head (desktop, browserwasm, windows, android,
ios-maccatalyst) - the implicitly-resolved versions already satisfy the
pins, so restore emits NU1510 for each.
Removed the three redundant entries from Directory.Packages.props and
TodoApp.Uno.csproj. System.IO.Packaging (never triggers NU1510) and
SQLitePCLRaw.bundle_e_sqlite3 (genuine NU1903 CVE floor, see #492) are
left untouched.
Verified: dotnet restore/build -f net10.0-desktop now completes with no
NU1510 warnings (previously 3) and no new warnings/errors. Other heads
(android/ios-maccatalyst/browserwasm/windows) require Uno workloads not
available locally; verification for those relies on the todoapp-uno CI
matrix.
Fixes #540
Co-authored-by: ahall <ahall@cloudflare.com>1 parent bbc7324 commit 657dfdf
2 files changed
Lines changed: 0 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | 17 | | |
19 | | - | |
20 | | - | |
21 | 18 | | |
22 | 19 | | |
Lines changed: 0 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
78 | 77 | | |
79 | | - | |
80 | | - | |
81 | 78 | | |
82 | 79 | | |
83 | 80 | | |
| |||
0 commit comments