You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After following the installation instructions outlined in the Microsoft documentation (https://learn.microsoft.com/en-us/dotnet/core/install/linux-ubuntu#register-the-microsoft-package-repository) for installing .NET/ASP.NET Core runtimes/SDKs on Linux Ubuntu, I noticed that .NET/ASP.NET Core runtimes for version 6 and 7 are installed in a different location. As a result, the dotnet application is unable to locate the .NET/ASP.NET Core 6 runtimes.
@Kysawier there are known issues with mixing packages from Microsoft and distro-specific repositories. Can you check if instructions outlined in the following issue are helpful? dotnet/core#7699
Description
After following the installation instructions outlined in the Microsoft documentation (https://learn.microsoft.com/en-us/dotnet/core/install/linux-ubuntu#register-the-microsoft-package-repository) for installing .NET/ASP.NET Core runtimes/SDKs on Linux Ubuntu, I noticed that .NET/ASP.NET Core runtimes for version 6 and 7 are installed in a different location. As a result, the dotnet application is unable to locate the .NET/ASP.NET Core 6 runtimes.
Reproduction Steps
Following https://learn.microsoft.com/en-us/dotnet/core/install/linux-ubuntu#register-the-microsoft-package-repository
Expected behavior
dotnet-runtime-6.0 installed under /usr/share/dotnet/shared/Microsoft.NETCore.App/6.0.13
and /usr/share/dotnet/shared/Microsoft.AspNetCore.App/6.0.13
Actual behavior
dotnet-runtime-6.0 installed under /usr/lib/dotnet/shared/Microsoft.NETCore.App/6.0.13
and /usr/lib/dotnet/shared/Microsoft.AspNetCore.App/6.0.13
Regression?
No response
Known Workarounds
Create symbolic links for the .NET and ASP.NET Core runtime
Configuration
WSL2 Ubuntu 22.04.1 LTS
Other information
No response
The text was updated successfully, but these errors were encountered: