Improve installation instruction on missing runtime
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dotnet6 (Ubuntu) |
Confirmed
|
Wishlist
|
Unassigned | ||
dotnet7 (Ubuntu) |
Confirmed
|
Wishlist
|
Unassigned | ||
dotnet8 (Ubuntu) |
Confirmed
|
Wishlist
|
Unassigned |
Bug Description
When trying to run a .NET 6 compiled .dll file with only a .NET 8 runtime installed the .NET host recommends to follow the generic install instructions. This should be the case for any missing runtime version, although I haven't tested it for other combinations.
This behavior could be improved by checking if the package manager can find an installable runtime (e.g. with `apt-cache search dotnetX`) and suggest that (`sudo apt install dotnetX`) to the user instead.
Example output
==============
You must install or update .NET to run this application.
App: /home/dviererbe
Architecture: x64
Framework: 'Microsoft.
.NET location: /usr/lib/dotnet/
The following frameworks were found:
8.0.0 at [/usr/lib/
Learn more:
https:/
To install missing framework, download:
https:/
Changed in dotnet6 (Ubuntu): | |
importance: | Undecided → Wishlist |
Changed in dotnet7 (Ubuntu): | |
importance: | Undecided → Wishlist |
Changed in dotnet8 (Ubuntu): | |
importance: | Undecided → Wishlist |
Changed in dotnet6 (Ubuntu): | |
status: | New → Confirmed |
Changed in dotnet7 (Ubuntu): | |
status: | New → Confirmed |
Changed in dotnet8 (Ubuntu): | |
status: | New → Confirmed |