Skip to content

Commit 06ad482

Browse files
authored
Use RuntimeIdentifierGraphPath if available in pretest.proj (#91102)
1 parent ea20228 commit 06ad482

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libraries/pretest.proj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@
102102
Condition="'$(BuildTargetFramework)' == '$(NetCoreAppCurrent)' or '$(BuildTargetFramework)' == ''">
103103
<!-- Shared framework deps file generation. Produces a test shared-framework deps file. -->
104104
<GenerateTestSharedFrameworkDepsFile SharedFrameworkDirectory="$(NetCoreAppCurrentTestHostSharedFrameworkPath)"
105-
RuntimeGraphFiles="$(BundledRuntimeIdentifierGraphFile)"
105+
RuntimeGraphFiles="$([MSBuild]::ValueOrDefault('$(RuntimeIdentifierGraphPath)', '$(BundledRuntimeIdentifierGraphFile)'))"
106106
TargetRuntimeIdentifier="$(OutputRID)" />
107107
</Target>
108108

0 commit comments

Comments
 (0)