.net 配置文件设计工具 Configuration Section Designer

Configuration Section Designer 简称 CSD

下载及英文介绍地址点击我

以下为简单使用说明

选择自己需要的版本安装好该设计插件之后重启vs

新建选择

image

在工具栏里选择想使用的工具 拖转添加

image

在属性里关联配置节点类型等 (别忘了命名空间)

image

如果配置不正确 可根据错误提示做相应的修改

自动生成的代码

image

调用事例

image

原文地址:https://www.cnblogs.com/yahue/p/3582340.html