How to determine if .NET Core is installed

前端 未结 16 1802
难免孤独
难免孤独 2020-12-07 06:53

I know that for older versions of .NET, you can determine if a given version is installed by following

https://support.microsoft.com/en-us/kb/318785  
         


        
16条回答
  •  -上瘾入骨i
    2020-12-07 07:37

    It's possible that .NET Core is installed but not added to the PATH variable for your operating system or user profile. Running the dotnet commands may not work. As an alternative, you can check that the .NET Core install folders exist.

    It's installed to a standard folder if you didn't change it during the instillation

    • dotnet executable C:\program files\dotnet\dotnet.exe

    • .NET SDK C:\program files\dotnet\sdk\{version}\

    • .NET Runtime C:\program files\dotnet\shared\{runtime-type}\{version}\

    For more details check How to check that .NET Core is already installed page at .NET documentation

提交回复
热议问题