Skip to content
/ ctt Public

Config Transformation Tool (web.config, app.config)

License

Notifications You must be signed in to change notification settings

giansalex/ctt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

92 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

XDT Transformation Tool

Build status

XDT Transformation tool is a command tool based on XDT (web.config) transform engine, which allows you to run XDT transformation on any XML files.

Scott Guthrie: "In most real-world deployment scenarios, the web.config file you use for development is different than the one you use for production deployment. Typically you want to change environment settings like database connection-strings, making sure debug is turned off, and enabling custom errors so that end-users (and hackers) don’t see the internals of your application."

If you want to know more about XDT Transformation Syntax, follow this link Deployment Web Application Project.

Install

Using chocolatey.org.

choco install ctt

Also, you can download from latest Build.

Usage

ctt source:"Web.config" transform:"Web.Release.config" destination:"dist\Web.config" pw

Flag pw preserve whitespace, more options ctt --help.

Reference