如何共享的App.config? [英] How to Share App.config?

查看:213
本文介绍了如何共享的App.config?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何共享多个项目之间/链接的App.config或Web.config文件?

How can I share/link App.config or Web.config between multiple projects in a visual studio solution ?

推荐答案

添加现有项,你从中获取对话框Visual Studio中的解决方案资源管理器,您可以添加在磁盘上链接到另一个文件的项目中。为了做到这一点,你必须点击向下箭头右侧的添加按钮,并选择添加链接

In the Add Existing Item dialog that you get from Visual Studio's Solution Explorer, you can add a link to another file on disk to the project. In order to do this, you will have to click on the down-arrow on the right side of the Add button and choose Add As Link.

这篇关于如何共享的App.config?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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