Modify the skip strong name script
This commit is contained in:
parent
0ebaca1574
commit
e3ec0bafac
|
@ -131,20 +131,17 @@ Function GetDlls
|
||||||
|
|
||||||
Function SkipStrongName
|
Function SkipStrongName
|
||||||
{
|
{
|
||||||
$SnLog = $LOGDIR + "\SkipStrongName.log"
|
|
||||||
Out-File $SnLog
|
|
||||||
|
|
||||||
Write-Host 'Skip strong name validations for Microsoft.OpenApi.OData assemblies...'
|
Write-Host 'Skip strong name validations for Microsoft.OpenApi.OData assemblies...'
|
||||||
|
|
||||||
$dlls = GetDlls
|
$dlls = GetDlls
|
||||||
ForEach ($dll in $dlls)
|
ForEach ($dll in $dlls)
|
||||||
{
|
{
|
||||||
& $SN /Vr $dll | Out-File $SnLog -Append
|
& $SN /Vr $dll
|
||||||
}
|
}
|
||||||
|
|
||||||
ForEach ($dll in $dlls)
|
ForEach ($dll in $dlls)
|
||||||
{
|
{
|
||||||
& $SNx64 /Vr $dll | Out-File $SnLog -Append
|
& $SNx64 /Vr $dll
|
||||||
}
|
}
|
||||||
|
|
||||||
Write-Host "SkipStrongName Done" -ForegroundColor $Success
|
Write-Host "SkipStrongName Done" -ForegroundColor $Success
|
||||||
|
|
Loading…
Reference in a new issue