Cant Package in Ue5

If anyone is still having this issue, ensure that .NET Core 3.1 SDK x64 is installed.

Source: Missing hostfxr.dll (.NET Core Runtime) When Creating a UE5 Project