From 78773ae65df6c31c85afd1c9e931bbc5f71f9ab1 Mon Sep 17 00:00:00 2001 From: Benjamin Michaelis Date: Mon, 8 Jan 2024 13:43:35 -0800 Subject: [PATCH] chore: Centralize Package Management (#258) --- Directory.Packages.props | 21 ++++++++++++++++++ IntelliTect.Analyzer.sln | 5 +++-- ...elliTect.Analyzer.Integration.Tests.csproj | 22 +++++++++---------- .../IntelliTect.Analyzer.Tests.csproj | 14 ++++++------ .../IntelliTect.Analyzer.csproj | 8 +++---- NuGet.config | 18 +++++++++++++++ .../GuidelineXmlToMD.Test.csproj | 8 +++---- .../GuidelineXmlToMD/GuidelineXmlToMD.csproj | 6 ++--- 8 files changed, 71 insertions(+), 31 deletions(-) create mode 100644 Directory.Packages.props create mode 100644 NuGet.config diff --git a/Directory.Packages.props b/Directory.Packages.props new file mode 100644 index 00000000..dcbaf374 --- /dev/null +++ b/Directory.Packages.props @@ -0,0 +1,21 @@ + + + true + false + + + + + + + + + + + + + + + + + diff --git a/IntelliTect.Analyzer.sln b/IntelliTect.Analyzer.sln index 369e76fa..e5e46530 100644 --- a/IntelliTect.Analyzer.sln +++ b/IntelliTect.Analyzer.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 16 -VisualStudioVersion = 16.0.29020.237 +# Visual Studio Version 17 +VisualStudioVersion = 17.9.34407.89 MinimumVisualStudioVersion = 10.0.40219.1 Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "IntelliTect.Analyzer", "IntelliTect.Analyzer\IntelliTect.Analyzer\IntelliTect.Analyzer.csproj", "{B21556AE-ABCF-41F9-8585-3C32DE919638}" EndProject @@ -12,6 +12,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution .editorconfig = .editorconfig azure-pipelines.yml = azure-pipelines.yml Directory.Build.props = Directory.Build.props + NuGet.config = NuGet.config README.md = README.md EndProjectSection EndProject diff --git a/IntelliTect.Analyzer/IntelliTect.Analyzer.Integration.Tests/IntelliTect.Analyzer.Integration.Tests.csproj b/IntelliTect.Analyzer/IntelliTect.Analyzer.Integration.Tests/IntelliTect.Analyzer.Integration.Tests.csproj index a1f2561f..4375566f 100644 --- a/IntelliTect.Analyzer/IntelliTect.Analyzer.Integration.Tests/IntelliTect.Analyzer.Integration.Tests.csproj +++ b/IntelliTect.Analyzer/IntelliTect.Analyzer.Integration.Tests/IntelliTect.Analyzer.Integration.Tests.csproj @@ -1,4 +1,4 @@ - + net6.0;net7.0;net8.0 @@ -6,20 +6,20 @@ - - - - + + + + all runtime; build; native; contentfiles; analyzers; buildtransitive - - - - - - + + + + + + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/IntelliTect.Analyzer/IntelliTect.Analyzer.Test/IntelliTect.Analyzer.Tests.csproj b/IntelliTect.Analyzer/IntelliTect.Analyzer.Test/IntelliTect.Analyzer.Tests.csproj index 32c07382..0a3961f6 100644 --- a/IntelliTect.Analyzer/IntelliTect.Analyzer.Test/IntelliTect.Analyzer.Tests.csproj +++ b/IntelliTect.Analyzer/IntelliTect.Analyzer.Test/IntelliTect.Analyzer.Tests.csproj @@ -1,4 +1,4 @@ - + net6.0;net7.0;net8.0 @@ -6,18 +6,18 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive - - + + all runtime; build; native; contentfiles; analyzers; buildtransitive - - - + + + diff --git a/IntelliTect.Analyzer/IntelliTect.Analyzer/IntelliTect.Analyzer.csproj b/IntelliTect.Analyzer/IntelliTect.Analyzer/IntelliTect.Analyzer.csproj index a433ecd5..e430095d 100644 --- a/IntelliTect.Analyzer/IntelliTect.Analyzer/IntelliTect.Analyzer.csproj +++ b/IntelliTect.Analyzer/IntelliTect.Analyzer/IntelliTect.Analyzer.csproj @@ -1,4 +1,4 @@ - + netstandard2.0 @@ -22,9 +22,9 @@ - - - + + + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/NuGet.config b/NuGet.config new file mode 100644 index 00000000..b319a96b --- /dev/null +++ b/NuGet.config @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + diff --git a/Tools/XMLtoMD/GuidelineXmlToMD.Test/GuidelineXmlToMD.Test.csproj b/Tools/XMLtoMD/GuidelineXmlToMD.Test/GuidelineXmlToMD.Test.csproj index ad05226b..6c4a1812 100644 --- a/Tools/XMLtoMD/GuidelineXmlToMD.Test/GuidelineXmlToMD.Test.csproj +++ b/Tools/XMLtoMD/GuidelineXmlToMD.Test/GuidelineXmlToMD.Test.csproj @@ -7,10 +7,10 @@ - - - - + + + + diff --git a/Tools/XMLtoMD/GuidelineXmlToMD/GuidelineXmlToMD.csproj b/Tools/XMLtoMD/GuidelineXmlToMD/GuidelineXmlToMD.csproj index 3b732723..ca778e24 100644 --- a/Tools/XMLtoMD/GuidelineXmlToMD/GuidelineXmlToMD.csproj +++ b/Tools/XMLtoMD/GuidelineXmlToMD/GuidelineXmlToMD.csproj @@ -1,4 +1,4 @@ - + Exe @@ -16,8 +16,8 @@ - - + +