Web Generation.Config transform from simulating configuration files
-
There are two configuration files:
- web.config from the developer ' s car (with test tracks) under control source
- web.config from a living car, formerly full copy of the first (except connection string), but which already has many rights in a living car.
I want to build a motor locker. It's for an XML Document Transform - Web.release.config.
The files are the same, the names are the same. But there are many. It's been a long time.
Specify the way the XDT autogenerate is generated in two configuration files.
-
Found a ready utilitator, https://github.com/CameronWills/FatAntelope which does exactly what it takes.
He generated diff and cleaned it up for a few minutes.
Call sign:
FatAntelope source-file target-file output-file [transformed-file] source-file : (input) original config file path. E.g. the development web.config target-file : (input) final config file path. E.g. the production web.config output-file : (output) file path to save the generated patch. E.g. web.release.config
There's an online version. https://fatantelopetester.apphb.com/ - if you're not afraid to put your appearances and passwords on the Internet:
Tulse author ' s post on en.SO: https://stackoverflow.com/a/33659202/1988244