How do i find the latest version ofnet?
How do I find out which version of .NET is installed?
I'm looking for something as simple as "java -version" that i can type at the command prompt and that tells me the current version(s) installed.
I'd like to add that visual studio may not be installed - it's typically something i want to know about a client machine
Best Answer
There is an easier way to get the exact version .NET version installed on your machine from a cmd prompt. Just follow the following instructions;
- Open the command prompt (i.e Windows + R → type "cmd").
- Type the following command, all on one line:
reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP"
(This will list all the .NET versions.)
- If you want to check the latest .NET 4 version.
- Type following instruction, on a single line:
reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\full" /v version
Please see the attached image below to see how it is shown