From 6d836a930eaea32a6c11f200370ec1767a2781b1 Mon Sep 17 00:00:00 2001 From: Dave Roman <43916038+MrDave1999@users.noreply.github.com> Date: Thu, 1 Feb 2024 12:11:24 -0500 Subject: [PATCH] chore: Add support for central package management (#14) See https://learn.microsoft.com/en-us/nuget/consume-packages/central-package-management#enabling-central-package-management --- Directory.Packages.props | 20 +++++++++++++++++++ .../Itminus.InDirectLine.Core.Tests.csproj | 10 +++++----- .../Itminus.InDirectLine.Core.csproj | 8 ++++---- ...s.InDirectLine.IntegrationBotSample.csproj | 4 ++-- .../Itminus.InDirectLine.WeChat.csproj | 2 +- .../Itminus.InDirectLine.Web.csproj | 4 +--- Itminus.InDirectLine.sln | 1 + 7 files changed, 34 insertions(+), 15 deletions(-) create mode 100644 Directory.Packages.props diff --git a/Directory.Packages.props b/Directory.Packages.props new file mode 100644 index 0000000..0e42662 --- /dev/null +++ b/Directory.Packages.props @@ -0,0 +1,20 @@ + + + true + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Itminus.InDirectLine.Core.Tests/Itminus.InDirectLine.Core.Tests.csproj b/Itminus.InDirectLine.Core.Tests/Itminus.InDirectLine.Core.Tests.csproj index d9cb475..97d16f8 100644 --- a/Itminus.InDirectLine.Core.Tests/Itminus.InDirectLine.Core.Tests.csproj +++ b/Itminus.InDirectLine.Core.Tests/Itminus.InDirectLine.Core.Tests.csproj @@ -5,11 +5,11 @@ - - - - - + + + + + diff --git a/Itminus.InDirectLine.Core/Itminus.InDirectLine.Core.csproj b/Itminus.InDirectLine.Core/Itminus.InDirectLine.Core.csproj index 5737e69..dcaa5cf 100644 --- a/Itminus.InDirectLine.Core/Itminus.InDirectLine.Core.csproj +++ b/Itminus.InDirectLine.Core/Itminus.InDirectLine.Core.csproj @@ -7,9 +7,9 @@ - - - - + + + + diff --git a/Itminus.InDirectLine.Samples/Itminus.InDirectLine.IntegrationBotSample/Itminus.InDirectLine.IntegrationBotSample.csproj b/Itminus.InDirectLine.Samples/Itminus.InDirectLine.IntegrationBotSample/Itminus.InDirectLine.IntegrationBotSample.csproj index c95227d..fe2a096 100644 --- a/Itminus.InDirectLine.Samples/Itminus.InDirectLine.IntegrationBotSample/Itminus.InDirectLine.IntegrationBotSample.csproj +++ b/Itminus.InDirectLine.Samples/Itminus.InDirectLine.IntegrationBotSample/Itminus.InDirectLine.IntegrationBotSample.csproj @@ -5,8 +5,8 @@ - - + + diff --git a/Itminus.InDirectLine.WeChat/Itminus.InDirectLine.WeChat.csproj b/Itminus.InDirectLine.WeChat/Itminus.InDirectLine.WeChat.csproj index 995f6c0..ba90ede 100644 --- a/Itminus.InDirectLine.WeChat/Itminus.InDirectLine.WeChat.csproj +++ b/Itminus.InDirectLine.WeChat/Itminus.InDirectLine.WeChat.csproj @@ -5,7 +5,7 @@ - + diff --git a/Itminus.InDirectLine.Web/Itminus.InDirectLine.Web.csproj b/Itminus.InDirectLine.Web/Itminus.InDirectLine.Web.csproj index 1284177..c2acfe7 100644 --- a/Itminus.InDirectLine.Web/Itminus.InDirectLine.Web.csproj +++ b/Itminus.InDirectLine.Web/Itminus.InDirectLine.Web.csproj @@ -4,14 +4,12 @@ InProcess - - - + diff --git a/Itminus.InDirectLine.sln b/Itminus.InDirectLine.sln index 07def5b..ae0091b 100644 --- a/Itminus.InDirectLine.sln +++ b/Itminus.InDirectLine.sln @@ -16,6 +16,7 @@ EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{22117E27-A732-414B-83F8-B1C8C0A8ABDE}" ProjectSection(SolutionItems) = preProject Directory.Build.props = Directory.Build.props + Directory.Packages.props = Directory.Packages.props EndProjectSection EndProject Global