问题
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?
回答1:
Here are the official instructions, taken from this page:
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.
In the Property Pages dialog box, open the Configuration drop-down list and then select All Configurations.
In the left pane of the dialog box, expand Configuration Properties and then select General.
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.
Choose the OK button.
You can see a screenshot of my window below:
来源:https://stackoverflow.com/questions/55904811/how-to-select-an-older-compiler-in-microsoft-visual-c-2019