Skip to content

Commit e9af177

Browse files
committed
Eliminate roslyn prebuilts within SDK
1 parent af107d2 commit e9af177

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
From 70f10ec5176d270ff24c76a04ed00785c0c38662 Mon Sep 17 00:00:00 2001
2+
From: Michael Simons <[email protected]>
3+
Date: Tue, 6 Apr 2021 18:31:54 +0000
4+
Subject: [PATCH] [Patch] Add Versions.props entries for Microsoft.CodeAnalysis
5+
versions
6+
7+
---
8+
eng/Versions.props | 2 ++
9+
src/Layout/redist/redist.csproj | 4 ++--
10+
2 files changed, 4 insertions(+), 2 deletions(-)
11+
12+
diff --git a/eng/Versions.props b/eng/Versions.props
13+
index 4a1e9cf..162988f 100644
14+
--- a/eng/Versions.props
15+
+++ b/eng/Versions.props
16+
@@ -81,7 +81,9 @@
17+
</PropertyGroup>
18+
<PropertyGroup>
19+
<!-- Dependencies from https://github.com/dotnet/roslyn-analyzers -->
20+
+ <MicrosoftCodeAnalysisCSharpCodeStyleVersion>3.8.0-5.20519.18</MicrosoftCodeAnalysisCSharpCodeStyleVersion>
21+
<MicrosoftCodeAnalysisNetAnalyzersVersion>5.0.2</MicrosoftCodeAnalysisNetAnalyzersVersion>
22+
+ <MicrosoftCodeAnalysisVisualBasicCodeStyleVersion>3.8.0-5.20519.18</MicrosoftCodeAnalysisVisualBasicCodeStyleVersion>
23+
</PropertyGroup>
24+
<PropertyGroup>
25+
<!-- Dependencies from https://github.com/Microsoft/msbuild -->
26+
diff --git a/src/Layout/redist/redist.csproj b/src/Layout/redist/redist.csproj
27+
index bb3ebad..ea525eb 100644
28+
--- a/src/Layout/redist/redist.csproj
29+
+++ b/src/Layout/redist/redist.csproj
30+
@@ -31,8 +31,8 @@
31+
<PackageReference Include="NuGet.ProjectModel" Version="$(NuGetProjectModelPackageVersion)" />
32+
<PackageReference Include="Microsoft.Net.Compilers.Toolset" Version="$(MicrosoftNetCompilersToolsetPackageVersion)" ExcludeAssets="All" />
33+
<PackageReference Include="Microsoft.CodeAnalysis.NetAnalyzers" Version="$(MicrosoftCodeAnalysisNetAnalyzersVersion)" ExcludeAssets="All" GeneratePathProperty="true" />
34+
- <PackageReference Include="Microsoft.CodeAnalysis.CSharp.CodeStyle" Version="3.8.0-5.20519.18" ExcludeAssets="All" GeneratePathProperty="true" />
35+
- <PackageReference Include="Microsoft.CodeAnalysis.VisualBasic.CodeStyle" Version="3.8.0-5.20519.18" ExcludeAssets="All" GeneratePathProperty="true" />
36+
+ <PackageReference Include="Microsoft.CodeAnalysis.CSharp.CodeStyle" Version="$(MicrosoftCodeAnalysisCSharpCodeStyleVersion)" ExcludeAssets="All" GeneratePathProperty="true" />
37+
+ <PackageReference Include="Microsoft.CodeAnalysis.VisualBasic.CodeStyle" Version="$(MicrosoftCodeAnalysisVisualBasicCodeStyleVersion)" ExcludeAssets="All" GeneratePathProperty="true" />
38+
39+
<!-- Lift up dependencies of dependencies to prevent build tasks from getting pinned to older versions -->
40+
<PackageReference Include="System.CodeDom" Version="$(SystemCodeDomPackageVersion)" />
41+
--
42+
1.8.3.1
43+

0 commit comments

Comments
 (0)