Skip to content

ILCompiler package used in runtime without ensuring matching framework #106740

@ericstj

Description

@ericstj

Description

See #106729

When building the product we run on an older shared framework than the last built and consumed runtime.

Reproduction Steps

Build dotnet/runtime when it's using a MicrosoftDotNetILCompilerVersion newer than the dotnet version, and ILC depends on an API change in the framework.

Expected behavior

Build succeeds

Actual behavior

Failure because the tool framework is missing API required by ILC

Regression?

Yes, torn state introduced by #100845

Known Workarounds

No response

Configuration

No response

Other information

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    No status

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions