From 60365a779df94157e275b5048fc0612ed310d978 Mon Sep 17 00:00:00 2001 From: jbe2277 Date: Sat, 28 Dec 2024 16:24:52 +0100 Subject: [PATCH] NR Introduce central package management --- src/NewsReader/Directory.Build.props | 8 +++--- src/NewsReader/Directory.Packages.props | 26 +++++++++++++++++++ .../NewsReader.Applications.Test.csproj | 2 +- .../NewsReader.Applications.csproj | 2 +- .../NewsReader.Domain.Test.csproj | 2 +- .../NewsReader.Domain.csproj | 4 +-- .../NewsReader.MauiSystem.csproj | 4 +-- .../NewsReader.Presentation.Test.csproj | 2 +- .../NewsReader.Presentation.csproj | 10 +++---- src/NewsReader/NewsReader.sln | 1 + 10 files changed, 44 insertions(+), 17 deletions(-) create mode 100644 src/NewsReader/Directory.Packages.props diff --git a/src/NewsReader/Directory.Build.props b/src/NewsReader/Directory.Build.props index 36c54a88..0dea3e8d 100644 --- a/src/NewsReader/Directory.Build.props +++ b/src/NewsReader/Directory.Build.props @@ -17,9 +17,9 @@ $(MSBuildThisFileDirectory)CodeCoverage.runsettings - - - + + + @@ -30,7 +30,7 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/NewsReader/Directory.Packages.props b/src/NewsReader/Directory.Packages.props new file mode 100644 index 00000000..c886d900 --- /dev/null +++ b/src/NewsReader/Directory.Packages.props @@ -0,0 +1,26 @@ + + + true + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/NewsReader/NewsReader.Applications.Test/NewsReader.Applications.Test.csproj b/src/NewsReader/NewsReader.Applications.Test/NewsReader.Applications.Test.csproj index ea4315b1..02d3127e 100644 --- a/src/NewsReader/NewsReader.Applications.Test/NewsReader.Applications.Test.csproj +++ b/src/NewsReader/NewsReader.Applications.Test/NewsReader.Applications.Test.csproj @@ -6,7 +6,7 @@ - + diff --git a/src/NewsReader/NewsReader.Applications/NewsReader.Applications.csproj b/src/NewsReader/NewsReader.Applications/NewsReader.Applications.csproj index 9a1b781d..09c829b2 100644 --- a/src/NewsReader/NewsReader.Applications/NewsReader.Applications.csproj +++ b/src/NewsReader/NewsReader.Applications/NewsReader.Applications.csproj @@ -6,7 +6,7 @@ - + diff --git a/src/NewsReader/NewsReader.Domain.Test/NewsReader.Domain.Test.csproj b/src/NewsReader/NewsReader.Domain.Test/NewsReader.Domain.Test.csproj index a0416dd4..e1c79038 100644 --- a/src/NewsReader/NewsReader.Domain.Test/NewsReader.Domain.Test.csproj +++ b/src/NewsReader/NewsReader.Domain.Test/NewsReader.Domain.Test.csproj @@ -6,7 +6,7 @@ - + diff --git a/src/NewsReader/NewsReader.Domain/NewsReader.Domain.csproj b/src/NewsReader/NewsReader.Domain/NewsReader.Domain.csproj index 9a71c08e..9c53d006 100644 --- a/src/NewsReader/NewsReader.Domain/NewsReader.Domain.csproj +++ b/src/NewsReader/NewsReader.Domain/NewsReader.Domain.csproj @@ -6,8 +6,8 @@ - - + + diff --git a/src/NewsReader/NewsReader.MauiSystem/NewsReader.MauiSystem.csproj b/src/NewsReader/NewsReader.MauiSystem/NewsReader.MauiSystem.csproj index 2c12f057..cce363bb 100644 --- a/src/NewsReader/NewsReader.MauiSystem/NewsReader.MauiSystem.csproj +++ b/src/NewsReader/NewsReader.MauiSystem/NewsReader.MauiSystem.csproj @@ -28,9 +28,9 @@ - + - + diff --git a/src/NewsReader/NewsReader.Presentation.Test/NewsReader.Presentation.Test.csproj b/src/NewsReader/NewsReader.Presentation.Test/NewsReader.Presentation.Test.csproj index 45319c62..256d6dd2 100644 --- a/src/NewsReader/NewsReader.Presentation.Test/NewsReader.Presentation.Test.csproj +++ b/src/NewsReader/NewsReader.Presentation.Test/NewsReader.Presentation.Test.csproj @@ -6,7 +6,7 @@ - + diff --git a/src/NewsReader/NewsReader.Presentation/NewsReader.Presentation.csproj b/src/NewsReader/NewsReader.Presentation/NewsReader.Presentation.csproj index 270b93c9..23452585 100644 --- a/src/NewsReader/NewsReader.Presentation/NewsReader.Presentation.csproj +++ b/src/NewsReader/NewsReader.Presentation/NewsReader.Presentation.csproj @@ -13,12 +13,12 @@ - + - - - - + + + + diff --git a/src/NewsReader/NewsReader.sln b/src/NewsReader/NewsReader.sln index 569572f9..650abe95 100644 --- a/src/NewsReader/NewsReader.sln +++ b/src/NewsReader/NewsReader.sln @@ -20,6 +20,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution ..\.editorconfig = ..\.editorconfig CodeCoverage.runsettings = CodeCoverage.runsettings Directory.Build.props = Directory.Build.props + Directory.Packages.props = Directory.Packages.props EndProjectSection EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NewsReader.Applications.Test", "NewsReader.Applications.Test\NewsReader.Applications.Test.csproj", "{A94B114C-3248-437E-8A98-53AF674A9C1A}"