From 94e6b90544e091d70df259f82398e0d54e99934b Mon Sep 17 00:00:00 2001 From: Nate Bross Date: Wed, 22 Apr 2026 00:06:55 -0500 Subject: [PATCH] refactor: adopt central package management - Add Directory.Packages.props with every PackageVersion declaration. - Remove the Version attribute from every PackageReference across the eight csproj files. - Dependabot now updates a single central manifest instead of keeping versions aligned across projects by hand. --- Directory.Packages.props | 32 +++++++++++++++++++ .../SharpFM.Plugin.Sample.csproj | 8 ++--- .../SharpFM.Plugin.UI.csproj | 4 +-- .../SharpFM.Plugin.XmlViewer.csproj | 14 ++++---- src/SharpFM.Plugin/SharpFM.Plugin.csproj | 4 +-- src/SharpFM/SharpFM.csproj | 29 ++++++++--------- .../SharpFM.Plugin.Tests.csproj | 10 +++--- tests/SharpFM.Tests/SharpFM.Tests.csproj | 8 ++--- 8 files changed, 70 insertions(+), 39 deletions(-) create mode 100644 Directory.Packages.props diff --git a/Directory.Packages.props b/Directory.Packages.props new file mode 100644 index 0000000..93b253a --- /dev/null +++ b/Directory.Packages.props @@ -0,0 +1,32 @@ + + + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/SharpFM.Plugin.Sample/SharpFM.Plugin.Sample.csproj b/src/SharpFM.Plugin.Sample/SharpFM.Plugin.Sample.csproj index b3e49c6..e305001 100644 --- a/src/SharpFM.Plugin.Sample/SharpFM.Plugin.Sample.csproj +++ b/src/SharpFM.Plugin.Sample/SharpFM.Plugin.Sample.csproj @@ -16,10 +16,10 @@ - - - - + + + + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/src/SharpFM.Plugin.UI/SharpFM.Plugin.UI.csproj b/src/SharpFM.Plugin.UI/SharpFM.Plugin.UI.csproj index d1779c5..e093fe1 100644 --- a/src/SharpFM.Plugin.UI/SharpFM.Plugin.UI.csproj +++ b/src/SharpFM.Plugin.UI/SharpFM.Plugin.UI.csproj @@ -16,8 +16,8 @@ - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/src/SharpFM.Plugin.XmlViewer/SharpFM.Plugin.XmlViewer.csproj b/src/SharpFM.Plugin.XmlViewer/SharpFM.Plugin.XmlViewer.csproj index a2db180..74c6f2f 100644 --- a/src/SharpFM.Plugin.XmlViewer/SharpFM.Plugin.XmlViewer.csproj +++ b/src/SharpFM.Plugin.XmlViewer/SharpFM.Plugin.XmlViewer.csproj @@ -16,13 +16,13 @@ - - - - - - - + + + + + + + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/src/SharpFM.Plugin/SharpFM.Plugin.csproj b/src/SharpFM.Plugin/SharpFM.Plugin.csproj index ce5a276..09ac5f1 100644 --- a/src/SharpFM.Plugin/SharpFM.Plugin.csproj +++ b/src/SharpFM.Plugin/SharpFM.Plugin.csproj @@ -16,8 +16,8 @@ - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/src/SharpFM/SharpFM.csproj b/src/SharpFM/SharpFM.csproj index ad92a20..c50a006 100644 --- a/src/SharpFM/SharpFM.csproj +++ b/src/SharpFM/SharpFM.csproj @@ -54,30 +54,29 @@ - + - - - - - - - - + + + + + + + + - - + + - + runtime; build; native; contentfiles; analyzers; buildtransitive all - - + + diff --git a/tests/SharpFM.Plugin.Tests/SharpFM.Plugin.Tests.csproj b/tests/SharpFM.Plugin.Tests/SharpFM.Plugin.Tests.csproj index b90450d..2179185 100644 --- a/tests/SharpFM.Plugin.Tests/SharpFM.Plugin.Tests.csproj +++ b/tests/SharpFM.Plugin.Tests/SharpFM.Plugin.Tests.csproj @@ -10,17 +10,17 @@ - - - + + + runtime; build; native; contentfiles; analyzers; buildtransitive all - + runtime; build; native; contentfiles; analyzers; buildtransitive all - + diff --git a/tests/SharpFM.Tests/SharpFM.Tests.csproj b/tests/SharpFM.Tests/SharpFM.Tests.csproj index 47fac6b..4062e31 100644 --- a/tests/SharpFM.Tests/SharpFM.Tests.csproj +++ b/tests/SharpFM.Tests/SharpFM.Tests.csproj @@ -10,13 +10,13 @@ - - - + + + runtime; build; native; contentfiles; analyzers; buildtransitive all - + runtime; build; native; contentfiles; analyzers; buildtransitive all