From 5c93032af1a3decbe3a116349e1ea012e9122f25 Mon Sep 17 00:00:00 2001 From: Natalia Portillo Date: Sat, 21 Jun 2025 11:42:50 +0100 Subject: [PATCH] Move dependencies to centralized management. --- .../Aaru.Server.Database.csproj | 25 ++---- Aaru.Server.sln | 2 + Aaru.Server/Aaru.Server.csproj | 84 ++++++------------- Directory.Build.props | 55 ++++++++++++ Directory.Packages.props | 34 ++++++++ 5 files changed, 126 insertions(+), 74 deletions(-) create mode 100644 Directory.Build.props create mode 100644 Directory.Packages.props diff --git a/Aaru.Server.Database/Aaru.Server.Database.csproj b/Aaru.Server.Database/Aaru.Server.Database.csproj index 0acf2b88..5bd0facf 100644 --- a/Aaru.Server.Database/Aaru.Server.Database.csproj +++ b/Aaru.Server.Database/Aaru.Server.Database.csproj @@ -1,22 +1,13 @@  - - net9.0 - enable - enable - - - - - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - - - - - + + + + + + + + diff --git a/Aaru.Server.sln b/Aaru.Server.sln index 0469d979..746ff733 100644 --- a/Aaru.Server.sln +++ b/Aaru.Server.sln @@ -12,6 +12,8 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution files", "Solution LICENSE = LICENSE LICENSE.LGPL = LICENSE.LGPL LICENSE.MIT = LICENSE.MIT + Directory.Build.props = Directory.Build.props + Directory.Packages.props = Directory.Packages.props EndProjectSection EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Aaru.Server", "Aaru.Server\Aaru.Server.csproj", "{032D24BA-EC3B-4BD1-ADD6-9463E2DC5D7E}" diff --git a/Aaru.Server/Aaru.Server.csproj b/Aaru.Server/Aaru.Server.csproj index 202ef459..1d7de289 100644 --- a/Aaru.Server/Aaru.Server.csproj +++ b/Aaru.Server/Aaru.Server.csproj @@ -1,67 +1,37 @@ - net9.0 - enable - enable aspnet-Aaru.Server-79282495-4F67-4766-871D-448D1338E8BC - - - - - - - - - - - - - - - - - - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Directory.Build.props b/Directory.Build.props new file mode 100644 index 00000000..8a3890df --- /dev/null +++ b/Directory.Build.props @@ -0,0 +1,55 @@ + + + net9.0 + enable + enable + true + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + + diff --git a/Directory.Packages.props b/Directory.Packages.props new file mode 100644 index 00000000..89fcf30c --- /dev/null +++ b/Directory.Packages.props @@ -0,0 +1,34 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file