'Add Config Transforms' and One Click Publish option not working when upgraded from Visual Studio 2005 to Visual Studio 2010

隐身守侯 提交于 2019-12-08 04:18:21

问题


I just recently upgrade my asp.net web project from visual studio 2005 to visual studio 2010. The upgrade was successful with no problems however im missing some features with this project. The One Click Publish feature(which is greyed out) in the header area of Visual Studio 2010 and the Add Config Transforms feature which is no where to be seen when you right click on web.config. Any suggestions on how i set this up? When i create a new web project straight from visual studio 2010, these options work fine.


回答1:


Is this a web application project, or a web site project? Web.config transforms are only available in a web application project, as far as I've been able to figure out.



来源:https://stackoverflow.com/questions/3350276/add-config-transforms-and-one-click-publish-option-not-working-when-upgraded-f

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