I've installed .NET through JetBrains Rider. It appears as installed:
And my applications can be built under .NET8.0 and ran under .NET8.0 within Rider.
I located the .exe (that was built whilst I was using Rider) in bin/Debug/net8.0/name_of_my_app.exe
and wanted to run it with the terminal. So I opened a terminal and did name_of_my_app.exe
; it said "You must install .NET to run this application.".
I therefore looked for any dotnet.exe
I could find but the only two I could find were not .NET8.0:
7.0.10 at [C:\Program Files\JetBrains\JetBrains Rider 2023.3.3\lib\ReSharperHost\windows-x64\dotnet\shared\Microsoft.NETCore.App]
So my question is: where the heck is my .NET8.0 dotnet.exe
so that I can add it to my environment variable PATH and so that I don't have to launch an IDE to run my application.
I'm using Windows 11
and JetBrains Rider 2023.3.3
.
C:\Program Files\dotnet\sdk
– Baroness