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
Is there an official method of determining if .NET Core is installed?
(And I don't mean the SDK, I want to check a server without the SDK, to determine if it has DotNetCore.1.0.0-WindowsHosting.exe installed on it)
I can see
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NET Cross-Platform Runtime Environment\.NET Framework 4.6\Win\v1-rc1
with Version# of 1.0.11123.0 on my windows 7 machine, but I don't see the same stuff on my Windows 10 machine.
It doesn't need a installation process.
I have pinned "VSCore" on my taskbar (win10), so open it, and open a task manager choose "Visual Studio Core" process expand left arrow and over any of them child process right button over it and click in "Open File Location" menu.
If you don't remember where is installed search "Code.exe" file in all your hard drives.
On windows, You only need to open the command prompt and type:
If the .net core framework installed you will get current installed version
see screenshot:
I work primarily with Windows development machines and servers.
I just wanted to point out (at least for NET.Core 2.0 and above) the only thing needed is to execute
dotnet --info
in a command prompt to get information about the latest version installed. If .NET Core is installed you will get some response.On my development machine (Windows 10) the result is as follows. SDK is 2.1.2 and runtime is 2.0.3.
On one of my servers running Windows Server 2016 with Windows Server Hosting pack (no SDK) result is as follows. No SDK, runtime is 2.0.3.
Cheers !
You can check if dotnet.exe is available:
where dotnet
You can then check the version:
dotnet --version
Using Powershell:
Runtimes:
SDK's: