From 4b02fd457a5279254386de751884e97f4dd2e39b Mon Sep 17 00:00:00 2001 From: Matthias Gernand Date: Tue, 19 Mar 2024 15:06:11 +0100 Subject: [PATCH] Updated packages. (#15) --- MongoDB.DbContext.sln | 9 ++-- src/Directory.Build.props | 45 +++++++++++++++++++ .../MongoDB.DbContext.csproj | 26 ----------- .../MongoDB.DbContext.UnitTests.csproj | 6 +-- 4 files changed, 54 insertions(+), 32 deletions(-) create mode 100644 src/Directory.Build.props diff --git a/MongoDB.DbContext.sln b/MongoDB.DbContext.sln index f623d3f..c84f572 100644 --- a/MongoDB.DbContext.sln +++ b/MongoDB.DbContext.sln @@ -11,16 +11,19 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".items", ".items", "{241433 EndProjectSection EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{EDEC7D8F-4C6F-4DE3-8022-17A2A23AB18B}" + ProjectSection(SolutionItems) = preProject + src\Directory.Build.props = src\Directory.Build.props + EndProjectSection EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "samples", "samples", "{24F9EFE8-010B-48D9-B5D2-EF194BDEAC31}" EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{9BE8804F-BCC0-48CF-9AEC-ED97414B0C78}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MongoDB.DbContext", "src\MongoDB.DbContext\MongoDB.DbContext.csproj", "{CFCF94DC-8C41-4415-8245-8DF69027EEC5}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MongoDB.DbContext", "src\MongoDB.DbContext\MongoDB.DbContext.csproj", "{CFCF94DC-8C41-4415-8245-8DF69027EEC5}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SampleApp", "samples\SampleApp\SampleApp.csproj", "{A5844FF1-7F95-4435-BDDB-E376DBD43B8E}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SampleApp", "samples\SampleApp\SampleApp.csproj", "{A5844FF1-7F95-4435-BDDB-E376DBD43B8E}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MongoDB.DbContext.UnitTests", "tests\MongoDB.DbContext.UnitTests\MongoDB.DbContext.UnitTests.csproj", "{53B3C715-4048-4822-84BA-22D039C05601}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MongoDB.DbContext.UnitTests", "tests\MongoDB.DbContext.UnitTests\MongoDB.DbContext.UnitTests.csproj", "{53B3C715-4048-4822-84BA-22D039C05601}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution diff --git a/src/Directory.Build.props b/src/Directory.Build.props new file mode 100644 index 0000000..75bf89b --- /dev/null +++ b/src/Directory.Build.props @@ -0,0 +1,45 @@ + + + + latest + disable + disable + true + true + true + false + + + + MadEyeMatt.$(MSBuildProjectName) + MadEyeMatt.$(MSBuildProjectName.Replace(" ", "_")) + $(AssemblyName) + ..\..\package-output + false + Matthias Gernand + A DB context implementation for MongoDB. + en + https://github.com/mgernand/MongoDB.DbContext + https://github.com/mgernand/MongoDB.DbContext + git + mongodb;entity;database;context;dbcontext + README.md + MIT + icon.png + + + + 8.1.1 + + $(VersionPrefix) + $(VersionPrefix) + $(Version) + + + + MongoDB.DbContext + MongoDB.DbContext + Copyright © 2023-2024 Matthias Gernand. All rights reserved. + + + \ No newline at end of file diff --git a/src/MongoDB.DbContext/MongoDB.DbContext.csproj b/src/MongoDB.DbContext/MongoDB.DbContext.csproj index 50a95ac..63eaae8 100644 --- a/src/MongoDB.DbContext/MongoDB.DbContext.csproj +++ b/src/MongoDB.DbContext/MongoDB.DbContext.csproj @@ -2,32 +2,6 @@ netstandard2.1;net6.0;net7.0;net8.0 - latest - disable - disable - true - - - - MadEyeMatt.$(AssemblyName) - MadEyeMatt.$(MSBuildProjectName) - MadEyeMatt.$(MSBuildProjectName.Replace(" ", "_")) - false - Copyright © 2023-2024 Matthias Gernand. All rights reserved. - 8.1.0 - 8.1.0 - 8.1.0 - Matthias Gernand - A DB context implementation for MongoDB. - en - True - https://github.com/mgernand/MongoDB.DbContext - https://github.com/mgernand/MongoDB.DbContext - git - mongodb;entity;database;context;dbcontext - README.md - MIT - icon.png diff --git a/tests/MongoDB.DbContext.UnitTests/MongoDB.DbContext.UnitTests.csproj b/tests/MongoDB.DbContext.UnitTests/MongoDB.DbContext.UnitTests.csproj index 4cc0756..5417546 100644 --- a/tests/MongoDB.DbContext.UnitTests/MongoDB.DbContext.UnitTests.csproj +++ b/tests/MongoDB.DbContext.UnitTests/MongoDB.DbContext.UnitTests.csproj @@ -12,13 +12,13 @@ - + - + all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive