From dab5a6a9ba90867a7f5799df6e506270f4ba8750 Mon Sep 17 00:00:00 2001 From: Pawel Gerr Date: Thu, 14 Nov 2024 12:31:21 +0100 Subject: [PATCH] Fixed compiler warnings --- Directory.Packages.props | 4 +++- Thinktecture.EntityFrameworkCore.sln | 3 +++ samples/Directory.Build.props | 14 ++++++++++++++ .../appsettings.json | 2 +- ...Thinktecture.EntityFrameworkCore.Testing.csproj | 4 ++++ 5 files changed, 25 insertions(+), 2 deletions(-) create mode 100644 samples/Directory.Build.props diff --git a/Directory.Packages.props b/Directory.Packages.props index 5c022e3e..f8dcfe22 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -15,9 +15,11 @@ + + - \ No newline at end of file + diff --git a/Thinktecture.EntityFrameworkCore.sln b/Thinktecture.EntityFrameworkCore.sln index 6e5bb1d8..67da4f28 100644 --- a/Thinktecture.EntityFrameworkCore.sln +++ b/Thinktecture.EntityFrameworkCore.sln @@ -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 diff --git a/samples/Directory.Build.props b/samples/Directory.Build.props new file mode 100644 index 00000000..c36d432a --- /dev/null +++ b/samples/Directory.Build.props @@ -0,0 +1,14 @@ + + + + $([MSBuild]::GetPathOfFileAbove('Directory.Build.props', '$(MSBuildThisFileDirectory)../')) + false + + + + + + net9.0 + + + diff --git a/samples/Thinktecture.EntityFrameworkCore.Benchmarks/appsettings.json b/samples/Thinktecture.EntityFrameworkCore.Benchmarks/appsettings.json index 4a594a95..d18c8a86 100644 --- a/samples/Thinktecture.EntityFrameworkCore.Benchmarks/appsettings.json +++ b/samples/Thinktecture.EntityFrameworkCore.Benchmarks/appsettings.json @@ -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:" } } diff --git a/src/Thinktecture.EntityFrameworkCore.Testing/Thinktecture.EntityFrameworkCore.Testing.csproj b/src/Thinktecture.EntityFrameworkCore.Testing/Thinktecture.EntityFrameworkCore.Testing.csproj index 58915ee1..f618dda9 100644 --- a/src/Thinktecture.EntityFrameworkCore.Testing/Thinktecture.EntityFrameworkCore.Testing.csproj +++ b/src/Thinktecture.EntityFrameworkCore.Testing/Thinktecture.EntityFrameworkCore.Testing.csproj @@ -3,6 +3,10 @@ + + + +