简体   繁体   中英

App.Config bundling

Is there a way to have 'bundled' application configuration files similar to the web.config-Transformations?

/// app.config

  <bla>value</bla>
  <connectionStrings configSource="Config/connections.config />

/// connections.config
  <connectionString>
     <clear />

which would result into

/// MyApp.Config
  <bla>value</bla>
  <connectionString>
     <clear />
  </connectionString>

Currently, I have to mark all my configuration files as "Always copy"...

配置转换中有一个免费插件

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM