Search code examples
asp.net.netasp.net-mvcweb.config-transform

Transformation Syntax for Web Application


Do you think it's possible to use same mecanism as 'Web.config transformation' for other file (like NLog.config in my case) ?

If yes, what can I do ?


Solution

    • In your VS 2015 instance, Go to Tools >> Extensions and Updates
    • Search for "SlowCheetah" in "Online"
    • Once found, download and install the extension
    • Restart VS 2015 for changes to take effect
    • Open the solution
    • Right-click the XML file where you want to add the transforms, and click "Add Transform" option.

    Done, you should see now transformed XML files for each configuration profile.