Skip to content

runtime-coreclr crossgen2 TestReadyToRun_Libraries pipelines fail with "Optimizing assemblies for performance is not supported for the selected target platform or architecture" #123499

@jakobbotsch

Description

@jakobbotsch

Example pipeline run: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1262443&view=results
Example job step: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1262443&view=logs&j=071e6e04-312c-5e5d-4beb-c7c310e9236a&t=ca5ba874-ba90-568d-d3cb-1df861de20aa

2026-01-22T06:56:48.9758358Z ##[error].dotnet\sdk\11.0.100-alpha.1.26060.102\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.CrossGen.targets(462,5): error NETSDK1095: (NETCORE_ENGINEERING_TELEMETRY=Build) Optimizing assemblies for performance is not supported for the selected target platform or architecture. Please verify you are using a supported runtime identifier, or set the PublishReadyToRun property to false.

Metadata

Metadata

Assignees

Type

No type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions