本文介绍了Visual Studio解决方案-如何确保共享项目属性?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如果您使用Visual Studio 2008,并且解决方案中包含许多项目文件,如何使它们保持同步?换句话说,如果您在一个项目中更改属性,那么如何确保在其他项目中自动更改此属性?
If you use Visual Studio 2008 and have many project files within solutions how do you keep them in sync? In other words, if you change a property in one project, how do you ensure that this property is automatically changed in other projects?
推荐答案我最终使用了Visual Studio中可用的全局变量.这些是像$ ProjectName之类的变量. VS中已经有很多可用的功能,它们也可以由用户定义.
I ended up using global variables available within Visual Studio. These were variables like $ProjectName and the like. There are many available already within VS, they can be user-defined as well.
更多推荐
Visual Studio解决方案
发布评论