Home | History | Annotate | Download | only in msbuild
      1 <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
      2   <!-- Force TargetFrameworkVersion to v4.0 to support XP-->
      3   <PropertyGroup>
      4     <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
      5     <BeforeClCompileTargets>NoSupportCodeAnalysisXP;$(BeforeClCompileTargets)</BeforeClCompileTargets>
      6   </PropertyGroup>
      7 
      8   <Import Project="$(VCTargetsPath)\Microsoft.CppCommon.targets" />
      9 
     10   <Target Name="NoSupportCodeAnalysisXP" Condition="'$(ErrorNoSupportCodeAnalysisXP)' != 'false'">
     11     <VCMessage Condition="'$(DesignTimeBuild)' != 'true' and '@(ClCompile->AnyHaveMetadataValue('EnablePREfast', 'true'))'=='true'" Code="MSB8026" Type="Error"/>
     12   </Target>
     13 
     14   <PropertyGroup>
     15     <PrepareForBuildDependsOn>CheckWindowsSDK71A;$(PrepareForBuildDependsOn)</PrepareForBuildDependsOn>
     16   </PropertyGroup>
     17 
     18   <Target Name="CheckWindowsSDK71A">
     19     <VCMessage Code="MSB8003" Type="Warning" Arguments="WindowsSdkDir_71A" Condition="'$(WindowsSdkDir_71A)'=='' and '$(UseEnv)' != 'true'" />
     20   </Target>
     21 </Project>
     22