diff options
Diffstat (limited to 'packages/microsoft.dotnet.buildtools/2.1.0-rc1-03006-01/lib/Roslyn.Common.props')
-rwxr-xr-x | packages/microsoft.dotnet.buildtools/2.1.0-rc1-03006-01/lib/Roslyn.Common.props | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/packages/microsoft.dotnet.buildtools/2.1.0-rc1-03006-01/lib/Roslyn.Common.props b/packages/microsoft.dotnet.buildtools/2.1.0-rc1-03006-01/lib/Roslyn.Common.props new file mode 100755 index 0000000000..b0222ce004 --- /dev/null +++ b/packages/microsoft.dotnet.buildtools/2.1.0-rc1-03006-01/lib/Roslyn.Common.props @@ -0,0 +1,39 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <PropertyGroup> + <RoslynVersion>2.8.0-beta2-62719-08</RoslynVersion> + <RoslynPackageName>Microsoft.Net.Compilers</RoslynPackageName> + <RoslynTargetsPath>$(ToolRuntimePath)</RoslynTargetsPath> + </PropertyGroup> + + <PropertyGroup> + <RoslynPropsFile Condition="'$(RoslynPropsFile)' == '' and '$(RunningOnCore)' != 'true'">$(BuildToolsTaskDir)roslyn/build/Microsoft.Net.Compilers.props</RoslynPropsFile> + </PropertyGroup> + + <!-- + On Unix we always use a version of Roslyn we restore from NuGet and we have to work around some known issues. + --> + <PropertyGroup Condition="'$(RoslynPropsFile)' == '' and '$(RunningOnCore)' == 'true'"> + <RoslynPackageName>Microsoft.NETCore.Compilers</RoslynPackageName> + <RoslynPackageDir>$(PackagesDir)/$(RoslynPackageName.ToLower())/$(RoslynVersion)/</RoslynPackageDir> + <RoslynPropsFile>$(RoslynPackageDir)build/$(RoslynPackageName).props</RoslynPropsFile> + + <!-- + Portable PDBs are now supported in Linux and OSX with .Net Core MSBuild. + --> + <DebugType>Portable</DebugType> + </PropertyGroup> + + + <!-- If we're not using the compiler server, set ToolPath/Exe to direct to + the exes in this package --> + <PropertyGroup Condition="'$(UseRoslynCompilers)' != 'false' and '$(RoslynIncompatibleMsbuildVersion)' == 'true'"> + <CscToolPath Condition="'$(RunningOnCore)' == 'true'">$(RoslynPackageDir)tools</CscToolPath> + <CscToolPath Condition="'$(RunningOnCore)' != 'true'">$(BuildToolsTaskDir)roslyn/tools</CscToolPath> + <CscToolExe>csc.exe</CscToolExe> + <VbcToolPath Condition="'$(RunningOnCore)' == 'true'">$(RoslynPackageDir)tools</VbcToolPath> + <VbcToolPath Condition="'$(RunningOnCore)' != 'true'">$(BuildToolsTaskDir)roslyn/tools</VbcToolPath> + <VbcToolExe>vbc.exe</VbcToolExe> + </PropertyGroup> + +</Project>
\ No newline at end of file |