Skip to content

Commit 1ce8310

Browse files
BornToBeRootclaude
andcommitted
Fix: Dependabot NuGet updates - Windows SDK version as TargetPlatformVersion
Dependabot hasn't created NuGet PRs since February 2025 (dependabot-core#11485 added a target framework compatibility check). It treats every package as incompatible with net10.0-windows10.0.22621 (dependabot-core#13278, #13923), so no update is applied. Use net10.0-windows as TFM and set TargetPlatformIdentifier / TargetPlatformVersion (10.0.22621.0) explicitly. MSBuild evaluates the same platform properties (TargetPlatformMoniker, SupportedOSPlatformVersion, TargetPlatformMinVersion), NuGet resolves the same packages / assets and Windows SDK projection (10.0.22621.57). Only the output folder changes (net10.0-windows instead of net10.0-windows10.0.22621.0) - AppVeyor release path and AGENTS.md updated. Verified with the Dependabot CLI: 4 PRs (IPNetwork2, Microsoft.PowerShell.SDK, Microsoft.Web.WebView2, nulastudio.NetBeauty) instead of none. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 409853c commit 1ce8310

16 files changed

Lines changed: 69 additions & 16 deletions

File tree

‎AGENTS.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ REPOSITORY_ROOT/
6969
- **.NET 10.0** (SDK version pinned in `Source/global.json`, updated by Dependabot)
7070
- **WPF** (Windows Presentation Foundation) for UI
7171
- **Windows Forms** integration for specific controls
72-
- **Target framework**: `net10.0-windows10.0.22621.0`, runtime identifiers `win-x64` and `win-arm64`
72+
- **Target framework**: `net10.0-windows` with `TargetPlatformVersion` `10.0.22621.0` (Windows SDK version, not in the TFM - otherwise Dependabot can't update the NuGet packages), runtime identifiers `win-x64` and `win-arm64`
7373
- **Supported OS**: Windows 10 / Windows Server (22H2 or later) and Windows 11
7474

7575
**UI Framework & Design**:
@@ -381,7 +381,7 @@ dotnet build .\Source\NETworkManager.sln --configuration Release
381381
dotnet clean .\Source\NETworkManager.sln
382382
383383
# Run application
384-
.\Source\NETworkManager\bin\Release\net10.0-windows10.0.22621.0\win-x64\NETworkManager.exe
384+
.\Source\NETworkManager\bin\Release\net10.0-windows\win-x64\NETworkManager.exe
385385
```
386386

387387
### Website Development

‎Source/NETworkManager.Controls/NETworkManager.Controls.csproj‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,11 @@
44
<OutputType>Library</OutputType>
55
<RootNamespace>NETworkManager.Controls</RootNamespace>
66
<AssemblyName>NETworkManager.Controls</AssemblyName>
7-
<TargetFramework>net10.0-windows10.0.22621.0</TargetFramework>
7+
<!-- Windows SDK version as TargetPlatformVersion instead of in the TFM (net10.0-windows10.0.22621.0), otherwise
8+
Dependabot can't update the NuGet packages (https://github.com/dependabot/dependabot-core/issues/13278) -->
9+
<TargetFramework>net10.0-windows</TargetFramework>
10+
<TargetPlatformIdentifier>Windows</TargetPlatformIdentifier>
11+
<TargetPlatformVersion>10.0.22621.0</TargetPlatformVersion>
812
<SelfContained>false</SelfContained>
913
<UseWPF>true</UseWPF>
1014
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>

‎Source/NETworkManager.Converters/NETworkManager.Converters.csproj‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,11 @@
55
<AppDesignerFolder>Properties</AppDesignerFolder>
66
<RootNamespace>NETworkManager.Converters</RootNamespace>
77
<AssemblyName>NETworkManager.Converters</AssemblyName>
8-
<TargetFramework>net10.0-windows10.0.22621.0</TargetFramework>
8+
<!-- Windows SDK version as TargetPlatformVersion instead of in the TFM (net10.0-windows10.0.22621.0), otherwise
9+
Dependabot can't update the NuGet packages (https://github.com/dependabot/dependabot-core/issues/13278) -->
10+
<TargetFramework>net10.0-windows</TargetFramework>
11+
<TargetPlatformIdentifier>Windows</TargetPlatformIdentifier>
12+
<TargetPlatformVersion>10.0.22621.0</TargetPlatformVersion>
913
<SelfContained>false</SelfContained>
1014
<UseWPF>true</UseWPF>
1115
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>

‎Source/NETworkManager.Documentation/NETworkManager.Documentation.csproj‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,11 @@
55
<AppDesignerFolder>Properties</AppDesignerFolder>
66
<RootNamespace>NETworkManager.Documentation</RootNamespace>
77
<AssemblyName>NETworkManager.Documentation</AssemblyName>
8-
<TargetFramework>net10.0-windows10.0.22621.0</TargetFramework>
8+
<!-- Windows SDK version as TargetPlatformVersion instead of in the TFM (net10.0-windows10.0.22621.0), otherwise
9+
Dependabot can't update the NuGet packages (https://github.com/dependabot/dependabot-core/issues/13278) -->
10+
<TargetFramework>net10.0-windows</TargetFramework>
11+
<TargetPlatformIdentifier>Windows</TargetPlatformIdentifier>
12+
<TargetPlatformVersion>10.0.22621.0</TargetPlatformVersion>
913
<SelfContained>false</SelfContained>
1014
<UseWPF>true</UseWPF>
1115
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>

‎Source/NETworkManager.Localization/NETworkManager.Localization.csproj‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,11 @@
44
<OutputType>Library</OutputType>
55
<RootNamespace>NETworkManager.Localization</RootNamespace>
66
<AssemblyName>NETworkManager.Localization</AssemblyName>
7-
<TargetFramework>net10.0-windows10.0.22621.0</TargetFramework>
7+
<!-- Windows SDK version as TargetPlatformVersion instead of in the TFM (net10.0-windows10.0.22621.0), otherwise
8+
Dependabot can't update the NuGet packages (https://github.com/dependabot/dependabot-core/issues/13278) -->
9+
<TargetFramework>net10.0-windows</TargetFramework>
10+
<TargetPlatformIdentifier>Windows</TargetPlatformIdentifier>
11+
<TargetPlatformVersion>10.0.22621.0</TargetPlatformVersion>
812
<SelfContained>false</SelfContained>
913
<UseWPF>true</UseWPF>
1014
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>

‎Source/NETworkManager.Models/NETworkManager.Models.csproj‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,11 @@
44
<OutputType>Library</OutputType>
55
<RootNamespace>NETworkManager.Models</RootNamespace>
66
<AssemblyName>NETworkManager.Models</AssemblyName>
7-
<TargetFramework>net10.0-windows10.0.22621.0</TargetFramework>
7+
<!-- Windows SDK version as TargetPlatformVersion instead of in the TFM (net10.0-windows10.0.22621.0), otherwise
8+
Dependabot can't update the NuGet packages (https://github.com/dependabot/dependabot-core/issues/13278) -->
9+
<TargetFramework>net10.0-windows</TargetFramework>
10+
<TargetPlatformIdentifier>Windows</TargetPlatformIdentifier>
11+
<TargetPlatformVersion>10.0.22621.0</TargetPlatformVersion>
812
<SelfContained>false</SelfContained>
913
<CsWinRTWindowsMetadata>sdk</CsWinRTWindowsMetadata>
1014
<UseWPF>true</UseWPF>

‎Source/NETworkManager.Profiles/NETworkManager.Profiles.csproj‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,11 @@
44
<OutputType>Library</OutputType>
55
<RootNamespace>NETworkManager.Profiles</RootNamespace>
66
<AssemblyName>NETworkManager.Profiles</AssemblyName>
7-
<TargetFramework>net10.0-windows10.0.22621.0</TargetFramework>
7+
<!-- Windows SDK version as TargetPlatformVersion instead of in the TFM (net10.0-windows10.0.22621.0), otherwise
8+
Dependabot can't update the NuGet packages (https://github.com/dependabot/dependabot-core/issues/13278) -->
9+
<TargetFramework>net10.0-windows</TargetFramework>
10+
<TargetPlatformIdentifier>Windows</TargetPlatformIdentifier>
11+
<TargetPlatformVersion>10.0.22621.0</TargetPlatformVersion>
812
<SelfContained>false</SelfContained>
913
<UseWPF>true</UseWPF>
1014
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>

‎Source/NETworkManager.Settings/NETworkManager.Settings.csproj‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,11 @@
44
<OutputType>Library</OutputType>
55
<RootNamespace>NETworkManager.Settings</RootNamespace>
66
<AssemblyName>NETworkManager.Settings</AssemblyName>
7-
<TargetFramework>net10.0-windows10.0.22621.0</TargetFramework>
7+
<!-- Windows SDK version as TargetPlatformVersion instead of in the TFM (net10.0-windows10.0.22621.0), otherwise
8+
Dependabot can't update the NuGet packages (https://github.com/dependabot/dependabot-core/issues/13278) -->
9+
<TargetFramework>net10.0-windows</TargetFramework>
10+
<TargetPlatformIdentifier>Windows</TargetPlatformIdentifier>
11+
<TargetPlatformVersion>10.0.22621.0</TargetPlatformVersion>
812
<SelfContained>false</SelfContained>
913
<UseWPF>true</UseWPF>
1014
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>

‎Source/NETworkManager.Tests/NETworkManager.Tests.csproj‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,11 @@
33
<OutputType>Exe</OutputType>
44
<RootNamespace>NETworkManager.Tests</RootNamespace>
55
<AssemblyName>NETworkManager.Tests</AssemblyName>
6-
<TargetFramework>net10.0-windows10.0.22621.0</TargetFramework>
6+
<!-- Windows SDK version as TargetPlatformVersion instead of in the TFM (net10.0-windows10.0.22621.0), otherwise
7+
Dependabot can't update the NuGet packages (https://github.com/dependabot/dependabot-core/issues/13278) -->
8+
<TargetFramework>net10.0-windows</TargetFramework>
9+
<TargetPlatformIdentifier>Windows</TargetPlatformIdentifier>
10+
<TargetPlatformVersion>10.0.22621.0</TargetPlatformVersion>
711
<IsPackable>false</IsPackable>
812
<IsTestProject>true</IsTestProject>
913
</PropertyGroup>

‎Source/NETworkManager.Update/NETworkManager.Update.csproj‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,11 @@
55
<AppDesignerFolder>Properties</AppDesignerFolder>
66
<RootNamespace>NETworkManager.Update</RootNamespace>
77
<AssemblyName>NETworkManager.Update</AssemblyName>
8-
<TargetFramework>net10.0-windows10.0.22621.0</TargetFramework>
8+
<!-- Windows SDK version as TargetPlatformVersion instead of in the TFM (net10.0-windows10.0.22621.0), otherwise
9+
Dependabot can't update the NuGet packages (https://github.com/dependabot/dependabot-core/issues/13278) -->
10+
<TargetFramework>net10.0-windows</TargetFramework>
11+
<TargetPlatformIdentifier>Windows</TargetPlatformIdentifier>
12+
<TargetPlatformVersion>10.0.22621.0</TargetPlatformVersion>
913
<SelfContained>false</SelfContained>
1014
<UseWPF>true</UseWPF>
1115
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>

0 commit comments

Comments
 (0)