Merge pull request #1464 from akoeplinger/fix-portable-target
authorMartin Baulig <martin.baulig@xamarin.com>
Wed, 18 Feb 2015 07:12:08 +0000 (08:12 +0100)
committerMartin Baulig <martin.baulig@xamarin.com>
Wed, 18 Feb 2015 07:12:08 +0000 (08:12 +0100)
[xbuild] Only execute PCL target "ImplicitlyExpandTargetFramework" when corresponding property is true

mcs/tools/xbuild/targets/Microsoft.Portable.Core.targets

index 0bd565669e58084c61d3e9ab7e94fdeae5653265..5ca44838988162ebe9194dd113829ca3bf25913b 100644 (file)
@@ -12,6 +12,7 @@
        </PropertyGroup>
 
        <Target Name="ImplicitlyExpandTargetFramework"
+               Condition="'$(ImplicitlyExpandTargetFramework)' == 'true'"
                DependsOnTargets="$(ImplicitlyExpandTargetFrameworkDependsOn)">
 
                <ItemGroup>