In this article, I will explain how to check .Net framework version installed using cmd on a machine. Users can install and run multiple versions of the .NET Framework on their computers. When you develop or deploy your app, you might need to know which .NET Framework versions are installed on the user’s computer.
How to check .Net framework version windows 10 command prompt
There is an easier way to get the exact version .NET version installed on your machine from a cmd prompt. Just follow the following instructions;
Open the command prompt (i.e Windows + R → type “cmd”) and type the following command, all on one line: %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. This command will output the latest version installed in the following format:
- Type cd C:\Windows\Microsoft.NET\Framework\v4.0.30319
- Execute MSBuild.exe -version command
The following information will appear:
Microsoft (R) Build Engine version 4.6.1590.0
[Microsoft .NET Framework, version 4.0.30319.42000]
Copyright (C) Microsoft Corporation. All rights reserved.
The last line, after the copyright, will output the most recent versions of the .NET Framework on your computer, for example, 4.6.1038.0
You can also use alternative ways to determine which .net framework versions are installed using MSDN:: https://docs.microsoft.com/en-us/dotnet/framework/migration-guide/how-to-determine-which-versions-are-installed#net_d
Here we have learned how to check dot net framework version installed using cmd. I would like to have feedback from my blog readers. Your valuable feedback, question, or comments about this article are always welcome.