Skip to content

Commit d379e3a

Browse files
Use RuntimeIdentifierGraphPath if available in runtime copy of Microsoft.NET.CrossGen.targets (#91090)
Co-authored-by: Elinor Fung <elfung@microsoft.com>
1 parent 2d5b3b3 commit d379e3a

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)