如何 select Microsoft Visual C++ 2019 中的旧编译器?

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

所写,在"Project Settings"下我应该可以指定当前项目要使用的编译器。但是,我在 Visual Studio 2019 中找不到此菜单项。

我同时拥有 Visual C++ 2019 和 2013,并且想将新的 IDE 与旧的编译器一起使用。我该怎么做?

"Community" 版本可以做到吗?

以下是官方说明,摘自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.


您可以在下面看到我的 window 的屏幕截图: