How do I check which version of .NET Framework I have installed?
Use PowerShell to Detect .NET Versions
gci ‘HKLM:\SOFTWARE\Microsoft\NET Framework Setup\NDP’ -recurse | gp -name Version -EA 0 | where { $_.PSChildName -match ‘^(?!S)\p{L}’} | select PSChildName, Version
manual way of checking
is to look in the folders where most of the .NET program files are stored to see what’s in there. The location is in the C:\Windows\Microsoft.NET\Framework folder and also the Framework64 folder for 64-bit systems
Read More: https://www.raymond.cc/blog/how-to-check-what-version-of-microsoft-net-framework-is-installed-in-computer/2/
Find .NET Framework version from command prompt
wmic product get description | findstr /C:.NET
or
You can check the version of .NET Framework installed on a computer by opening a command prompt,
navigating to \%windir%\Microsoft.NET\FrameWork, and then navigating to the directory with the latest version number.
Once in the directory with the latest version number, run the command.\MSBuild.exe -version
You can list older .NET versions running on your computer by running a simple command shown below.
dir /b %windir%\Microsoft.NET\Framework\v*
-----
Using the following table, you can establish a correspondence between the release number and the version of the .NET Framework 4.5.
Release Value | .NET Framework version |
378389 | .NET Framework 4.5 |
378675 | NET Framework 4.5.1 on Windows 8.1 / Windows Server 2012 R2 |
378758 | .NET Framework 4.5.1 on Windows 8, Windows 7 SP1, Windows Vista SP2 |
379893 | .NET Framework 4.5.2 |
393273 | .NET Framework 4.6 on Windows 10 |
393297 | .NET Framework 4.6 |
394254 | .NET Framework 4.6.1 on Windows 10 November Update |
394271 | .NET Framework 4.6.1 |
394802 | .NET Framework 4.6.2 on Windows 10 Anniversary Update |
394806 | .NET Framework 4.6.2 |
460798 | .NET Framework 4.7 on Windows 10 Creators Update |
460805 | .NET Framework 4.7 |
461308 | .NET Framework 4.7.1 on Windows 10 Fall Creators Update |
461310 | .NET Framework 4.7.1 |
461808 | .NET Framework 4.7.2 on Windows 10 April 2018 Update |
461814 | .NET Framework 4.7.2 |