c++visual-studiocompiler-version

How to select an older compiler in Microsoft Visual C++ 2019?


As written here, under "Project Settings" I should be able to specify the compiler to be used for the current project. However, I cannot find this menu entry in Visual Studio 2019.

I have both Visual C++ 2019 and 2013, and would like to use the new IDE with the old compiler. How can I do it?

Is it possible to do it with the "Community" editions?


Solution

  • Here are the official instructions, taken from this page:

    1. In Visual Studio, in Solution Explorer, open the shortcut menu for your project (not for your solution) and then choose Properties to open your project Property Pages dialog box.

    2. In the Property Pages dialog box, open the Configuration drop-down list and then select All Configurations.

    3. In the left pane of the dialog box, expand Configuration Properties and then select General.

    4. In the right pane, select Platform Toolset and then select the toolset you want from the drop-down list. For example, if you have installed the Visual Studio 2010 toolset, select Visual Studio 2010 (v100) to use it for your project.

    5. Choose the OK button.


    You can see a screenshot of my window below:

    screenshot of config window