From 4f565aafd58e640639ca89bf65d6825e2f4bdb17 Mon Sep 17 00:00:00 2001 From: Leilei Zhang Date: Fri, 26 Sep 2025 17:43:32 +0800 Subject: [PATCH] update sign dll --- .pipelines/ESRPSigning_core.json | 3 +++ .pipelines/versionAndSignCheck.ps1 | 6 +----- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.pipelines/ESRPSigning_core.json b/.pipelines/ESRPSigning_core.json index 5656e60703..4a12d57e81 100644 --- a/.pipelines/ESRPSigning_core.json +++ b/.pipelines/ESRPSigning_core.json @@ -299,6 +299,9 @@ "msvcp140_1_app.dll", "msvcp140_2_app.dll", "msvcp140_app.dll", + "Namotion.Reflection.dll", + "NJsonSchema.Annotations.dll", + "NJsonSchema.dll", "vcamp140_app.dll", "vccorlib140_app.dll", "vcomp140_app.dll", diff --git a/.pipelines/versionAndSignCheck.ps1 b/.pipelines/versionAndSignCheck.ps1 index 44295b84ff..1bb271300d 100644 --- a/.pipelines/versionAndSignCheck.ps1 +++ b/.pipelines/versionAndSignCheck.ps1 @@ -53,10 +53,6 @@ $nullVersionExceptions = @( "Microsoft.Windows.Widgets.dll", "AdaptiveCards.ObjectModel.WinUI3.dll", "AdaptiveCards.Rendering.WinUI3.dll") -join '|'; -$signatureExceptions = @( - "Namotion.Reflection.dll", - "NJsonSchema.Annotations.dll", - "NJsonSchema.dll") -join '|'; $totalFailure = 0; Write-Host $DirPath; @@ -90,7 +86,7 @@ $items | ForEach-Object { } else { $auth = Get-AuthenticodeSignature $_.FullName - if ($auth.SignerCertificate -eq $null -and $_.Name -notmatch $signatureExceptions) { + if ($auth.SignerCertificate -eq $null) { Write-Host "Not Signed: " + $_.FullName $totalFailure++; }