visual studio 2012 - how to add files in web.config transformation process? -


I'm building a website developed in Visual Studio 2012. Web. Confograph is currently making the following files in its changes: - Web.Debug.config - web.Release.config

I recently added a new build configuration (named "staging") to my project is. How do I create a "web.staging.config" conversion file?

There are two ways to do this in the web. Change config file to generate in VS:

  1. If you have a web application project, then right-click web.config and select Add Config Transform. A conversion conversion that will be added to both of your projects based on build configuration (i.e. if you have both production and staging build configs) ).
    • This method is not supported for website methods because they do not support multiple build configurations.
    • Select either a published profile (.pubxml) and select Add Config Transform in the web project type. It will only add a new configuration conversion for that profile
      • Need for it VS2012 Update2 or VS2010 for Azure SDK 2.0 ( I think ) is required.
      • In a Web site project, the new conversion file is not nested under not web.config because VS does not support that behavior just look it up in the root folder.

Comments

Popular posts from this blog

excel vba - How to delete Solver(SOLVER.XLAM) code -

github - Teamcity & Git - PR merge builds - anyway to get HEAD commit hash? -

ios - Replace text in UITextView run slowly -