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 better add that Visual Studio may not be installed – this is typically something that I want to know about a client machine.
Just type any one of the below commands to give you the latest version in the first line.
You can only run these from the Visual Studio Command prompt if you have Visual Studio installed, or else if you have the .NET framework SDK, then the SDK Command prompt.
The last command (5) will list out all the versions (except 4.5) of .NET installed, latest first.
You need to run the 4th command to see if .NET 4.5 is installed.
Another three options from the PowerShell command prompt is given below.
The last command (8) will give you all versions, including .NET 4.5.