Saturday, January 18, 2014

Web.config Transformations Reminder

To save me more future frustration, Web.config transformations from Web.Release.config and/or Web.Debug.config don't seem to work when ran locally within VS. At one point I even think I saw a reference confirming this somewhere but I can't seem to find it now.

You can test your transformations in a couple of ways.
  • Use the right click context menu that pops up when you click on one of the transformations and select "Preview Transform" to test your transformation.
  • Publish your web app to a local folder as explained here and take a look at the resulting Web.config.

No comments:

Post a Comment