Skip to content

Commit

Permalink
Search for .NET 5+ runtime requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
AArnott committed Oct 26, 2021
1 parent 3b2827f commit 67f9170
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/Install-DotNetSdk.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Get-ChildItem "$PSScriptRoot\..\src\*.*proj","$PSScriptRoot\..\test\*.*proj","$P
$targetFrameworks = $targetFrameworks -Split ';'
}
}
$targetFrameworks |? { $_ -match 'netcoreapp(\d+\.\d+)' } |% {
$targetFrameworks |? { $_ -match 'net(?:coreapp)?(\d+\.\d+)' } |% {
$runtimeVersions += $Matches[1]
}
}
Expand Down

0 comments on commit 67f9170

Please sign in to comment.