When running dotnet ef migrations add MigrationName I get:
A fatal error occurred. The required library libhostfxr.so could not be found.
If this is a self-contained application, that library should exist in [/home/alireza/.dotnet/tools/.store/dotnet-ef/5.0.6/dotnet-ef/5.0.6/tools/netcoreapp3.1/any/].
If this is a framework-dependent application, install the runtime in the global location [/usr/share/dotnet] or use the DOTNET_ROOT environment variable to specify the runtime location or register the runtime location in [/etc/dotnet/install_location].
The .NET runtime can be found at:
- https://aka.ms/dotnet-core-applaunch?missing_runtime=true&arch=x64&rid=fedora.34-x64&apphost_version=5.0.6
Unfortunately, I don't know if the error occurred after updating Fedora to 34 or only after upgrading dotnet to 5.0.6.
When running
dotnet ef migrations add MigrationNameI get:Unfortunately, I don't know if the error occurred after updating Fedora to 34 or only after upgrading dotnet to 5.0.6.