Fix unset ZapRelocationType for fixup (#18589)
[platform/upstream/coreclr.git] / Tools / Roslyn.Common.props
1 <?xml version="1.0" encoding="utf-8"?>
2 <Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3   <PropertyGroup>
4     <RoslynVersion>2.8.0-beta2-62719-08</RoslynVersion>
5     <RoslynPackageName>Microsoft.Net.Compilers</RoslynPackageName>
6     <RoslynTargetsPath>$(ToolRuntimePath)</RoslynTargetsPath>
7   </PropertyGroup>
8
9   <PropertyGroup>
10     <RoslynPropsFile Condition="'$(RoslynPropsFile)' == '' and '$(RunningOnCore)' != 'true'">$(BuildToolsTaskDir)roslyn/build/Microsoft.Net.Compilers.props</RoslynPropsFile>
11   </PropertyGroup>
12
13   <!--
14     On Unix we always use a version of Roslyn we restore from NuGet and we have to work around some known issues.
15   -->
16   <PropertyGroup Condition="'$(RoslynPropsFile)' == '' and '$(RunningOnCore)' == 'true'">
17     <RoslynPackageName>Microsoft.NETCore.Compilers</RoslynPackageName>
18     <RoslynPackageDir>$(PackagesDir)/$(RoslynPackageName.ToLower())/$(RoslynVersion)/</RoslynPackageDir>
19     <RoslynPropsFile>$(RoslynPackageDir)build/$(RoslynPackageName).props</RoslynPropsFile>
20
21     <!--
22       Portable PDBs are now supported in Linux and OSX with .Net Core MSBuild.
23     -->
24     <DebugType>Portable</DebugType>
25   </PropertyGroup>
26
27
28   <!-- If we're not using the compiler server, set ToolPath/Exe to direct to
29        the exes in this package -->
30   <PropertyGroup Condition="'$(UseRoslynCompilers)' != 'false' and '$(RoslynIncompatibleMsbuildVersion)' == 'true'">
31     <CscToolPath Condition="'$(RunningOnCore)' == 'true'">$(RoslynPackageDir)tools</CscToolPath>
32     <CscToolPath Condition="'$(RunningOnCore)' != 'true'">$(BuildToolsTaskDir)roslyn/tools</CscToolPath>
33     <CscToolExe>csc.exe</CscToolExe>
34     <VbcToolPath Condition="'$(RunningOnCore)' == 'true'">$(RoslynPackageDir)tools</VbcToolPath>
35     <VbcToolPath Condition="'$(RunningOnCore)' != 'true'">$(BuildToolsTaskDir)roslyn/tools</VbcToolPath>
36     <VbcToolExe>vbc.exe</VbcToolExe>
37   </PropertyGroup>
38
39 </Project>