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
-
+