Skip to content

Commit dab5a6a

Browse files
committed
Fixed compiler warnings
1 parent 9f708d4 commit dab5a6a

File tree

5 files changed

+25
-2
lines changed

5 files changed

+25
-2
lines changed

Directory.Packages.props

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,11 @@
1515
<PackageVersion Include="NSubstitute" Version="5.3.0" />
1616
<PackageVersion Include="Serilog.Extensions.Logging" Version="8.0.0" />
1717
<PackageVersion Include="Serilog.Sinks.XUnit" Version="3.0.5" />
18+
<PackageVersion Include="System.Net.Http" Version="4.3.4" />
19+
<PackageVersion Include="System.Text.RegularExpressions" Version="4.3.1" />
1820
<PackageVersion Include="Testcontainers.MsSql" Version="4.0.0" />
1921
<PackageVersion Include="Xunit.Extensions.AssemblyFixture" Version="2.6.0" />
2022
<PackageVersion Include="xunit" Version="2.9.2" />
2123
<PackageVersion Include="xunit.runner.visualstudio" Version="2.8.2" />
2224
</ItemGroup>
23-
</Project>
25+
</Project>

Thinktecture.EntityFrameworkCore.sln

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ ProjectSection(SolutionItems) = preProject
1111
EndProjectSection
1212
EndProject
1313
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "samples", "samples", "{30567A9D-BDC2-49C1-B0B4-91D37FB5CCC1}"
14+
ProjectSection(SolutionItems) = preProject
15+
samples\Directory.Build.props = samples\Directory.Build.props
16+
EndProjectSection
1417
EndProject
1518
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Thinktecture.EntityFrameworkCore.Relational", "src\Thinktecture.EntityFrameworkCore.Relational\Thinktecture.EntityFrameworkCore.Relational.csproj", "{B43A04CC-FB33-4B06-AC9B-BBDE177EF0E4}"
1619
EndProject

samples/Directory.Build.props

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
2+
3+
<PropertyGroup>
4+
<ParentPropsFile>$([MSBuild]::GetPathOfFileAbove('Directory.Build.props', '$(MSBuildThisFileDirectory)../'))</ParentPropsFile>
5+
<IsPackable>false</IsPackable>
6+
</PropertyGroup>
7+
8+
<Import Condition="exists('$(ParentPropsFile)') " Project="$(ParentPropsFile)"/>
9+
10+
<PropertyGroup>
11+
<TargetFramework>net9.0</TargetFramework>
12+
</PropertyGroup>
13+
14+
</Project>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"ConnectionStrings": {
3-
"sqlServer": "server=localhost;database=Demo;integrated security=true",
3+
"sqlServer": "server=localhost;database=Demo;integrated security=true;trustservercertificate=true",
44
"sqlite": "DataSource=:memory:"
55
}
66
}

src/Thinktecture.EntityFrameworkCore.Testing/Thinktecture.EntityFrameworkCore.Testing.csproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
<ItemGroup>
44
<PackageReference Include="Serilog.Extensions.Logging" />
55
<PackageReference Include="Serilog.Sinks.XUnit" />
6+
7+
<!-- Version upgrade due to vulnerabilities in older versions -->
8+
<PackageReference Include="System.Net.Http" />
9+
<PackageReference Include="System.Text.RegularExpressions" />
610
</ItemGroup>
711

812
<ItemGroup>

0 commit comments

Comments
 (0)