Edit and Continue does not Work in VS 2010 / ASP.Net MVC 2

后端 未结 4 1310
臣服心动
臣服心动 2021-01-11 13:01

Although Enable Edit and Continue is checked on the Web tab of my ASP.Net MVC 2 project, I cannot in fact change the source code while running. For example, if I try to edi

4条回答
  •  谎友^
    谎友^ (楼主)
    2021-01-11 13:44

    Further to @Darin's answer I'd have to say I don't like the idea of being able to change code whilst running.

    I think we should be disciplined enough to write a test that reflects the expected outcome, write the code and then test live.

    Having said that though, the way I get around that is to start the application in a browser w/out running, making my changes, compiling and then refreshing the browser.

    Of course then I don't have the benefit of stepping through code but I can attach to the worker process at any time I need to.

提交回复
热议问题