Use roslyn common props (dotnet/coreclr#10430)
authorchcosta <chcosta@microsoft.com>
Thu, 23 Mar 2017 18:56:52 +0000 (11:56 -0700)
committerGitHub <noreply@github.com>
Thu, 23 Mar 2017 18:56:52 +0000 (11:56 -0700)
Commit migrated from https://github.com/dotnet/coreclr/commit/1976320a1a56afb23f3049fb91d93a85cb4fb1d4

src/coreclr/dir.props

index 1d641ec..5232ffd 100644 (file)
@@ -1,3 +1,4 @@
+<?xml version="1.0" encoding="utf-8"?>
 <Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
 
   <!--
     <PackageIndex Include="$(PackageIndexFile)" />
   </ItemGroup>
 
+  <!-- Use Roslyn Compilers to build -->
+  <Import Project="$(RoslynPropsFile)" Condition="'$(RunningOnUnix)'!='true' and Exists('$(RoslynPropsFile)') and '$(UseRoslynCompilers)'!='false'" />
+  <Import Project="$(RoslynPropsFile)" Condition="'$(RunningOnUnix)'=='true' and Exists('$(RoslynPropsFile)')" />
 </Project>