asp.net config transforms - don't apply for normal builds, only publish -
we have number of config transforms enable publish particular environment correct options specified in web.config.
however, useful run application locally while specifying particular build configuration. enable run app locally , have connected live database, example - quite handy when tracking down bugs, example.
however, when press f5 run app locally, regardless of build configuration selected, no transform of web.config file appears occur.
is normal behaviour , possible change it?
reposted comment:
yes, normal behaviour. it's nuisance because makes whole thing feel half-a-job-ish , agree there should option opt-in same transformations being applied during standard build. haven't found vs extensions can yet, though imagine done. make ".local" version of build configs , publish local iis can attach quickly/easily if want use diffferent environment/config's web.config. requires duplication, job
thanks david
Comments
Post a Comment