Web.config transformation option is greyed out

前端 未结 10 1099
刺人心
刺人心 2021-02-04 23:32

In VS2010, when I right click on my web.config file the \"Add Config Transforms\" option is greyed out.

Any idea how I can get that back?

10条回答
  •  渐次进展
    2021-02-04 23:41

    If you want to really see the "Add Config Transforms" enabled , then add a new configuration using the configurationManager. Or delete any of the configuration file web.release.config or web.Debug.config. This is Visual Studio restriction to have a single config file for each environment.

提交回复
热议问题