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 @@ - - + + + + + + + + + + + + + +