Skip to content

Commit

Permalink
Ensure we conly import the portable targets once.
Browse files Browse the repository at this point in the history
Fixes #105
  • Loading branch information
Oren Novotny committed Sep 1, 2018
1 parent 1820b4a commit 59264b7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Source/MSBuild.Sdk.Extras/Build/Inference.targets
Expand Up @@ -99,8 +99,7 @@

<!-- Support for resolving portable framework profiles -->
<ImportGroup Condition="'$(TargetFrameworkIdentifier)' == '.NETPortable'">
<Import Condition="'$(TargetFrameworkVersion)' == ''" Project="$(MSBuildThisFileDirectory)FrameworkResolvers\NETPortable.v*.targets"/>
<Import Condition="'$(TargetFrameworkVersion)' != ''" Project="$(MSBuildThisFileDirectory)FrameworkResolvers\NETPortable.$(TargetFrameworkVersion).targets"/>
<Import Project="$(MSBuildThisFileDirectory)FrameworkResolvers\NETPortable.v*.targets"/>
</ImportGroup>

<PropertyGroup>
Expand Down

0 comments on commit 59264b7

Please sign in to comment.