From d1bf0207d97f3d23a91d4bc803fa542ba3990a9c Mon Sep 17 00:00:00 2001 From: Faizan2304 Date: Thu, 6 Apr 2017 21:44:39 -0700 Subject: [PATCH] Fix Signing related issue (#694) * Sign testhost assembly which has been moved in testhost folder under netfull binaries * Fix verify-sign.ps1 to handle VSIX\obj folder dlls --- scripts/verify-sign.ps1 | 2 +- src/package/sign/sign.proj | 16 ++++++++++++++-- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/scripts/verify-sign.ps1 b/scripts/verify-sign.ps1 index 8848154848..fc995a6deb 100644 --- a/scripts/verify-sign.ps1 +++ b/scripts/verify-sign.ps1 @@ -37,7 +37,7 @@ function Verify-Signature $artifactsDirectory = Join-Path $env:TP_OUT_DIR $TPB_Configuration foreach ($pattern in $TPB_AssembliesPattern) { Write-Log "... Pattern: $pattern" - Get-ChildItem -Recurse -Include $pattern $artifactsDirectory | Where-Object { -not $_.PSIsContainer } | % { + Get-ChildItem -Recurse -Include $pattern $artifactsDirectory | Where-Object { (!$_.PSIsContainer) -and !($($_.FullName).Contains('VSIX\obj')) } | % { $signature = Get-AuthenticodeSignature -FilePath $_.FullName if ($signature.Status -eq "Valid") { diff --git a/src/package/sign/sign.proj b/src/package/sign/sign.proj index fbbd4cbf5e..ba7cecd747 100644 --- a/src/package/sign/sign.proj +++ b/src/package/sign/sign.proj @@ -69,13 +69,25 @@ - - + + + + + + + + + + + + + +