Skip to content

Commit

Permalink
Work around static graph restore issues in a better way
Browse files Browse the repository at this point in the history
Static graph restore breaks with SetTargetFramework (NuGet/Home#11680).

Live ILLink targets (illink.targets) uses SetTargetFramework and so breaks restore of BuildInteration.proj.

The previous workaround was not fully functional because it broke './build nativeaot.build'.
  • Loading branch information
SingleAccretion committed Jun 12, 2024
1 parent 387676c commit 3acac73
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/coreclr/nativeaot/BuildIntegration/BuildIntegration.proj
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<Project Sdk="Microsoft.Build.Traversal">
<!-- TODO-LLVM-Upstream: https://github.com/dotnet/runtimelab/issues/2576 -->
<PropertyGroup>
<RestoreUseStaticGraphEvaluation>false</RestoreUseStaticGraphEvaluation>
<IsNativeAotProject>false</IsNativeAotProject>
</PropertyGroup>

<PropertyGroup>
Expand Down

0 comments on commit 3acac73

Please sign in to comment.