Skip to content

Commit 7200c09

Browse files
- script for removing sign code
1 parent 0792e08 commit 7200c09

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

Scripts/RemoveSignCode.ps1

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
function Remove-SignCode {
2+
param (
3+
$ASMFile
4+
)
5+
Set-Content -Path $ASMFile -Value (Get-Content -Path $ASMFile | Select-String -Pattern AssemblyKeyFileAttribute -NotMatch )
6+
}
7+
8+
$files = @(Get-ChildItem -Path . -Directory -Filter Stackify*)
9+
10+
foreach ($file in $files) {
11+
$asmInfo = Get-ChildItem -Path $file/Properties/AssemblyInfo.cs
12+
Remove-SignCode -ASMFile $asmInfo
13+
}

0 commit comments

Comments
 (0)