build: Enable nuget transitive pinning

This is to ensure that all projects use the same version of implicit
dependencies (when those dependencies are present in
`Directory.Packages.props`).
pull/241/head
Robert Dailey 9 months ago
parent b20d2d6202
commit 0779729403

@ -8,7 +8,6 @@
<AnalysisMode>AllEnabledByDefault</AnalysisMode> <AnalysisMode>AllEnabledByDefault</AnalysisMode>
<GitVersionBaseDirectory>$(MSBuildThisFileDirectory)</GitVersionBaseDirectory> <GitVersionBaseDirectory>$(MSBuildThisFileDirectory)</GitVersionBaseDirectory>
<!--<DisableGitVersionTask>true</DisableGitVersionTask>--> <!--<DisableGitVersionTask>true</DisableGitVersionTask>-->
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
</PropertyGroup> </PropertyGroup>
<!-- <!--

@ -1,4 +1,8 @@
<Project> <Project>
<PropertyGroup>
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
<CentralPackageTransitivePinningEnabled>true</CentralPackageTransitivePinningEnabled>
</PropertyGroup>
<!-- Central Package Versions --> <!-- Central Package Versions -->
<ItemGroup> <ItemGroup>
<PackageVersion Include="Autofac" Version="8.0.0" /> <PackageVersion Include="Autofac" Version="8.0.0" />
@ -10,7 +14,6 @@
<PackageVersion Include="AutoMapper.Contrib.Autofac.DependencyInjection" Version="8.0.0" /> <PackageVersion Include="AutoMapper.Contrib.Autofac.DependencyInjection" Version="8.0.0" />
<PackageVersion Include="CliWrap" Version="3.6.6" /> <PackageVersion Include="CliWrap" Version="3.6.6" />
<PackageVersion Include="FluentValidation" Version="11.9.1" /> <PackageVersion Include="FluentValidation" Version="11.9.1" />
<PackageVersion Include="Flurl" Version="3.0.7" />
<PackageVersion Include="Flurl.Http" Version="4.0.2" /> <PackageVersion Include="Flurl.Http" Version="4.0.2" />
<PackageVersion Include="GitVersion.MsBuild" Version="6.0.0-beta.7" /> <PackageVersion Include="GitVersion.MsBuild" Version="6.0.0-beta.7" />
<PackageVersion Include="JetBrains.Annotations" Version="2023.3.0" /> <PackageVersion Include="JetBrains.Annotations" Version="2023.3.0" />
@ -62,4 +65,4 @@
<PackageVersion Include="System.Net.Http" Version="4.3.4" /> <PackageVersion Include="System.Net.Http" Version="4.3.4" />
<PackageVersion Include="System.Text.RegularExpressions" Version="4.3.1" /> <PackageVersion Include="System.Text.RegularExpressions" Version="4.3.1" />
</ItemGroup> </ItemGroup>
</Project> </Project>

Loading…
Cancel
Save