简体   繁体   中英

Is It possible to have more than debug and release web.config versions?

I've got dev , alpha , beta and production environments. I store a few appsettings keys in web.config and use transorfmations to replace dev-setting with production-setting on publish. How can I do same things to replace dev-setting with alpha/beta-setting when publish on corresponding server ?

Yes, it is. You will need to create new build configuration for each additional transformation you need. See post from Troy Hunt here where he is talking about config transforms among other things

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