After installing .Net Framework 4.7.1 my dotnet installation was somehow broken.
I was no longer able to develop with Visual Studio 2015 nor was I able to run anything related to .Net Core. I tried to the following in the command line
C:\Program Files\dotnet>dotnet --help
Result:
A fatal error occured, the required library hostfxr.dll could not be found at C:\Program Files\dotnet
What can I do?
I tried
Nothing helped me out.
Finally my solution is pretty hacky: