File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
src/Tasks/Microsoft.NET.Build.Tasks Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -210,7 +210,7 @@ private void ProcessInputFileList(
210210 // an input to the ReadyToRunCompiler task
211211 TaskItem r2rCompilationEntry = new ( file ) ;
212212 r2rCompilationEntry . SetMetadata ( MetadataKeys . OutputR2RImage , outputR2RImage ) ;
213- if ( outputPDBImage != null && ReadyToRunUseCrossgen2 && ! _crossgen2IsVersion5 )
213+ if ( outputPDBImage != null && ReadyToRunUseCrossgen2 && ! _crossgen2IsVersion5 && EmitSymbols )
214214 {
215215 r2rCompilationEntry . SetMetadata ( MetadataKeys . EmitSymbols , "true" ) ;
216216 r2rCompilationEntry . SetMetadata ( MetadataKeys . OutputPDBImage , outputPDBImage ) ;
Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ Copyright (c) .NET Foundation. All rights reserved.
2424 <PublishReadyToRunComposite Condition =" '$(PublishReadyToRunUseCrossgen2)' != 'true' or '$(SelfContained)' != 'true'" >false</PublishReadyToRunComposite >
2525 <PublishReadyToRunUseRuntimePackOptimizationData Condition =" '$(PublishReadyToRunUseRuntimePackOptimizationData)' == ''" >true</PublishReadyToRunUseRuntimePackOptimizationData >
2626 <PublishReadyToRunPerfmapFormatVersion Condition =" '$(PublishReadyToRunPerfmapFormatVersion)' == ''" >1</PublishReadyToRunPerfmapFormatVersion >
27+ <PublishReadyToRunEmitSymbols Condition =" '$(TargetPlatformIdentifier)' == 'ios' or '$(TargetPlatformIdentifier)' == 'tvos' or '$(TargetPlatformIdentifier)' == 'maccatalyst'" >false</PublishReadyToRunEmitSymbols >
2728 </PropertyGroup >
2829
2930 <!--
You can’t perform that action at this time.
0 commit comments