mirror of
https://github.com/fergalmoran/EFCore.NamingConventions.git
synced 2025-12-22 09:38:21 +00:00
Switch to centralized package management
This commit is contained in:
@@ -1,11 +1,9 @@
|
||||
<Project>
|
||||
<PropertyGroup>
|
||||
<AnalysisLevel>latest</AnalysisLevel>
|
||||
<IncludeSymbols>true</IncludeSymbols>
|
||||
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
|
||||
<LangVersion>9.0</LangVersion>
|
||||
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
|
||||
@@ -1,18 +0,0 @@
|
||||
<Project>
|
||||
<ItemGroup>
|
||||
<PackageReference Update="Microsoft.Extensions.DependencyInjection.Abstractions" Version="5.0.0" />
|
||||
<PackageReference Update="Microsoft.EntityFrameworkCore" Version="5.0.2" />
|
||||
<PackageReference Update="Microsoft.EntityFrameworkCore.Relational" Version="5.0.2" />
|
||||
|
||||
<!-- Test -->
|
||||
<PackageReference Update="xunit" Version="2.4.1" />
|
||||
<PackageReference Update="xunit.runner.visualstudio" Version="2.4.3" />
|
||||
<PackageReference Update="Microsoft.NET.Test.Sdk" Version="16.8.0" />
|
||||
<PackageReference Update="Microsoft.EntityFrameworkCore.InMemory" Version="5.0.2" />
|
||||
<PackageReference Update="Microsoft.EntityFrameworkCore.Sqlite" Version="5.0.2" />
|
||||
<PackageReference Update="Microsoft.EntityFrameworkCore.Specification.Tests" Version="5.0.2" />
|
||||
<PackageReference Update="Microsoft.Extensions.Configuration" Version="5.0.0" />
|
||||
<PackageReference Update="Microsoft.Extensions.Configuration.Json" Version="5.0.0" />
|
||||
<PackageReference Update="Microsoft.Extensions.Configuration.EnvironmentVariables" Version="5.0.0" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
19
Directory.Packages.props
Normal file
19
Directory.Packages.props
Normal file
@@ -0,0 +1,19 @@
|
||||
<Project>
|
||||
<ItemGroup>
|
||||
<PackageVersion Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="5.0.0" />
|
||||
<PackageVersion Include="Microsoft.EntityFrameworkCore" Version="5.0.2" />
|
||||
<PackageVersion Include="Microsoft.EntityFrameworkCore.Relational" Version="5.0.2" />
|
||||
<PackageVersion Include="Microsoft.SourceLink.GitHub" Version="1.0.0" />
|
||||
|
||||
<!-- Test -->
|
||||
<PackageVersion Include="xunit" Version="2.4.1" />
|
||||
<PackageVersion Include="xunit.runner.visualstudio" Version="2.4.3" />
|
||||
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="16.8.0" />
|
||||
<PackageVersion Include="Microsoft.EntityFrameworkCore.InMemory" Version="5.0.2" />
|
||||
<PackageVersion Include="Microsoft.EntityFrameworkCore.Sqlite" Version="5.0.2" />
|
||||
<PackageVersion Include="Microsoft.EntityFrameworkCore.Specification.Tests" Version="5.0.2" />
|
||||
<PackageVersion Include="Microsoft.Extensions.Configuration" Version="5.0.0" />
|
||||
<PackageVersion Include="Microsoft.Extensions.Configuration.Json" Version="5.0.0" />
|
||||
<PackageVersion Include="Microsoft.Extensions.Configuration.EnvironmentVariables" Version="5.0.0" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
@@ -7,8 +7,8 @@ EndProject
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{F6BE1E4F-B395-456A-9856-0C9AE4F626C0}"
|
||||
ProjectSection(SolutionItems) = preProject
|
||||
Directory.Build.props = Directory.Build.props
|
||||
Directory.Build.targets = Directory.Build.targets
|
||||
.github\workflows\build.yml = .github\workflows\build.yml
|
||||
Directory.Packages.props = Directory.Packages.props
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Global
|
||||
|
||||
@@ -22,6 +22,7 @@
|
||||
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" />
|
||||
<PackageReference Include="Microsoft.EntityFrameworkCore" />
|
||||
<PackageReference Include="Microsoft.EntityFrameworkCore.Relational" />
|
||||
<PackageReference Include="Microsoft.SourceLink.GitHub" PrivateAssets="All" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
||||
Reference in New Issue
Block a user