If you have a difficulty with missing SDK after installation Hosting Bundle, follow this solution suggested by Microsoft:Installing the . NET Core Hosting Bundle modifies the PATH when it installs the . NET Core runtime to point to the 32 bit x86 version of . NET Core C:Program Files x86dotnet. This can bring about lacking SDKs when the 32 bit x86 .
NET Core dotnet command is used No . NET Core SDKs were detected. To determine this problem, move C:Program Filesdotnet to a place before C:Program Files x86dotnet on the PATH environment variable.