Web.config transformation option is greyed out

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

    Restarting Visual Studio worked for me. I won't say it'll work for everyone, but it's certainly worth trying.

    I had 5 configurations, but only 3 transform files. I was not in debug mode, but the option was still grayed out.

提交回复
热议问题