How to edit and continue in Visual Studio 2008 and ASP.Net MVC?

后端 未结 5 1454
予麋鹿
予麋鹿 2021-02-04 06:01

I\'m trying to get edit-and-continue working with Visual Studio 2008 with an ASP.Net MVC project. I\'m running 64-bit, so that adds to the problem.

In Configuration Mana

5条回答
  •  南方客
    南方客 (楼主)
    2021-02-04 06:59

    I open a separate browser window (so it doesn't close when I stop debugging) then I stop debugging, make changes and build them and just carry on using the other browser window to view the changes. (Yes - this works even with changes in your class files, controllers etc).

    If you just want to change the views, CSS or scripts you just need to shift and refresh to make sure your browser gets the updated files rather than using the cache.

    If this sounds odd to anyone - try it! It works!

提交回复
热议问题