Skip to content

Commit

Permalink
Modified condition for selecting sdk project style
Browse files Browse the repository at this point in the history
  • Loading branch information
dbeuchler committed Nov 25, 2020
1 parent 0daabe5 commit 976a378
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .build/BuildToolkit.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ function Get-CsprojIsNetCore($CsprojItem) {
if ($null -ne $sdkProject) {
# Read Target Framework
$targetFramework = $csprojContent.Project.PropertyGroup.TargetFramework;
if ($targetFramework -Match "netcoreapp") {
if ($targetFramework -Match "netcoreapp" -or $targetFramework -Match "net5.") {
# NETCore
return $true;
}
Expand Down

0 comments on commit 976a378

Please sign in to comment.