Check visual studio and visual studio code version and edition


👤 Diwas Poudel    🕒 13 Aug 2022    📁 TECH

When you want to run or install certain software, the documentation may suggest that you check the software's version because some software is dependent on OS and system requirements, CPU frequency, and supported architectures.Visual Studio 2012, for example, is only supported on Windows 7 and later.As a result, knowing it is important.

The process of examining the version and edition of Visual Studio and VS Code that is installed on your computer is not overly complicated, and there are a variety of ways in which we may locate this information.Lets look each of them one by one.

Check Visual Studio Installed Version and Edition

There are various method lets check them one by one.

Method 1. Check Visual Studio Installed Version and Edition using Visual Studio IDE

You can easily check the version of visual studio installed on your computer.Steps are as follows.

1 Open your desire Visual Studio Application.

2 Click on Menu from Title bar 

3. Then click on About Microsoft Visual studio 

check visual studio version using IDE
fig. Check visual studio version using IDE

Then you will get the version and edition of Microsoft Visual Studio either in first line or second line as shown below

check visual studio version and edition
fig. check visual studio version and edition

In my case I have Enterprise Edition 2022(64 bit) and version is 17.2.6

Method 2. Check Visual Studio Installed Version and Edition using Command Line 

For this you donot have to open visual studio.You simply need Command line.

1 Just open Command Prompt 

2 Type the below command and press Enter

"C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe" -property catalog_productDisplayVersion

Please keep in mind that this only works for Visual Studio 2017 and later, as vswhere.exe only exists from Visual Studio 2017.

If you want to check edition type then type below command:

"C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe" -latest -property productId

This will display you where visual studio is enterprise, community or professional.

Method 3. Check Visual Studio Installed Version using Apps & features Option

Using Apps & features Options we can check version of any installed software.Steps are as follow.

1 Click on Search text field and then type "Apps or remove programs"

search for add or remove programs
fig. search for add or remove programs

 

2. Then select Apps & Features from the left pane.

Then you will get the list of software (default or third party) installed in your computer.

3. Search for Visual Studio and then click on your installed Visual Studio . In my case I have Visual Studio Enterprise 2022 so I just clicked on it.

check-version-and-edition-using-app-feature-options
fig. check-version-and-edition-using-app-feature-options

This will show the version of Visual Studio below the edition name of visual studio.

Check Visual Studio Code Version and Edition

There are various method.Lets look them one by one.

Method 1: Check Visual Studio Code Version using Visual Studio Code IDE

The steps are straightforward. It goes like this:

On Windows and Linux Operating System.

1 Open Visual Studio Code (vscode)

2 Click on Help on the title bar

3 Click on About from the list

check visual studio code version and edition
fig. Check visual studio code version and edition

On MacOS 

1 Open Visual Studio Code(VSCode)

2 Click on Code 

3 From the list , select About Visual Studio Code

Method 1: Check Visual Studio Code Version using Command Line

Steps are :

1 Open Command Prompt from anywhere you like

2 Type the following command 

code -v 

or

code --version
vscode version using command line
fig. check vscode version using command line

Method 3. Check Visual Studio Code Installed Version using Apps & features Option

Using Apps & features Options we can check version of any installed software.Steps are as follow.

1Click on Search text field and then type "Add or remove programs". and select it from the list.

search-for-add-or-remove-programs
fig. Search for "Add or remove programs"

2Then select Apps & Features from the left pane.

Then you will get the list of software (default or third party) installed in your computer.

3. Search for Visual Studio Code and then click on your installed Visual Studio Code. In my case I have Microsoft Visual Studio Code(User) so I just clicked on it.

check-version-and-edition-of-visual-studio-code
fig. check-version-and-edition-of-visual-studio-code

This will show the version of Visual Studio Code below the edition name visual studio Code.

Conclusion:

In this way we can check version and edition of Visual Studio and Visual Studio Code IDE.