Yesterday I discovered a handy little Visual Studio extension called, for some reason, SlowCheetah. Once installed you can right-click any XML file (usually you'll use this for config files) and get an 'Add Transform' option.
This allows you to use the
XML transform notation so that published sites will pick up the correct settings based on the configuration used. It also means you won't be publishing files containing settings for other environments.
Nice!
No comments:
Post a Comment