Skip to content
This repository has been archived by the owner on Nov 20, 2023. It is now read-only.

.NET Location Not Found message appearing even with the correct .NET installed #1605

Open
scarletquasar opened this issue Aug 2, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@scarletquasar
Copy link

Describe the bug

Happening in NixOS

.NET Location Not Found message appearing even with the correct .NET installed and correct DOTNET_ROOT path set.

To Reproduce

  • Have NixOS
  • Use a shell dotnet installation based on this
  • Have the DOTNET_ROOT path set by this same script (mine: /nix/store/xy7m6cs8ikh2lrh8pfgjpi0nzfsimjc0-dotnet-core-combined)
  • Have the correct path to dotnet tools set (mine: /home/quasar/.dotnet/tools)
  • Install Tye and try to use the command tye

Further technical details

Platform: NixOS

Raw command and/or any flag only shows me this output message:

$ tye
You must install .NET to run this application.

App: /home/quasar/.dotnet/tools/tye
Architecture: x64
App host version: 7.0.9
.NET location: Not found

Learn about runtime installation:
https://aka.ms/dotnet/app-launch-failed

Download the .NET runtime:
https://aka.ms/dotnet-core-applaunch?missing_runtime=true&arch=x64&rid=nixos.23.05-x64&apphost_version=7.0.9
@scarletquasar scarletquasar added the bug Something isn't working label Aug 2, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant