From cf462632bccb642e17b8840d2dec69e7df03ebcd Mon Sep 17 00:00:00 2001 From: Elinor Fung Date: Sat, 12 Aug 2023 10:51:21 -0700 Subject: [PATCH] Fix condition for setting if symbol is a file in native AOT publish targets (#90438) --- .../BuildIntegration/Microsoft.NETCore.Native.Publish.targets | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.Publish.targets b/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.Publish.targets index dc14702bd0a01..647aee4993d96 100644 --- a/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.Publish.targets +++ b/src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.Publish.targets @@ -104,7 +104,7 @@ <_symbolSourcePath>$(NativeOutputPath)$(TargetName)$(_symbolExt) <_symbolTargetPath>$(PublishDir)\$(TargetName)$(_symbolExt) - <_symbolIsFile Condition="'$(_symbolExt)' == '.dsym'">false + <_symbolIsFile Condition="'$(NativeSymbolExt)' == '.dsym'">false <_symbolIsFile Condition="'$(_symbolIsFile)' == ''">true