We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66ab516 commit 1cc16b5Copy full SHA for 1cc16b5
nuget/tools/install-AnyCPU.ps1
@@ -104,12 +104,13 @@ foreach ($p in $platforms)
104
{
105
$hasPlatform = HasPlatform $manager $p
106
if(-not $hasPlatform)
107
- {
108
- [void]$manager.AddPlatform($p, "Any CPU", $true)
109
- trap [Exception] {
110
- Write-Host($error[0])
+ {
+ trap [Exception]
111
continue
112
}
+
113
+ [void]$manager.AddPlatform($p, "Any CPU", $true)
114
115
116
0 commit comments