Visual Studio解决方案-如何确保共享项目属性? [英] Visual Studio solutions - how to ensure project properties are shared?

查看:140
本文介绍了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解决方案-如何确保共享项目属性?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆