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

冷暖自知 提交于 2021-02-07 14:41:52

问题


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:

  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:



来源:https://stackoverflow.com/questions/55904811/how-to-select-an-older-compiler-in-microsoft-visual-c-2019

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!