Skip to content

Commit bfc2349

Browse files
committed
refactor: enhance comments for central package version management in Directory.Packages.props
1 parent 39a81aa commit bfc2349

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Directory.Packages.props

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project>
33
<PropertyGroup>
4+
<!-- Enable central package version management so projects can omit explicit versions -->
45
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
6+
<!-- Pin transitive dependency versions to the central versions to improve reproducibility -->
57
<CentralPackageTransitivePinningEnabled>true</CentralPackageTransitivePinningEnabled>
8+
<!-- Allow floating (wildcard) versions in the central list (e.g. 9.* or 15.1.*) -->
69
<CentralPackageFloatingVersionsEnabled>true</CentralPackageFloatingVersionsEnabled>
710
<NoWarn>$(NoWarn);NU1507</NoWarn>
811
</PropertyGroup>

0 commit comments

Comments
 (0)