[xbuild] Only execute PCL target "ImplicitlyExpandTargetFramework" when corresponding...
authorAlexander Köplinger <alex.koeplinger@outlook.com>
Thu, 18 Dec 2014 04:59:46 +0000 (05:59 +0100)
committerAlexander Köplinger <alex.koeplinger@outlook.com>
Thu, 18 Dec 2014 04:59:46 +0000 (05:59 +0100)
This aligns xbuild with the MS.NET behavior.

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>