码迷,mamicode.com
首页 > 其他好文 > 详细

如何转换任何配置文件 文件中的内容

时间:2017-01-12 02:30:14      阅读:232      评论:0      收藏:0      [点我收藏+]

标签:splay   setting   debug   images   back   lin   tac   pad   app   

 

引言

Web.config 通过web.Release.config 和web.Debug.config文件来实现不同编译配置下生成不同的配置文件,

但有时为了区分appSettings节点的配置内容,我们会单独放到一个文件。

以便我们更好的查看,修改(维护),这样我们如何像Web.config 那样优雅的处理这种转换呢?

本文中提及的插件就是解决这个问题的

 

Vs 插件

技术分享

 

 

参考

SlowCheetah - Web.config Transformation Syntax now generalized for any XML configuration file

How to apply config transformations to an external config file

如何转换任何配置文件 文件中的内容

标签:splay   setting   debug   images   back   lin   tac   pad   app   

原文地址:http://www.cnblogs.com/HQFZ/p/6274268.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!