Skip to content

v2 breaks dotnet-ef with failure to load System.Runtime v6 when it uses .NET 7's copy of it. #1678

@AraHaan

Description

@AraHaan

I have identified that my inability of using the updated dotnet-ef tool (installed locally in my project) when it tries to scaffold anything might be related it System.CommandLine trying to load v6 of System.Runtime into the default AssemblyLoadContext after the .NET 7 runtime loaded it's v7 version into the default context.

Context:
image
image

EFCore Issue for more information: dotnet/efcore#27660

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions