Fix condition for setting if symbol is a file in native AOT publish targets (#90438)
authorElinor Fung <elfung@microsoft.com>
Sat, 12 Aug 2023 17:51:21 +0000 (10:51 -0700)
committerGitHub <noreply@github.com>
Sat, 12 Aug 2023 17:51:21 +0000 (12:51 -0500)
src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.Publish.targets

index dc14702bd0a0172865b29f7bcc8037862128205a..647aee4993d960a2f363f7c6b47cb25cd1003cfc 100644 (file)
       <_symbolSourcePath>$(NativeOutputPath)$(TargetName)$(_symbolExt)</_symbolSourcePath>
       <_symbolTargetPath>$(PublishDir)\$(TargetName)$(_symbolExt)</_symbolTargetPath>
       <!-- If the symbol is a dsym bundle, it's a folder not a file. -->
-      <_symbolIsFile Condition="'$(_symbolExt)' == '.dsym'">false</_symbolIsFile>
+      <_symbolIsFile Condition="'$(NativeSymbolExt)' == '.dsym'">false</_symbolIsFile>
       <_symbolIsFile Condition="'$(_symbolIsFile)' == ''">true</_symbolIsFile>
     </PropertyGroup>