如何将当前项目属性转换为VS2013中的属性页? [英] How to convert current project properties to a property page in VS2013?
问题描述
I've just discovered that Visual Studio has property pages and they are quite powerful. Problem is that I have an old solution that I want to take the project's properties and convert it into a property page so that I can share it between 2+ projects in that solution.
手动尝试将属性复制到属性页将很繁琐且容易出错.有没有一种方法可以将项目的属性移到属性页,以便我可以将属性页用于需要共享这些设置的项目?
Manually trying to copy the properties over to a property page would be tedious and error prone. Is there a way to move a project's properties to a property page so that I can then use the property pages for the projects that need to share these settings?
阿德里安(Adrian)
Adrian
推荐答案
嗨A D R I A N,
Hi A D R I A N,
如果要与其他项目共享属性,请使用属性表.这些可以创建一个可以由多个项目继承的单个属性文件.
If you want to share properties with different projects, please using Property Sheets. These can create a single properties file that can be inherited by multiple projects.
- 使用"查看>其他Windows>物业经理"调动物业经理.它将显示您的项目和配置.
- 右键单击配置,然后选择添加新项目属性表...".为其命名,然后选择一个适合所有项目的位置.
- 编辑其属性.
- 右键单击配置或项目,然后选择添加现有属性表...". ".浏览到原始工作表的保存位置,它将被继承.
有关如何共享属性的更多信息,请阅读下面的文章,该文章介绍了VC ++与Visual Studio 2010的共享属性,但也可以在Visual Studio 2013中使用.希望它能为您提供帮助.
More information about how share properties, please read following article which introduce sharing properties in VC++ with Visual Studio 2010, but it also can be used in Visual Studio 2013. Hope it can help you.
http://www.codeproject.com/Articles/319827/Sharing -project-properties-in-Visual-Cplusplus
最好的问候,
威威
Best Regards,
Weiwei
这篇关于如何将当前项目属性转换为VS2013中的属性页?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!