[xbuild]: Define TargetingClr2Framework.
authorMartin Baulig <martin.baulig@xamarin.com>
Tue, 14 May 2013 22:51:23 +0000 (00:51 +0200)
committerMartin Baulig <martin.baulig@xamarin.com>
Tue, 14 May 2013 22:51:23 +0000 (00:51 +0200)
mcs/tools/xbuild/xbuild/4.0/Microsoft.Common.targets

index 21188743f65259cbd773b3ab37f2088f751bc00b..d4e3361a75639f3f1ed9692293781cce6bf3def2 100644 (file)
@@ -80,6 +80,7 @@
                <TargetPath Condition=" '$(TargetPath)' == '' ">@(_OutDirItem->'%(FullPath)\$(TargetFileName)')</TargetPath>
                <MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildProjectFullPath);$(MSBuildToolsPath)\Microsoft.Common.targets</MSBuildAllProjects>
                <KeyOriginatorFile Condition=" '$(SignAssembly)' == 'true' ">$(AssemblyOriginatorKeyFile)</KeyOriginatorFile>
+               <TargetingClr2Framework Condition="('$(TargetFrameworkIdentifier)' == '.NETFramework') and ('$(TargetFrameworkVersion)' == 'v2.0' or '$(TargetFrameworkVersion)' == 'v3.0' or '$(TargetFrameworkVersion)' == 'v3.5')">true</TargetingClr2Framework>
        </PropertyGroup>
 
        <Target Name="_ValidateEssentialProperties">