0

What shell (cmd.exe) command prints out the latest installed .NET version on the current machine?

AgentFire
  • 8,944
  • 8
  • 43
  • 90
  • 2
    I don't know that any such command exists. – Jonathon Reinhart Oct 11 '12 at 06:23
  • 1
    Closest 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 Answers1

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

(How do I find the .NET version?)

Community
  • 1
  • 1
Mikhail Brinchuk
  • 656
  • 6
  • 16