有几种方法可以实现:
- 如此处所示,在machine.config中放入常用配置设置.
- 将通用配置设置放入中间文件中,并链接到每个项目的app.config中,如
- Put common configuration settings in machine.config as shown here
- Put common configuration settings in a central file and link to that in each projects's app.config as shown here
- Store the configuration settings in the registry
对我来说,我总是使用最后的解决方案:)
祝你好运!
For me, i always work with the last solution :)
Good luck!