From d995fc1e2dca771772d18f99fab2ee859bb0dcc0 Mon Sep 17 00:00:00 2001 From: dotTrench Date: Tue, 6 Jan 2026 22:10:53 +0100 Subject: [PATCH] Pin MSBuild dependencies --- .github/dependabot.yml | 6 ++++ Directory.Packages.props | 34 +++++++++++++++++++ src/ProjectDiff.Core/ProjectDiff.Core.csproj | 18 +++++----- src/dotnet-proj-diff/dotnet-proj-diff.csproj | 20 +++++------ .../ProjectDiff.Tests.csproj | 22 ++++++------ 5 files changed, 70 insertions(+), 30 deletions(-) create mode 100644 Directory.Packages.props diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 8ca517d..7a94512 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -9,3 +9,9 @@ updates: directory: "/" # Location of package manifests schedule: interval: "weekly" + ignore: + # Pin MSBuild dependencies for .NET 8/9/10 compatibility + - dependency-name: "Microsoft.Build" + - dependency-name: "Microsoft.Build.Framework" + - dependency-name: "Microsoft.Build.Utilities.Core" + - dependency-name: "Microsoft.NET.StringTools" \ No newline at end of file diff --git a/Directory.Packages.props b/Directory.Packages.props new file mode 100644 index 0000000..1c6406d --- /dev/null +++ b/Directory.Packages.props @@ -0,0 +1,34 @@ + + + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/ProjectDiff.Core/ProjectDiff.Core.csproj b/src/ProjectDiff.Core/ProjectDiff.Core.csproj index 6a9070e..1e28174 100644 --- a/src/ProjectDiff.Core/ProjectDiff.Core.csproj +++ b/src/ProjectDiff.Core/ProjectDiff.Core.csproj @@ -11,19 +11,19 @@ - - - + + + - - - + + + all runtime; build; native; contentfiles; analyzers; buildtransitive - - - + + + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/src/dotnet-proj-diff/dotnet-proj-diff.csproj b/src/dotnet-proj-diff/dotnet-proj-diff.csproj index d9d8cdf..a5b41c4 100644 --- a/src/dotnet-proj-diff/dotnet-proj-diff.csproj +++ b/src/dotnet-proj-diff/dotnet-proj-diff.csproj @@ -13,23 +13,23 @@ - - - - + + + + - - - - + + + + all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive - + diff --git a/test/ProjectDiff.Tests/ProjectDiff.Tests.csproj b/test/ProjectDiff.Tests/ProjectDiff.Tests.csproj index b0c4945..8e6a888 100644 --- a/test/ProjectDiff.Tests/ProjectDiff.Tests.csproj +++ b/test/ProjectDiff.Tests/ProjectDiff.Tests.csproj @@ -9,21 +9,21 @@ - - - - + + + + - - - - - - + + + + + + all runtime; build; native; contentfiles; analyzers; buildtransitive - +