Skip to content

Commit 6169023

Browse files
authored
Enable central package transitive pinning (#5541)
Enable NuGet’s Transitive Pinning to effectively promote a transitive dependency to a top-level dependency implicitly on your behalf when necessary.
1 parent 09976f3 commit 6169023

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Directory.Packages.props

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<Project>
22
<PropertyGroup>
33
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
4+
<CentralPackageTransitivePinningEnabled>true</CentralPackageTransitivePinningEnabled>
45
</PropertyGroup>
56
<ItemGroup>
67
<PackageVersion Include="Microsoft.Diagnostics.Tracing.TraceEvent" Version="2.0.74" />
@@ -13,4 +14,4 @@
1314
<PackageVersion Include="System.Runtime.CompilerServices.Unsafe" Version="6.0.0" />
1415
<PackageVersion Include="System.Text.Json" Version="8.0.5" />
1516
</ItemGroup>
16-
</Project>
17+
</Project>

0 commit comments

Comments
 (0)