View previous topic :: View next topic |
Author |
Message |
elover Apprentice

Joined: 20 Nov 2019 Posts: 170 Location: Spain
|
Posted: Sat Oct 21, 2023 10:32 am Post subject: When running a program that uses .net, dotnet is not found. |
|
|
Hello, I just compiled Mesen2 and when I run it, it does not find dolnet.
Code: |
You must install .NET to run this application.
App: /home/juanpe/Emuladores/Mesen2/bin/linux-x64/Release/linux-x64/publish/Mesen
Architecture: x64
App host version: 6.0.23
.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=gentoo.2.14-x64&apphost_version=6.0.23
|
eselect dotnet list
Code: | [1] dotnet-bin-6.0 (/opt/dotnet-sdk-bin-6.0) *
[2] dotnet-bin-7.0 (/opt/dotnet-sdk-bin-7.0) |
|
|
Back to top |
|
 |
alamahant Advocate

Joined: 23 Mar 2019 Posts: 3952
|
Posted: Sat Oct 21, 2023 10:42 am Post subject: |
|
|
Try
as your user
Code: |
echo "export DOTNET_ROOT=/opt/dotnet-sdk-bin-6.0/" >> ~/.bashrc
source ~/.bashrc
|
_________________
 |
|
Back to top |
|
 |
elover Apprentice

Joined: 20 Nov 2019 Posts: 170 Location: Spain
|
Posted: Sat Oct 21, 2023 10:55 am Post subject: |
|
|
alamahant wrote: | Try
as your user
Code: |
echo "export DOTNET_ROOT=/opt/dotnet-sdk-bin-6.0/" >> ~/.bashrc
source ~/.bashrc
|
|
Thank you very much. Solved my problem |
|
Back to top |
|
 |
|