Skip to content

dotnet executable file not found in $PATH when installed through Jetbrains Rider #48423

Closed
@cfgiugliano

Description

@cfgiugliano

Describe the bug

I've installed Jetbrains Rider on macOS and it asked to take care of installing .NET SDK so I accepted. Once completed, Rider was able to build and run .NET projects but dotnet --info from terminal didn't return anything. Furthermore running an Aspire project ran all the projects except the dashboard:

failed to start a process {"Executable": {"name":"aspire-dashboard-hfyxpzxx"}, "Reconciliation": 5, "error": "exec: "dotnet": executable file not found in $PATH"} 

The executable was installed under /Users/example/.dotnet/

I've tried using dotnet-core-uninstall to remove it but both SDK and runtime weren't detected.

Manually deleting the directory and installing .NET using the package downloaded from dotnet website fixed it.

Further technical details

  • MacBook Pro M4 with macOS 15.4
  • JetBrains Rider 2024.3.7
  • SDK 9.0.200 (or 9.0.202, I'm not sure which was installed by Rider)
  • dotnet-core-uninstall 1.7.618124+6f834e098fd32238e670f2d52c58745cf4e39054

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions