Modify the skip strong name script

This commit is contained in:
Sam Xu 2020-01-24 12:53:26 -08:00
parent 0ebaca1574
commit e3ec0bafac
1 changed files with 2 additions and 5 deletions

View File

@ -131,20 +131,17 @@ Function GetDlls
Function SkipStrongName
{
$SnLog = $LOGDIR + "\SkipStrongName.log"
Out-File $SnLog
Write-Host 'Skip strong name validations for Microsoft.OpenApi.OData assemblies...'
$dlls = GetDlls
ForEach ($dll in $dlls)
{
& $SN /Vr $dll | Out-File $SnLog -Append
& $SN /Vr $dll
}
ForEach ($dll in $dlls)
{
& $SNx64 /Vr $dll | Out-File $SnLog -Append
& $SNx64 /Vr $dll
}
Write-Host "SkipStrongName Done" -ForegroundColor $Success