This repository has been archived by the owner on Jan 11, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 241
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use 2.0.0-beta3 roslyn compilers (#947)
* Use 2.0.0-beta3 roslyn compilers * Move buildtools properties common to many repos out out of corefx
- Loading branch information
Showing
4 changed files
with
61 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
43 changes: 43 additions & 0 deletions
43
src/Microsoft.DotNet.Build.Tasks/PackageFiles/Roslyn.Common.props
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<PropertyGroup> | ||
<RoslynVersion>2.0.0-beta3</RoslynVersion> | ||
<RoslynPackageName>Microsoft.Net.Compilers</RoslynPackageName> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup> | ||
<RoslynPropsFile Condition="'$(RoslynPropsFile)' == '' and '$(OsEnvironment)' != 'Unix'">$(ToolRuntimePath)/net45/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 '$(OsEnvironment)'=='Unix'"> | ||
<RoslynPackageDir>$(PackagesDir)/$(RoslynPackageName).$(RoslynVersion)/</RoslynPackageDir> | ||
<RoslynPropsFile>$(RoslynPackageDir)build/$(RoslynPackageName).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> | ||
|
||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters