Web.config transformation option is greyed out

前端 未结 10 1189
刺人心
刺人心 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:50

    If it's a custom configuration you're adding via Configuration Manager, be sure to check the "Create new project configurations" checkbox (it's unchecked by default) when you create the configuration.

提交回复
热议问题