Skip to content

Commit 31e99c2

Browse files
authored
Use RuntimeIdentifierGraphPath if available in runtime copy of Microsoft.NET.CrossGen.targets (#91077)
1 parent c821c36 commit 31e99c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tasks/Crossgen2Tasks/Microsoft.NET.CrossGen.targets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@ Copyright (c) .NET Foundation. All rights reserved.
443443
<ResolveReadyToRunCompilers RuntimePacks="@(ResolvedRuntimePack)"
444444
Crossgen2Packs="@(ResolvedCrossgen2Pack)"
445445
TargetingPacks="@(ResolvedTargetingPack)"
446-
RuntimeGraphPath="$(BundledRuntimeIdentifierGraphFile)"
446+
RuntimeGraphPath="$([MSBuild]::ValueOrDefault('$(RuntimeIdentifierGraphPath)', '$(BundledRuntimeIdentifierGraphFile)'))"
447447
NETCoreSdkRuntimeIdentifier="$(NETCoreSdkRuntimeIdentifier)"
448448
EmitSymbols="$(PublishReadyToRunEmitSymbols)"
449449
ReadyToRunUseCrossgen2="$(PublishReadyToRunUseCrossgen2)"

0 commit comments

Comments
 (0)