-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use central package management for easy updates NuGet packages (#222)
### Summary & Motivation This update introduces central package management for NuGet packages, a feature from .NET 6. It involves adding a `Directory.Packages.props` file in the root of the solution. All `.csproj` files have been updated to not specify versions. ### Checklist - [x] I have added a Label to the pull-request - [x] I have added tests, and done manual regression tests - [x] I have updated the documentation, if necessary
- Loading branch information
Showing
9 changed files
with
80 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
<Project> | ||
|
||
<PropertyGroup> | ||
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally> | ||
<CentralPackageTransitivePinningEnabled>true</CentralPackageTransitivePinningEnabled> | ||
<CentralPackageVersionOverrideEnabled>false</CentralPackageVersionOverrideEnabled> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<!-- PlatformPlatform dependencies - Api --> | ||
<PackageVersion Include="Microsoft.AspNetCore.Mvc.ApiExplorer" Version="2.2.0"/> | ||
<PackageVersion Include="Microsoft.EntityFrameworkCore.Design" Version="8.0.0"/> | ||
<PackageVersion Include="Swashbuckle.AspNetCore" Version="6.5.0"/> | ||
<!-- PlatformPlatform dependencies - Application --> | ||
<PackageVersion Include="Mapster" Version="7.4.0"/> | ||
<PackageVersion Include="MediatR" Version="12.2.0"/> | ||
<PackageVersion Include="FluentValidation.DependencyInjectionExtensions" Version="11.8.0"/> | ||
<!-- PlatformPlatform dependencies - Domain--> | ||
<PackageVersion Include="IdGen" Version="3.0.3"/> | ||
<PackageVersion Include="JetBrains.Annotations" Version="2023.3.0"/> | ||
<PackageVersion Include="MediatR.Contracts" Version="2.0.1"/> | ||
<PackageVersion Include="Microsoft.Extensions.Logging.Abstractions" Version="8.0.0"/> | ||
<PackageVersion Include="NUlid" Version="1.7.1"/> | ||
<!-- PlatformPlatform dependencies - Infrastructure --> | ||
<PackageVersion Include="Microsoft.EntityFrameworkCore" Version="8.0.0"/> | ||
<PackageVersion Include="Microsoft.EntityFrameworkCore.Tools" Version="8.0.0"/> | ||
<PackageVersion Include="Microsoft.EntityFrameworkCore.SqlServer" Version="8.0.0"/> | ||
<PackageVersion Include="Scrutor" Version="4.2.2"/> | ||
<!-- PlatformPlatform dependencies - Tests --> | ||
<PackageVersion Include="Bogus" Version="34.0.2"/> | ||
<PackageVersion Include="coverlet.collector" Version="6.0.0"/> | ||
<PackageVersion Include="FluentAssertions" Version="6.12.0"/> | ||
<PackageVersion Include="Microsoft.AspNetCore.Mvc.Testing" Version="8.0.0"/> | ||
<PackageVersion Include="Microsoft.EntityFrameworkCore.Sqlite" Version="8.0.0"/> | ||
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.7.2"/> | ||
<PackageVersion Include="NetArchTest.Rules" Version="1.3.2"/> | ||
<PackageVersion Include="NJsonSchema" Version="10.9.0"/> | ||
<PackageVersion Include="NSubstitute" Version="5.1.0"/> | ||
<PackageVersion Include="xunit" Version="2.6.2"/> | ||
<PackageVersion Include="xunit.runner.visualstudio" Version="2.5.4"/> | ||
</ItemGroup> | ||
|
||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters