1 <?xml version="1.0" encoding="utf-8"?>
2 <Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
4 <RoslynVersion>2.8.0-beta2-62719-08</RoslynVersion>
5 <RoslynPackageName>Microsoft.Net.Compilers</RoslynPackageName>
6 <RoslynTargetsPath>$(ToolRuntimePath)</RoslynTargetsPath>
10 <RoslynPropsFile Condition="'$(RoslynPropsFile)' == '' and '$(RunningOnCore)' != 'true'">$(BuildToolsTaskDir)roslyn/build/Microsoft.Net.Compilers.props</RoslynPropsFile>
14 On Unix we always use a version of Roslyn we restore from NuGet and we have to work around some known issues.
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>
22 Portable PDBs are now supported in Linux and OSX with .Net Core MSBuild.
24 <DebugType>Portable</DebugType>
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>