Skip to content

Commit

Permalink
Account for TFI default of _
Browse files Browse the repository at this point in the history
  • Loading branch information
Oren Novotny authored May 22, 2019
1 parent f0e995a commit 792a30d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/MSBuild.Sdk.Extras/Build/Inference.targets
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
</Choose>

<!-- Map short name to long name. See earlier comment for example of how to work with identifiers that are not recognized here -->
<PropertyGroup Condition="'$(TargetFrameworkIdentifier)' == '' AND '$(_SdkShortFrameworkIdentifier)' != ''">
<PropertyGroup Condition=" ('$(TargetFrameworkIdentifier)' == '' OR '$(TargetFrameworkIdentifier)' == '_') AND '$(_SdkShortFrameworkIdentifier)' != ''">
<TargetFrameworkIdentifier Condition="'$(_SdkShortFrameworkIdentifier)' == 'net'">.NETFramework</TargetFrameworkIdentifier>
<TargetFrameworkIdentifier Condition="'$(_SdkShortFrameworkIdentifier)' == 'netstandard'">.NETStandard</TargetFrameworkIdentifier>
<TargetFrameworkIdentifier Condition="'$(_SdkShortFrameworkIdentifier)' == 'netcoreapp'">.NETCoreApp</TargetFrameworkIdentifier>
Expand Down Expand Up @@ -125,4 +125,4 @@
<IntermediateOutputPath Condition="!HasTrailingSlash('$(IntermediateOutputPath)')">$(IntermediateOutputPath)\</IntermediateOutputPath>
</PropertyGroup>

</Project>
</Project>

0 comments on commit 792a30d

Please sign in to comment.