Skip to content

Cannot recognize dotnet version. Says dotnet need to be updated. #1508

Open
@dehlong

Description

@dehlong

Environments:

  • CSharpier Version: 0.30.6
  • Running CSharpier via: cli
  • Operating System: Arch Linux
  • .csharpierrc Settings:
  • .editorconfig Settings:

Steps to reproduce:

  1. Install csharpier.
  2. Try running dotnet-csharpier .

Expected behavior:
Csharpier formats files.

Actual behavior:
Reports and error that I need to install or update dotnet. I already have the latest dotnet version installed (9.0.103) installed.

You must install or update .NET to run this application.

App: /home/samo/.dotnet/tools/dotnet-csharpier
Architecture: x64
Framework: 'Microsoft.AspNetCore.App', version '9.0.0' (x64)
.NET location: /usr/share/dotnet

No frameworks were found.

Learn more:
https://aka.ms/dotnet/app-launch-failed

To install missing framework, download:
https://aka.ms/dotnet-core-applaunch?framework=Microsoft.AspNetCore.App&framework_version=9.0.0&arch=x64&rid=arch-x64&os=arch

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions