From 7065358fda387da8fbdb3a822ff8707c32556faf Mon Sep 17 00:00:00 2001 From: Matt Mitchell Date: Fri, 11 Oct 2024 16:22:57 -0700 Subject: [PATCH] Fix up strong name signing for Unified Build (#15166) --- .../tools/Sign.proj | 5 +- .../tools/Sign.props | 3 +- .../FakeSignTool.cs | 3 + .../src/RealSignTool.cs | 14 ++++ src/Microsoft.DotNet.SignTool/src/SignTool.cs | 68 +++++++++---------- .../src/SignToolTask.cs | 11 --- .../src/ValidationOnlySignTool.cs | 24 +++++++ 7 files changed, 79 insertions(+), 49 deletions(-) diff --git a/src/Microsoft.DotNet.Arcade.Sdk/tools/Sign.proj b/src/Microsoft.DotNet.Arcade.Sdk/tools/Sign.proj index b6ad1f86338..e41d22a7793 100644 --- a/src/Microsoft.DotNet.Arcade.Sdk/tools/Sign.proj +++ b/src/Microsoft.DotNet.Arcade.Sdk/tools/Sign.proj @@ -55,6 +55,9 @@ <_DotNetCoreRequired>false <_DotNetCoreRequired Condition="'$(_DryRun)' != 'true' and '$(OS)' != 'Windows_NT'">true + + + $(NuGetPackageRoot)sn\$(SNVersion)\sn.exe - + +