From b86623e45d4ebd728a6b8557f82a8eeb8a0a39ad Mon Sep 17 00:00:00 2001 From: Louis Zanella Date: Mon, 23 Feb 2026 08:24:51 -0500 Subject: [PATCH 1/2] Adapt NGitLab.sln to use Central Package Management Use [CentralisedPackageConverter](https://github.com/Webreaper/CentralisedPackageConverter?tab=readme-ov-file#centralisedpackageconverter) to automatically convert NGitLab.sln's projects --- Directory.Build.props | 14 ++++---- Directory.Packages.props | 38 ++++++++++++++++++++ NGitLab.Mock.Tests/NGitLab.Mock.Tests.csproj | 12 +++---- NGitLab.Mock/NGitLab.Mock.csproj | 10 +++--- NGitLab.Tests/NGitLab.Tests.csproj | 20 +++++------ NGitLab/NGitLab.csproj | 10 +++--- 6 files changed, 71 insertions(+), 33 deletions(-) create mode 100644 Directory.Packages.props diff --git a/Directory.Build.props b/Directory.Build.props index d699c419..1b879c03 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -1,4 +1,4 @@ - + Ubisoft @@ -28,9 +28,9 @@ - + - + all runtime; build; native; contentfiles; analyzers @@ -38,22 +38,22 @@ - + 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..de91bc64 --- /dev/null +++ b/Directory.Packages.props @@ -0,0 +1,38 @@ + + + true + false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/NGitLab.Mock.Tests/NGitLab.Mock.Tests.csproj b/NGitLab.Mock.Tests/NGitLab.Mock.Tests.csproj index 45d5ef2c..d48ada7a 100644 --- a/NGitLab.Mock.Tests/NGitLab.Mock.Tests.csproj +++ b/NGitLab.Mock.Tests/NGitLab.Mock.Tests.csproj @@ -1,4 +1,4 @@ - + net8.0;net472 false @@ -7,13 +7,13 @@ - - - + + + all runtime; build; native; contentfiles; analyzers; buildtransitive - - + + diff --git a/NGitLab.Mock/NGitLab.Mock.csproj b/NGitLab.Mock/NGitLab.Mock.csproj index 210f75b1..aed13314 100644 --- a/NGitLab.Mock/NGitLab.Mock.csproj +++ b/NGitLab.Mock/NGitLab.Mock.csproj @@ -7,17 +7,17 @@ - - + + all runtime; build; native; contentfiles; analyzers; buildtransitive - - + + - + all runtime; build; native; contentfiles; analyzers diff --git a/NGitLab.Tests/NGitLab.Tests.csproj b/NGitLab.Tests/NGitLab.Tests.csproj index 7633147b..fb8bdcd9 100644 --- a/NGitLab.Tests/NGitLab.Tests.csproj +++ b/NGitLab.Tests/NGitLab.Tests.csproj @@ -7,19 +7,19 @@ - - - - - - + + + + + + all runtime; build; native; contentfiles; analyzers; buildtransitive - - - - + + + + all runtime; build; native; contentfiles; analyzers diff --git a/NGitLab/NGitLab.csproj b/NGitLab/NGitLab.csproj index b28bb0e4..0ebfc24f 100644 --- a/NGitLab/NGitLab.csproj +++ b/NGitLab/NGitLab.csproj @@ -6,20 +6,20 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive - - + + all runtime; build; native; contentfiles; analyzers; buildtransitive - - + + From aaca289b5891fec31100b102da4ea737ac6afd5d Mon Sep 17 00:00:00 2001 From: Louis Zanella Date: Mon, 23 Feb 2026 08:32:28 -0500 Subject: [PATCH 2/2] tweak --- Directory.Packages.props | 3 --- NGitLab.Mock/NGitLab.Mock.csproj | 7 ------- 2 files changed, 10 deletions(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index de91bc64..5fa5fc92 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -32,7 +32,4 @@ - - - diff --git a/NGitLab.Mock/NGitLab.Mock.csproj b/NGitLab.Mock/NGitLab.Mock.csproj index aed13314..d2703180 100644 --- a/NGitLab.Mock/NGitLab.Mock.csproj +++ b/NGitLab.Mock/NGitLab.Mock.csproj @@ -15,11 +15,4 @@ - - - - all - runtime; build; native; contentfiles; analyzers - - \ No newline at end of file