What shell (cmd.exe) command prints out the latest installed .NET version on the current machine?
Asked
Active
Viewed 278 times
0
-
2I don't know that any such command exists. – Jonathon Reinhart Oct 11 '12 at 06:23
-
1Closest thing I can think of is : `dir c:\windows\Microsoft.NET\Framework\v* /ad /b /o-n`. Not the most elegant, I know :) It spits out all the installed versions of .NET, with the latest one at the top. – tobias86 Oct 11 '12 at 06:52
1 Answers
0
From VisualStudio Command Prompt:
c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC>GACUTIL /l ?
Microsoft (R) .NET Global Assembly Cache Utility. Version 4.0.30319.1

Community
- 1
- 1

Mikhail Brinchuk
- 656
- 6
- 16