If you need to learn the version of .NET on your PC, in this guide we will show you how to use Windows 10.
Although, for the most part, you don’t need to worry about the version of .NET installed on Windows 10, some applications require a specific release to run. Programmers often need to run multiple versions of the platform to develop and deploy apps, and this is when understanding the .NET versions available on your device can come in handy.
You can use 3 fastest ways to determine .NET Framework version using Command Prompt, PowerShell and Registry.
- How to check .NET version using Command Prompt
- How to Check .NET Version Using Registry
- How to check .NET version using PowerShell
How to check .NET version using Command Prompt
To check the version .NET Framework installed on Windows 10, use these steps:
- Open Start .
- Search Command Prompt , right click on the top result and select option Run as administrator .
- Enter the following command to determine the version .NET installed and press Enter :
reg query "HKLMSOFTWAREMicrosoftNet Framework SetupNDP" /s
If you want to make sure that the 4.x version is installed, then use a variation of this command:
reg query "HKLMSOFTWAREMicrosoftNet Framework SetupNDPv4" /s - Check field”Version" to confirm releases of the .NET Framework available on Windows 10.
Once you complete the steps, you’ll know the versions of .NET running on your device.
How to Check .NET Version Using Registry
To determine the .NET version with the Registry, use these steps:
- Open Start .
- Search regedit and click on the top result to open Registry .
Browse through the following link:
HKEY_LOCAL_MACHINESOFTWAREMicrosoftNET Framework SetupNDP
Quick tip: On Windows 10, you can now copy and paste a path into your address bar Registry to quickly jump to the main destination. - Select the main version key – for example: v4 or v4.0 .
- Choose Client key.
Quick tip: In releases older than version 4, the key will be a number or "Setup". Eg: .NET version 3.5 include the version number under the key 1033 . - On the right, check the string "Version" to confirm the release .NET Framework.
After you complete the steps, you will understand the release of the Microsoft framework available on Windows 10.
How to check .NET version using PowerShell
If you use PowerShell, you have many methods to determine versions .NET Framework installed on Windows 10, including crafting commands or installing command line tools.
Check custom command version
To use PowerShell to check the version .NET, use these steps:
- Open Start .
- Search PowerShell , right click on the top result and select option Run as administrator .
- Enter the following command to determine the version .NET installed and press Enter :
Get-ChildItem 'HKLM:SOFTWAREMicrosoftNET Framework SetupNDP' -Recurse | Get-ItemProperty -Name version -EA 0 | Where { $_.PSChildName -Match '^(?!S)p{L}'} | Select PSChildName, version - Confirm the releases of .NET Framework installed on Windows 10.
- Once you complete the steps, the output will reveal information for both the client and the version .NET fully installed on your device (if applicable).
Check DotNetVersionLister version
Also, there is a community tool at GitHub that makes it easy to query the list of versions .NET installed on your computer.
To find out the list of versions .NET installed on Windows 10, use these steps:
- Open Start .
- Search PowerShell , right click on the top result and select option Run as administrator .
- Type the following command to install the required module and press Enter :
Install-Module -Name DotNetVersionLister -Scope CurrentUser #-Force - Install Dotnetversionlister on Windows 10
- Type Y and press Enter .
Type Y and press Enter Again. - Enter the following command to determine the version .NET installed and press Enter :
Get-STDotNetVersion
After you complete the steps you will end up with an output telling you the versions .NET installed on Windows 10.
We’re focusing this guide on Windows 10, but you can refer to these steps if you’re running an earlier version of the OS, including Windows 8.1 or Windows 7.
Post a Comment
Post a Comment