From 9fd62c23c02dbbd4857200fe16e576a38e662777 Mon Sep 17 00:00:00 2001 From: Logan Rupe Date: Mon, 2 Nov 2026 08:25:45 +1100 Subject: [PATCH] chore(win/deps): central package management, bump Logging and test deps Dependabot bumps Microsoft.Extensions.Logging in one project at a time and the build fails with NU1605 (#3, #13). The logging group in dependabot.yml didn't stop it. Versions now live in CursorFollowWin/Directory.Packages.props, so a bump is one edit that every project picks up. Takes #13's bumps: Microsoft.Extensions.Logging 10.0.12 -> 10.0.13, Microsoft.NET.Test.Sdk 18.10.1 -> 18.11.0, xunit.runner.visualstudio 4.0.0 -> 4.0.1. Supersedes #13. --- .github/dependabot.yml | 8 +++----- .../Capture/CursorFollowWin.Capture.csproj | 8 ++++---- CursorFollowWin/CursorFollowWin.csproj | 8 ++++---- CursorFollowWin/Directory.Packages.props | 19 +++++++++++++++++++ .../Output/CursorFollowWin.Output.csproj | 6 +++--- .../Shared/CursorFollowWin.Shared.csproj | 2 +- .../CursorFollowWin.Tests.csproj | 6 +++--- 7 files changed, 37 insertions(+), 20 deletions(-) create mode 100644 CursorFollowWin/Directory.Packages.props diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 2d11315..085501a 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -7,14 +7,12 @@ updates: groups: actions: { patterns: ["*"] } - package-ecosystem: nuget - directories: [/CursorFollowWin, /CursorFollowWin/Capture, /CursorFollowWin/Output, /CursorFollowWin/Shared, /CursorFollowWin/tests/CursorFollowWin.Tests] + # Versions live in CursorFollowWin/Directory.Packages.props (central package management), + # so one bump covers every project. + directory: /CursorFollowWin schedule: { interval: monthly } cooldown: { default-days: 14 } groups: - # Every project references Microsoft.Extensions.Logging; bumping it in some projects - # and not others fails the build with NU1605 (package downgrade). - logging: - patterns: ["Microsoft.Extensions.*"] nuget: patterns: ["*"] update-types: [minor, patch] diff --git a/CursorFollowWin/Capture/CursorFollowWin.Capture.csproj b/CursorFollowWin/Capture/CursorFollowWin.Capture.csproj index 24d530d..6fe0882 100644 --- a/CursorFollowWin/Capture/CursorFollowWin.Capture.csproj +++ b/CursorFollowWin/Capture/CursorFollowWin.Capture.csproj @@ -25,10 +25,10 @@ - - - - + + + + diff --git a/CursorFollowWin/CursorFollowWin.csproj b/CursorFollowWin/CursorFollowWin.csproj index 41847d3..a7e70bc 100644 --- a/CursorFollowWin/CursorFollowWin.csproj +++ b/CursorFollowWin/CursorFollowWin.csproj @@ -89,10 +89,10 @@ - - - - + + + + + + true + + + + + + + + + + + + + + + diff --git a/CursorFollowWin/Output/CursorFollowWin.Output.csproj b/CursorFollowWin/Output/CursorFollowWin.Output.csproj index 7765fed..d1b6575 100644 --- a/CursorFollowWin/Output/CursorFollowWin.Output.csproj +++ b/CursorFollowWin/Output/CursorFollowWin.Output.csproj @@ -25,9 +25,9 @@ - - - + + + diff --git a/CursorFollowWin/Shared/CursorFollowWin.Shared.csproj b/CursorFollowWin/Shared/CursorFollowWin.Shared.csproj index 7ddb8a6..8aea80e 100644 --- a/CursorFollowWin/Shared/CursorFollowWin.Shared.csproj +++ b/CursorFollowWin/Shared/CursorFollowWin.Shared.csproj @@ -7,6 +7,6 @@ - + diff --git a/CursorFollowWin/tests/CursorFollowWin.Tests/CursorFollowWin.Tests.csproj b/CursorFollowWin/tests/CursorFollowWin.Tests/CursorFollowWin.Tests.csproj index 9bf2bcf..f810338 100644 --- a/CursorFollowWin/tests/CursorFollowWin.Tests/CursorFollowWin.Tests.csproj +++ b/CursorFollowWin/tests/CursorFollowWin.Tests/CursorFollowWin.Tests.csproj @@ -9,9 +9,9 @@ - - - + + +