Fix Internal builds where ToolsDir doesn't exist
authorJose Perez Rodriguez <joperezr@microsoft.com>
Wed, 6 Apr 2016 21:01:41 +0000 (14:01 -0700)
committerJose Perez Rodriguez <joperezr@microsoft.com>
Wed, 6 Apr 2016 21:01:41 +0000 (14:01 -0700)
Commit migrated from https://github.com/dotnet/coreclr/commit/3afdd0498db2d9bbfbf28081eaeb7da922a35746

src/coreclr/src/mscorlib/mscorlib.csproj

index 271487b..b2e0dbb 100644 (file)
 
   <Import Project="$(MSBuildThisFileDirectory)Tools\Versioning\GenerateVersionInfo.targets"/>
   <!-- Override versioning targets -->
-  <Import Project="$(ToolsDir)versioning.targets" />
+  <Import Condition="Exists('$(ToolsDir)versioning.targets')" Project="$(ToolsDir)versioning.targets" />
   <Import Project="GenerateSplitStringResources.targets"/>
   <Import Project="GenerateCompilerResponseFile.targets"/>
   <Import Project="$(PostProcessingToolsPath)" />