summaryrefslogtreecommitdiff
path: root/tests/dir.props
diff options
context:
space:
mode:
authorwtgodbe <wigodbe@microsoft.com>2017-06-08 13:29:22 -0700
committerwtgodbe <wigodbe@microsoft.com>2017-06-08 13:29:22 -0700
commita1fee5f3951deea2e146456f7a429597e9721477 (patch)
treeac6b9758fa858492b073e9a74bd60131d869bf1b /tests/dir.props
parent1a8f3a0b687497a264ea11dd9ad1cceef3d8e133 (diff)
downloadcoreclr-a1fee5f3951deea2e146456f7a429597e9721477.tar.gz
coreclr-a1fee5f3951deea2e146456f7a429597e9721477.tar.bz2
coreclr-a1fee5f3951deea2e146456f7a429597e9721477.zip
Use roslyn common props in test build
Diffstat (limited to 'tests/dir.props')
-rw-r--r--tests/dir.props5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/dir.props b/tests/dir.props
index 154a16bce9..16e34a5914 100644
--- a/tests/dir.props
+++ b/tests/dir.props
@@ -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">
<!--
$(OS) is set to Unix/Windows_NT. This comes from an environment variable on Windows and MSBuild on Unix.
@@ -82,6 +83,10 @@
<!-- Provides properties for dependency versions and configures dependency verification/auto-upgrade. -->
<Import Project="$(ProjectDir)..\dependencies.props" />
+ <!-- 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)')" />
+
<ItemGroup>
<!-- Need to escape double forward slash (%2F) or MSBuild will normalize to one slash on Unix. -->
<DotnetSourceList Include="$(PackagesDir)AzureTransfer\$(__BuildType)\pkg\" Condition="'$(OverwriteCoreClrPackageVersion)' == 'true'" />