From 51e29cb320cc9bf5a010ed70e0b32122c08c057a Mon Sep 17 00:00:00 2001 From: Jonathon Marolf Date: Mon, 3 Oct 2022 14:35:14 -0700 Subject: [PATCH] use central package management --- src/Directory.Build.props | 9 +++++++++ src/Directory.Packages.props | 18 ++++++++++++++++++ .../MSBuild.Abstractions.csproj | 16 ++++++++-------- .../MSBuild.Conversion.Facts.csproj | 2 +- .../MSBuild.Conversion.Project.csproj | 8 ++++---- .../MSBuild.Conversion.SDK.csproj | 4 ++-- src/try-convert/try-convert.csproj | 12 ++++++------ tests/end-to-end/Directory.Build.props | 9 +++++++++ tests/end-to-end/Directory.Packages.props | 18 ++++++++++++++++++ tests/unit/Directory.Build.props | 9 +++++++++ tests/unit/Directory.Packages.props | 18 ++++++++++++++++++ .../PackageConversion.Tests.csproj | 2 +- .../ProjectConversion.Tests.csproj | 6 +++--- 13 files changed, 106 insertions(+), 25 deletions(-) create mode 100644 src/Directory.Packages.props create mode 100644 tests/end-to-end/Directory.Packages.props create mode 100644 tests/unit/Directory.Packages.props diff --git a/src/Directory.Build.props b/src/Directory.Build.props index 894909b4e..5488d5517 100644 --- a/src/Directory.Build.props +++ b/src/Directory.Build.props @@ -15,4 +15,13 @@ true + + + + true + true + + true + + diff --git a/src/Directory.Packages.props b/src/Directory.Packages.props new file mode 100644 index 000000000..7d642d677 --- /dev/null +++ b/src/Directory.Packages.props @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/MSBuild.Abstractions/MSBuild.Abstractions.csproj b/src/MSBuild.Abstractions/MSBuild.Abstractions.csproj index 488aae586..f32ab6243 100644 --- a/src/MSBuild.Abstractions/MSBuild.Abstractions.csproj +++ b/src/MSBuild.Abstractions/MSBuild.Abstractions.csproj @@ -5,18 +5,18 @@ - - - - - - + + + + + + - + NU1701 - + NU1701 diff --git a/src/MSBuild.Conversion.Facts/MSBuild.Conversion.Facts.csproj b/src/MSBuild.Conversion.Facts/MSBuild.Conversion.Facts.csproj index b7705538f..bc1ffb65f 100644 --- a/src/MSBuild.Conversion.Facts/MSBuild.Conversion.Facts.csproj +++ b/src/MSBuild.Conversion.Facts/MSBuild.Conversion.Facts.csproj @@ -5,7 +5,7 @@ - + diff --git a/src/MSBuild.Conversion.Project/MSBuild.Conversion.Project.csproj b/src/MSBuild.Conversion.Project/MSBuild.Conversion.Project.csproj index f7b77ac8e..234593a51 100644 --- a/src/MSBuild.Conversion.Project/MSBuild.Conversion.Project.csproj +++ b/src/MSBuild.Conversion.Project/MSBuild.Conversion.Project.csproj @@ -17,10 +17,10 @@ - - - - + + + + diff --git a/src/MSBuild.Conversion.SDK/MSBuild.Conversion.SDK.csproj b/src/MSBuild.Conversion.SDK/MSBuild.Conversion.SDK.csproj index bce0f33a0..3e82be65e 100644 --- a/src/MSBuild.Conversion.SDK/MSBuild.Conversion.SDK.csproj +++ b/src/MSBuild.Conversion.SDK/MSBuild.Conversion.SDK.csproj @@ -5,8 +5,8 @@ - - + + diff --git a/src/try-convert/try-convert.csproj b/src/try-convert/try-convert.csproj index a36550618..d715e808d 100644 --- a/src/try-convert/try-convert.csproj +++ b/src/try-convert/try-convert.csproj @@ -20,12 +20,12 @@ - - - - - - + + + + + + diff --git a/tests/end-to-end/Directory.Build.props b/tests/end-to-end/Directory.Build.props index c1103e7a6..b0837519c 100644 --- a/tests/end-to-end/Directory.Build.props +++ b/tests/end-to-end/Directory.Build.props @@ -14,4 +14,13 @@ true + + + + true + true + + true + + diff --git a/tests/end-to-end/Directory.Packages.props b/tests/end-to-end/Directory.Packages.props new file mode 100644 index 000000000..7d642d677 --- /dev/null +++ b/tests/end-to-end/Directory.Packages.props @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/tests/unit/Directory.Build.props b/tests/unit/Directory.Build.props index c1103e7a6..b0837519c 100644 --- a/tests/unit/Directory.Build.props +++ b/tests/unit/Directory.Build.props @@ -14,4 +14,13 @@ true + + + + true + true + + true + + diff --git a/tests/unit/Directory.Packages.props b/tests/unit/Directory.Packages.props new file mode 100644 index 000000000..7d642d677 --- /dev/null +++ b/tests/unit/Directory.Packages.props @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/tests/unit/PackageConversion.Tests/PackageConversion.Tests.csproj b/tests/unit/PackageConversion.Tests/PackageConversion.Tests.csproj index 41ea8ee66..2f6cddd66 100644 --- a/tests/unit/PackageConversion.Tests/PackageConversion.Tests.csproj +++ b/tests/unit/PackageConversion.Tests/PackageConversion.Tests.csproj @@ -6,7 +6,7 @@ - + diff --git a/tests/unit/ProjectConversion.Tests/ProjectConversion.Tests.csproj b/tests/unit/ProjectConversion.Tests/ProjectConversion.Tests.csproj index 5cb530539..f1ccaef8d 100644 --- a/tests/unit/ProjectConversion.Tests/ProjectConversion.Tests.csproj +++ b/tests/unit/ProjectConversion.Tests/ProjectConversion.Tests.csproj @@ -6,9 +6,9 @@ - - - + + +