Skip to content

Commit

Permalink
Fixed compiler warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
PawelGerr committed Nov 14, 2024
1 parent 9f708d4 commit dab5a6a
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 2 deletions.
4 changes: 3 additions & 1 deletion Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,11 @@
<PackageVersion Include="NSubstitute" Version="5.3.0" />
<PackageVersion Include="Serilog.Extensions.Logging" Version="8.0.0" />
<PackageVersion Include="Serilog.Sinks.XUnit" Version="3.0.5" />
<PackageVersion Include="System.Net.Http" Version="4.3.4" />
<PackageVersion Include="System.Text.RegularExpressions" Version="4.3.1" />
<PackageVersion Include="Testcontainers.MsSql" Version="4.0.0" />
<PackageVersion Include="Xunit.Extensions.AssemblyFixture" Version="2.6.0" />
<PackageVersion Include="xunit" Version="2.9.2" />
<PackageVersion Include="xunit.runner.visualstudio" Version="2.8.2" />
</ItemGroup>
</Project>
</Project>
3 changes: 3 additions & 0 deletions Thinktecture.EntityFrameworkCore.sln
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ ProjectSection(SolutionItems) = preProject
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "samples", "samples", "{30567A9D-BDC2-49C1-B0B4-91D37FB5CCC1}"
ProjectSection(SolutionItems) = preProject
samples\Directory.Build.props = samples\Directory.Build.props
EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Thinktecture.EntityFrameworkCore.Relational", "src\Thinktecture.EntityFrameworkCore.Relational\Thinktecture.EntityFrameworkCore.Relational.csproj", "{B43A04CC-FB33-4B06-AC9B-BBDE177EF0E4}"
EndProject
Expand Down
14 changes: 14 additions & 0 deletions samples/Directory.Build.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">

<PropertyGroup>
<ParentPropsFile>$([MSBuild]::GetPathOfFileAbove('Directory.Build.props', '$(MSBuildThisFileDirectory)../'))</ParentPropsFile>
<IsPackable>false</IsPackable>
</PropertyGroup>

<Import Condition="exists('$(ParentPropsFile)') " Project="$(ParentPropsFile)"/>

<PropertyGroup>
<TargetFramework>net9.0</TargetFramework>
</PropertyGroup>

</Project>
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"ConnectionStrings": {
"sqlServer": "server=localhost;database=Demo;integrated security=true",
"sqlServer": "server=localhost;database=Demo;integrated security=true;trustservercertificate=true",
"sqlite": "DataSource=:memory:"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
<ItemGroup>
<PackageReference Include="Serilog.Extensions.Logging" />
<PackageReference Include="Serilog.Sinks.XUnit" />

<!-- Version upgrade due to vulnerabilities in older versions -->
<PackageReference Include="System.Net.Http" />
<PackageReference Include="System.Text.RegularExpressions" />
</ItemGroup>

<ItemGroup>
Expand Down

0 comments on commit dab5a6a

Please sign in to comment.