Add Config Transforms is not displaying, why?

若如初见. 提交于 2019-12-22 10:08:50

问题


I don't know if this is an environmental issue or something; however, I have been in Configuration Manager and I have added a new "Test" and "Release", now those appear along with Debug. I went to my Web.config and right clicked and I am not seeing the "Add Config Transforms". My end goal is to change the based on what environment I am publishing to. What are my options to make this work?


回答1:


Is the project a Web Site? The web.config transforms seem to be only available for Web Application, but not for Web Site projects. Please reference http://msdn.microsoft.com/en-us/library/vstudio/dd547590(v=vs.100).aspx#deployment



来源:https://stackoverflow.com/questions/23790603/add-config-transforms-is-not-displaying-why

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!