Skip to content

[main] Outer Loop: SDK build fails due to analyzer/compiler version mismatch #5482

@ellahathaway

Description

@ellahathaway

The stage 1 leg of the source-build outer loop pipeline is failing to build the SDK repo because analyzer/source generator assemblies from microsoft.aspnetcore.app.ref/11.0.0-preview.2.26111.109 reference compiler version 5.5.0.0, but the running compiler is 5.4.0.0.

Error

error CS9057: Analyzer assembly '.../microsoft.aspnetcore.app.ref/11.0.0-preview.2.26111.109/.../Microsoft.AspNetCore.App.Analyzers.dll' cannot be used because it references version '5.5.0.0' of the compiler, which is newer than the currently running version '5.4.0.0'.
... Microsoft.AspNetCore.App.SourceGenerators.dll ... 5.5.0.0 vs 5.4.0.0 ...
... Microsoft.Extensions.Validation.ValidationsGenerator.dll ... 5.5.0.0 vs 5.4.0.0 ...

Link to failing build (internal Microsoft link)

Metadata

Metadata

Assignees

No one assigned

    Labels

    ops-monitorIssues created/handled by the source build monitor roleuntriaged

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions