Skip to content

Commit 1115cdb

Browse files
Reduce dependencies to EF / SQL Server Client version.
1 parent cb5e59c commit 1115cdb

File tree

4 files changed

+34
-11
lines changed

4 files changed

+34
-11
lines changed

Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<RunAnalyzers Condition="'$(Configuration)' == 'Release'">false</RunAnalyzers>
2020

2121
<!-- Disable the StyleCop 'XML comment analysis is disabled due to project configuration' warning. -->
22-
<NoWarn>$(NoWarn);SA0001</NoWarn>
22+
<NoWarn>$(NoWarn);SA0001;NU1903</NoWarn>
2323

2424
<!-- By default prefix all the assemblies name with ChantierConnect -->
2525
<AssemblyName>PosInformatique.$(MSBuildProjectName)</AssemblyName>

Directory.Packages.props

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,15 @@
44
</PropertyGroup>
55
<ItemGroup>
66
<PackageVersion Include="coverlet.collector" Version="6.0.2" />
7-
<PackageVersion Include="FluentAssertions" Version="6.12.0" />
8-
<PackageVersion Include="Microsoft.Data.SqlClient" Version="5.1.5" />
9-
<PackageVersion Include="Microsoft.EntityFrameworkCore" Version="8.0.8" />
10-
<PackageVersion Include="Microsoft.EntityFrameworkCore.SqlServer" Version="8.0.8" />
11-
<PackageVersion Include="Microsoft.EntityFrameworkCore.Tools" Version="8.0.8" />
12-
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.11.0" />
13-
<PackageVersion Include="Microsoft.SqlServer.DacFx" Version="162.3.566" />
14-
<PackageVersion Include="PosInformatique.UnitTests.Databases.SqlServer.EntityFramework" Version="2.0.0-rc.7" />
7+
<PackageVersion Include="FluentAssertions" Version="6.12.1" />
8+
<PackageVersion Include="Microsoft.Data.SqlClient" Version="5.0.1" />
9+
<PackageVersion Include="Microsoft.EntityFrameworkCore" Version="8.0.0" />
10+
<PackageVersion Include="Microsoft.EntityFrameworkCore.SqlServer" Version="8.0.0" />
11+
<PackageVersion Include="Microsoft.EntityFrameworkCore.Tools" Version="8.0.0" />
12+
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.11.1" />
13+
<PackageVersion Include="Microsoft.SqlServer.DacFx" Version="161.6374.0" />
1514
<PackageVersion Include="StyleCop.Analyzers" Version="1.2.0-beta.556" />
16-
<PackageVersion Include="xunit" Version="2.9.0" />
15+
<PackageVersion Include="xunit" Version="2.9.1" />
1716
<PackageVersion Include="xunit.runner.visualstudio" Version="2.8.2" />
1817
</ItemGroup>
1918
</Project>

samples/Directory.Packages.props

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<Project>
2+
<PropertyGroup>
3+
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
4+
</PropertyGroup>
5+
<ItemGroup>
6+
<PackageVersion Include="coverlet.collector" Version="6.0.2" />
7+
<PackageVersion Include="FluentAssertions" Version="6.12.1" />
8+
<PackageVersion Include="Microsoft.Data.SqlClient" Version="5.0.1" />
9+
<PackageVersion Include="Microsoft.EntityFrameworkCore" Version="8.0.8" />
10+
<PackageVersion Include="Microsoft.EntityFrameworkCore.SqlServer" Version="8.0.8" />
11+
<PackageVersion Include="Microsoft.EntityFrameworkCore.Tools" Version="8.0.8" />
12+
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.11.1" />
13+
<PackageVersion Include="Microsoft.SqlServer.DacFx" Version="161.6374.0" />
14+
<PackageVersion Include="PosInformatique.UnitTests.Databases.SqlServer.EntityFramework" Version="2.0.0-rc.7" />
15+
<PackageVersion Include="StyleCop.Analyzers" Version="1.2.0-beta.556" />
16+
<PackageVersion Include="xunit" Version="2.9.1" />
17+
<PackageVersion Include="xunit.runner.visualstudio" Version="2.8.2" />
18+
</ItemGroup>
19+
</Project>

samples/PosInformatique.UnitTests.Databases.Samples.sln

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,12 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DemoApp.Domain", "DemoApp.D
1111
EndProject
1212
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DemoApp.DataAccessLayer.Migrations", "DemoApp.DataAccessLayer.Migrations\DemoApp.DataAccessLayer.Migrations.csproj", "{16B7923A-22A1-4EFC-B574-F016969645D3}"
1313
EndProject
14-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DemoApp.DataAccessLayer.Migrations.Tests", "DemoApp.DataAccessLayer.Migrations.Tests\DemoApp.DataAccessLayer.Migrations.Tests.csproj", "{4F179D8D-B991-4D0D-93BC-FD04F9F0B43B}"
14+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DemoApp.DataAccessLayer.Migrations.Tests", "DemoApp.DataAccessLayer.Migrations.Tests\DemoApp.DataAccessLayer.Migrations.Tests.csproj", "{4F179D8D-B991-4D0D-93BC-FD04F9F0B43B}"
15+
EndProject
16+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{94271813-6C8A-4EA9-939F-5046A1D9D605}"
17+
ProjectSection(SolutionItems) = preProject
18+
Directory.Packages.props = Directory.Packages.props
19+
EndProjectSection
1520
EndProject
1621
Global
1722
GlobalSection(SolutionConfigurationPlatforms) = preSolution

0 commit comments

Comments
 (0)