diff options
author | Matt Galbraith <MattGal@users.noreply.github.com> | 2016-08-19 19:16:04 +0300 |
---|---|---|
committer | Davis Goodin <dagood@microsoft.com> | 2016-08-24 19:52:57 +0300 |
commit | 541d7ede56e81c61bb8dab8a423e2cac0602c5b6 (patch) | |
tree | 8337e9b5c2304cf0a72c1cce26e12d89499dfd64 /dir.props | |
parent | 6f62cf02ff895b744dc41ad1f86bf89015bcf99b (diff) |
Merge pull request #10928 from chcosta/compiler
Consume Roslyn Compiler 2.0.0-beta3
(cherry picked from commit 8512621ffdce12de438d6bbbb24e43e1fcaf3f3a)
Diffstat (limited to 'dir.props')
-rw-r--r-- | dir.props | 55 |
1 files changed, 4 insertions, 51 deletions
@@ -25,12 +25,6 @@ <InputOSGroup Condition="'$(InputOSGroup)'==''">$(OSEnvironment)</InputOSGroup> </PropertyGroup> - <!-- Build Tools Versions --> - <PropertyGroup> - <RoslynVersion>1.0.0-rc3-20150510-01</RoslynVersion> - <RoslynPackageName>Microsoft.Net.ToolsetCompilers</RoslynPackageName> - </PropertyGroup> - <!-- Informs build tools to apply .NET Framework metadata if not a test project --> <PropertyGroup> <IsDotNetFrameworkProductAssembly>true</IsDotNetFrameworkProductAssembly> @@ -55,14 +49,9 @@ <!-- Input Directories --> <PackagesDir Condition="'$(PackagesDir)'==''">$(ProjectDir)packages/</PackagesDir> - <ToolRuntimePath Condition="'$(ToolRuntimePath)'==''">$(ProjectDir)Tools/</ToolRuntimePath> <ToolsDir Condition="'$(UseToolRuntimeForToolsDir)'=='true'">$(ToolRuntimePath)</ToolsDir> <ToolsDir Condition="'$(ToolsDir)'==''">$(ProjectDir)Tools/</ToolsDir> - <DotnetCliPath Condition="'$(DotnetCliPath)'==''">$(ToolRuntimePath)dotnetcli/</DotnetCliPath> - <OverrideToolHost>$(DotnetCliPath)dotnet</OverrideToolHost> - <BuildToolsTaskDir Condition="'$(BuildToolsTargets45)' == 'true'">$(ToolsDir)net45/</BuildToolsTaskDir> - <BuildToolsTaskDir Condition="'$(BuildToolsTaskDir)'==''">$(ToolsDir)</BuildToolsTaskDir> - <UseRoslynCompilers Condition="'$(UseRoslynCompilers)'=='' and '$(OSEnvironment)'!='Windows_NT'">false</UseRoslynCompilers> + <ToolRuntimePath Condition="'$(ToolRuntimePath)'==''">$(ToolsDir)</ToolRuntimePath> </PropertyGroup> <Import Project="$(ToolRuntimePath)BuildVersion.targets" Condition="Exists('$(ToolRuntimePath)BuildVersion.targets')" /> @@ -71,12 +60,6 @@ <GenFacadesArgs>-ignoreBuildAndRevisionMismatch</GenFacadesArgs> </PropertyGroup> - <!-- Use Roslyn Compilers to build --> - <PropertyGroup Condition="'$(UseRoslynCompilers)'!='false'"> - <UseSharedCompilation>true</UseSharedCompilation> - </PropertyGroup> - <Import Project="$(ToolRuntimePath)/net45/roslyn/build/Microsoft.Net.Compilers.props" Condition="'$(UseRoslynCompilers)'!='false' AND Exists('$(ToolRuntimePath)/net45/roslyn/build/Microsoft.Net.Compilers.props')" /> - <!-- Import Build tools common props file where repo-independent properties are found --> <Import Project="$(ToolsDir)Build.Common.props" Condition="Exists('$(ToolsDir)Build.Common.props')" /> @@ -158,37 +141,6 @@ <RestorePackages>false</RestorePackages> </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="'$(OsEnvironment)'=='Unix'"> - <RoslynPackageDir>$(PackagesDir)/$(RoslynPackageName).$(RoslynVersion)/</RoslynPackageDir> - <RoslynPropsFile>$(RoslynPackageDir)build/Microsoft.Net.ToolsetCompilers.props</RoslynPropsFile> - - <!-- - Portable PDBs are now supported in Linux and OSX with .Net Core MSBuild. - --> - <DebugType>Portable</DebugType> - - <!-- - Delay signing with the ECMA key currently doesn't work. - https://github.com/dotnet/roslyn/issues/2444 - --> - <UseECMAKey>false</UseECMAKey> - - <!-- - Full signing with Open key doesn't work with Portable Csc. - https://github.com/dotnet/roslyn/issues/8210 - --> - <UseOpenKey>false</UseOpenKey> - - <!-- - Mono currently doesn't include VB targets for portable, notably /lib/mono/xbuild/Microsoft/Portable/v4.5/Microsoft.Portable.VisualBasic.targets. - Fixed in https://github.com/mono/mono/pull/1726. - --> - <IncludeVbProjects>false</IncludeVbProjects> - </PropertyGroup> - <PropertyGroup> <!-- By default make all libraries to be AnyCPU but individual projects can override it if they need to --> <Platform>AnyCPU</Platform> @@ -592,6 +544,7 @@ <SkipTests Condition="'$(SkipTests)'=='' and ('$(OsEnvironment)'=='Windows_NT' and '$(TargetsWindows)'!='true' and '$(OSGroup)'!='AnyOS')">true</SkipTests> </PropertyGroup> - <Import Project="$(RoslynPropsFile)" Condition="'$(OsEnvironment)'=='Unix' and Exists('$(RoslynPropsFile)')" /> - + <!-- Use Roslyn Compilers to build --> + <Import Project="$(RoslynPropsFile)" Condition="'$(OSEnvironment)'!='Unix' and Exists('$(RoslynPropsFile)') and '$(UseRoslynCompilers)'!='false'" /> + <Import Project="$(RoslynPropsFile)" Condition="'$(OSEnvironment)'=='Unix' and Exists('$(RoslynPropsFile)')" /> </Project> |