Skip to content

Instantly share code, notes, and snippets.

@m-jovanovic
Created December 5, 2024 21:14
Show Gist options
  • Save m-jovanovic/3e610fdacc769c5d1622154c0321e5df to your computer and use it in GitHub Desktop.
Save m-jovanovic/3e610fdacc769c5d1622154c0321e5df to your computer and use it in GitHub Desktop.
Example Directory.Build.props you can add in a Visual Studio solution to implement Central Package Management.
<Project>
<PropertyGroup>
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
</PropertyGroup>
<ItemGroup>
<PackageVersion Include="Newtonsoft.Json" Version="13.0.3" />
<PackageVersion Include="Serilog" Version="4.1.0" />
<PackageVersion Include="Polly" Version="8.5.0" />
</ItemGroup>
</Project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment