Hello there @tsi6800!
Checking through the community, similar scenarios were encountered in other threads. The most succesful solution was to download and install DotNET 3.1 Download .NET Core 3.1 (Linux, macOS, and Windows) | .NET
For your scenario in particular, I would also suggest to delete and re-generate the files from GitDependencies folder, which includes hostfxr.dll
You can also check for more details in the following posts: