简体   繁体   English

在Visual Studio解决方案中设置所有项目的运行时库

[英]Set Runtime Library of all projects in Visual Studio solution

I would like to set the runtime library of all projects in my Visual Studio 2017 solution at once. 我想立即在Visual Studio 2017解决方案中设置所有项目的运行时库。 Currently they're all set to /MD, but I would like to compile the project as /MT. 当前它们都设置为/ MD,但是我想将该项目编译为/ MT。 The solution I'm working on has something like 105 projects, so changing them by hand is tedious. 我正在研究的解决方案有大约105个项目,因此手动更改它们很繁琐。 Is there a way to do this automatically, or at least faster than opening up each project properties file individually? 有没有一种方法可以自动执行此操作,或者至少比单独打开每个项目属性文件更快?

Note that I cannot change the configuration. 请注意,我无法更改配置。 The project must be compiled as RelWithDebInfo. 该项目必须编译为RelWithDebInfo。

Thank you. 谢谢。

OK - since this was the answer you are looking for: 好的-因为这是您要寻找的答案:

You can select multiple projects - and opening properties should show the COMMON entries for all selected projects allowing to change settings at once. 您可以选择多个项目-打开属性应显示所有选定项目的COMMON条目,允许立即更改设置。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM