From f5392b2394947782296992090eae0ebb3c4d5d6f Mon Sep 17 00:00:00 2001 From: Ivandro Jao Date: Tue, 3 Sep 2024 14:49:11 +0100 Subject: [PATCH] Use centralized package management Refactor project files to use Directory.Packages.props for centralized NuGet package management, making dependency updates easier and more consistent across projects. Removed explicit version specifications from individual project files. Signed-off-by: Ivandro Jao --- Directory.Packages.props | 20 ++++++++++++++++++++ SubtitleEdit.sln | 1 + src/Test/Test.csproj | 8 +++++--- src/ui/SubtitleEdit.csproj | 20 ++++++++++---------- 4 files changed, 36 insertions(+), 13 deletions(-) create mode 100644 Directory.Packages.props diff --git a/Directory.Packages.props b/Directory.Packages.props new file mode 100644 index 000000000..55b2fb12e --- /dev/null +++ b/Directory.Packages.props @@ -0,0 +1,20 @@ + + + true + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SubtitleEdit.sln b/SubtitleEdit.sln index 8dd370fe1..db5fec9ff 100644 --- a/SubtitleEdit.sln +++ b/SubtitleEdit.sln @@ -24,6 +24,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution LanguageBaseEnglish.xml = LanguageBaseEnglish.xml LICENSE.txt = LICENSE.txt README.md = README.md + Directory.Packages.props = Directory.Packages.props EndProjectSection EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LibSE", "src\libse\LibSE.csproj", "{D6F64CD3-C3EA-4B36-B575-9B3B8A3CA13F}" diff --git a/src/Test/Test.csproj b/src/Test/Test.csproj index 79f37b94d..57087148c 100644 --- a/src/Test/Test.csproj +++ b/src/Test/Test.csproj @@ -201,18 +201,20 @@ - - - + + + + This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. +