Skip to content

Commit 4afb315

Browse files
authored
Fix Microsoft.NET.ILLink package (#103251)
By removing dependency on ILCompiler.DependencyAnalysisFramework.
1 parent 29f3110 commit 4afb315

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/tools/illink/src/linker/Mono.Linker.csproj

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,9 @@
7777
</ItemGroup>
7878

7979
<ItemGroup>
80-
<ProjectReference Include="$(CoreClrProjectRoot)tools\aot\ILCompiler.DependencyAnalysisFramework\ILCompiler.DependencyAnalysisFramework.csproj" />
80+
<!-- PrivateAssets prevents ILCompiler.DependencyAnalysisFramework from becoming a dependency of the Microsoft.NET.ILLink package, which is designed to
81+
be referenced by custom step authors as the public surface available to custom steps (which should not use the dependency analysis framework). -->
82+
<ProjectReference Include="$(CoreClrProjectRoot)tools\aot\ILCompiler.DependencyAnalysisFramework\ILCompiler.DependencyAnalysisFramework.csproj" PrivateAssets="All" />
8183
</ItemGroup>
8284

8385
<ItemGroup>

0 commit comments

Comments
 (0)