Skip to content

Commit 5ef4314

Browse files
author
Mateo Torres Ruiz
committed
PR Feedback
1 parent 283bf5b commit 5ef4314

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

eng/Version.Details.xml

+4
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,10 @@
110110
<Uri>https://github.com/mono/linker</Uri>
111111
<Sha>696987329669e0bf28684b6c63692cdf0b1acb84</Sha>
112112
</Dependency>
113+
<Dependency Name="Microsoft.NET.ILLink.Analyzers">
114+
<Url>https://github.com/mono/linker</Url>
115+
<Sha>fc8abeff62398d46ac3408d20f50879e6f2e713f</Sha>
116+
</Dependency>
113117
<Dependency Name="System.CodeDom" Version="6.0.0-alpha.1.21057.2">
114118
<Uri>https://github.com/dotnet/runtime</Uri>
115119
<Sha>81b9558199454adc6cc2a0e34cc64ebeb8f754c6</Sha>

src/Tasks/Microsoft.NET.Build.Tasks/targets/Microsoft.NET.Sdk.Analyzers.targets

+6-8
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,11 @@ Copyright (c) .NET Foundation. All rights reserved.
8282
<Analyzer
8383
Include="$(MSBuildThisFileDirectory)..\analyzers\Microsoft.CodeAnalysis.NetAnalyzers.dll"
8484
IsImplicitlyDefined="true" />
85+
<!-- ILLinker Analyzers -->
86+
<Analyzer
87+
Condition="'$(PublishSingleFile)' == 'true' Or '$(PublishTrimmed)' == 'true'"
88+
Include="$(MSBuildThisFileDirectory)..\analyzers\ILLink.RoslynAnalyzer.dll"
89+
IsImplicitlyDefined="true" />
8590
</ItemGroup>
8691

8792
<!-- C# Code Style Analyzers -->
@@ -116,11 +121,4 @@ Copyright (c) .NET Foundation. All rights reserved.
116121
IsImplicitlyDefined="true" />
117122
</ItemGroup>
118123

119-
<!-- ILLinker Analyzers -->
120-
<ItemGroup Condition="'$(PublishSingleFile)' == 'true' Or
121-
'$(PublishTrimmed)' == 'true'">
122-
<Analyzer
123-
Include="$(MSBuildThisFileDirectory)..\analyzers\ILLink.RoslynAnalyzer.dll"
124-
IsImplicitlyDefined="true" />
125-
</ItemGroup>
126-
</Project>
124+
</Project>

0 commit comments

Comments
 (0)