From 1216970e35da78764bf94ef8db3455643d1cd16e Mon Sep 17 00:00:00 2001 From: Matt Edmondson Date: Wed, 5 Aug 2026 19:31:34 +1000 Subject: [PATCH] [patch] Fix restore failures from duplicate and vulnerable package versions Remove the Microsoft.Testing.Extensions.* PackageVersion entries. MSTest.Sdk injects its own PackageVersion for every extension it references under central package management, so the repo-side pins collided with the SDK-owned versions and failed restore with NU1506. KTSU0005 explicitly skips this package prefix, so nothing else depended on them. Pin System.Security.Cryptography.Xml forward to 10.0.10. It arrives transitively via Microsoft.PowerShell.SDK / System.Management.Automation at 10.0.6, which carries five high-severity advisories and failed restore with NU1903. --- CrossRepoActions/CrossRepoActions.csproj | 1 + Directory.Packages.props | 13 ++++++------- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/CrossRepoActions/CrossRepoActions.csproj b/CrossRepoActions/CrossRepoActions.csproj index 1d42169..6a7211a 100644 --- a/CrossRepoActions/CrossRepoActions.csproj +++ b/CrossRepoActions/CrossRepoActions.csproj @@ -30,6 +30,7 @@ + diff --git a/Directory.Packages.props b/Directory.Packages.props index 671736e..cddebe2 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -19,15 +19,14 @@ - - - - - - - + + + \ No newline at end of file