Skip to content

Host should inform user about different archs when failing to find framework #51102

Closed
@vitek-karas

Description

@vitek-karas

Some systems support more than one architecture - for example Windows x86 and x64 on the same machine.
If I install:

  • .NET 5 x64
  • .NET 3.1 x86

And then I try to run dotnet my31app.dll it will fail to find a framework. This is because the default dotnet on the machine is the x64 one (installed first). The error message doesn't list/mention that there's a x86 one available.

Consider either informing the user of the existence of other architectures on the system, or potentially listing those in the output as well.

Related to #51101.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-Hostin-prThere is an active PR which will close this issue when it is merged

    Type

    No type

    Projects

    Status

    No status

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions