如何在 ASP.Net MVC 6 中编辑和继续 [英] How to Edit and Continue in ASP.Net MVC 6

查看:24
本文介绍了如何在 ASP.Net MVC 6 中编辑和继续的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

回到使用旧版本 Visual Studio 和 ASP.NET 的时代,可以在调试代码时编辑代码(即使有一些限制).

Back in the days using older versions of Visual Studio and ASP.NET was possible to edit the code while you were debugging it (even with some limitations).

如何在 VS 2015 RC 中启用编辑并继续使用 ASP.Net/VNext (MVC 6).这个功能可用吗?我收到的消息是:

How can I enable edit and continue using ASP.Net/VNext (MVC 6) with VS 2015 RC. This feature is available? The message that I receive is:

如果在调试开始时未构建项目,则不允许进行更改".

"Changes are not allowed if the project wasn't built when debugging started".

如何在调试模式启动时构建项目?

How can I build the project when the debug mode is starting?

推荐答案

Edit and Continue 目前不适用于 Visual Studio 2015 中的 ASP.NET 5 应用程序,但计划在 2015 年最终版本中支持它.

Edit and Continue does not work for ASP.NET 5 applications at this point in Visual Studio 2015, but it is planned to support it in the final 2015 release.

有关 VS2015 ENC 更改的更多信息,请查看此博客条目:http://blogs.msdn.com/b/visualstudioalm/archive/2015/04/29/net-enc-support-for-lambdas-and-other-improvements-in-visual-studio-2015.aspx

For more information about VS2015 ENC changes, have a look at this blog entry: http://blogs.msdn.com/b/visualstudioalm/archive/2015/04/29/net-enc-support-for-lambdas-and-other-improvements-in-visual-studio-2015.aspx

这篇关于如何在 ASP.Net MVC 6 中编辑和继续的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆