在Visual studio调试MVC Web启动Edit and continue的两个步骤

码农们在debug代码的时候,经常会希望在断点进行时对代码立即进行修改,而且修改完之后希望能够马上看到效果,否则的话,就得推倒重来,在进行大项目开发的时候,编译一次的成本也是非常之高的。这里说一下两个步骤的设置,可以解决这个问题:

1.在visual studio的Tools->options->Debugging->Edit and Continue下,在向导中勾选 “Enable Edit and Continue”

2.在你要调试的项目中,选择“项目“,右键菜单属性->Web->“Enable Edit and Continue”

总之两点,缺一不可哦。

原文地址:https://www.cnblogs.com/shineqiujuan/p/3073781.html