编辑并继续在ASP.NET Web项目 [英] Edit and continue in ASP.NET web projects
问题描述
我知道如何使编辑和ASP.NET继续 Web应用程序项目(见<一href=\"http://blogs.msdn.com/webdevelopertips/archive/2008/11/26/tip-29-did-you-know-how-to-enable-edit-and-continue-feature-for-web-application-projects.aspx\">here),不过,我没有发现任何信息如何实现在ASP.NET中的网站的项目同样的事情。
I know how to enable Edit and Continue in ASP.NET Web Application projects (see here), however, I found no information as to how to achieve the same thing in ASP.NET Web Site projects.
时此功能在网站上提供的项目?如果没有,看来我们的网站项目转换为Web应用程序是很值得做的。
Is this feature available in Web Site projects? If no, it seems that converting our Web Site project to a Web Application is really worth doing.
推荐答案
同一个网站项目中编辑并继续默认为禁用。要启用它,你必须去:属性 - >网络 - >服务器部分,选中启用编辑并继续。然后,如果你打破你的code可以对其进行编辑,然后继续。如果你不通过它加强你不能编辑code。即你必须编辑之前打破。
With a website project edit and continue is disabled by default. To enable it you must go to: Properties->Web->'Servers' section, check 'Enable Edit and Continue'. Then, if you break your code you can edit it and continue. You cannot edit the code if you are not stepping through it. i.e. you have to break before editing.
这篇关于编辑并继续在ASP.NET Web项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!