Header Ads

Command to Check Dot Net Framework Version

There is an esay way to get the exact .NET version installed on your machine from cmd prompt.

Open the command prompt(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:

1.Type cd C:\Windows\Microsoft.NET\Framework\v4.0.30319

2.Execute MSBuild.exe -version command


Command_to_Check_Dot_Net_Framework_Version


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.

4.6.1590.0

The last line, after the copyright, will output the most recent versions of .NET Framework on your computer, for example, 4.6.1590.0

You can also use the alternative ways to determine which .net framework versions are installed - https://docs.microsoft.com/en-us/dotnet/framework/migration-guide/how-to-determine-which-versions-are-installed#net_d

No comments:



Powered by Blogger.