Skip to content

Commit

Permalink
Merge pull request #123 from AArnott/runtimeSearch
Browse files Browse the repository at this point in the history
Search for .NET 5+ runtime requirements
  • Loading branch information
AArnott committed Oct 26, 2021
2 parents d3cb4c5 + 346548a commit a4b1b33
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 @@ -47,7 +47,7 @@ Get-ChildItem "$PSScriptRoot\..\src\*.*proj","$PSScriptRoot\..\test\*.*proj","$P
}
}
}
$targetFrameworks |? { $_ -match 'netcoreapp(\d+\.\d+)' } |% {
$targetFrameworks |? { $_ -match 'net(?:coreapp)?(\d+\.\d+)' } |% {
$v = $Matches[1]
$runtimeVersions += $v
if ($v -ge '3.0' -and -not ($IsMacOS -or $IsLinux)) {
Expand Down

0 comments on commit a4b1b33

Please sign in to comment.