Skip to content

Commit 808328e

Browse files
authored
[mono] Add exists condition for copying hostfxr & hostpolicy symbol files (#103641)
This was missing from #103304 and it causes build issues on windows mono runs Fixes #103642
1 parent 35437dd commit 808328e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libraries/externals.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@
122122
<ItemGroup>
123123
<RuntimeFiles Include="@(HostFxrFile)" Condition="Exists('@(HostFxrFile)') and '$(TargetsMobile)' != 'true'"/>
124124
<RuntimeFiles Include="@(HostPolicyFile)" Condition="Exists('@(HostPolicyFile)') and '$(TargetsMobile)' != 'true'" />
125-
<RuntimeFiles Include="@(_HostSymbols)" IsNative="true" Condition="'$(TargetsMobile)' != 'true'" />
125+
<RuntimeFiles Include="@(_HostSymbols)" IsNative="true" Condition="Exists('@(_HostSymbols)') and '$(TargetsMobile)' != 'true'" />
126126
<ReferenceCopyLocalPaths Include="@(RuntimeFiles)" />
127127
<!-- Setup runtime pack native. -->
128128
<ReferenceCopyLocalPaths Include="@(MonoCrossFiles)"

0 commit comments

Comments
 (0)