Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Browser Not Refreshing Without Rebuilding Project ASP.NET 5.0

I am trying out ASP.NET 5.0 Visual Studio Community 2015.

I have a standard Web Application and just going through the tutorial to get familiar with ASP.NET 5.0

The tutorial states

"Save the file and, without rebuilding the project, refresh your web browser. You should see the updated text. ASP.NET 5 no longer requires that you manually build your server-side logic before viewing it, making small updates much faster to inspect during development."

http://docs.asp.net/en/latest/tutorials/your-first-aspnet-application.html

I tried it and it is not working for me. I noticed when I save the file the break points are now disabled. When I reload the page it does not show the change. Is there a setting or configuration that I am missing to allow this to happen?

like image 292
wolfeh Avatar asked Jul 29 '15 18:07

wolfeh


1 Answers

Make sure you start the project without debugging (Ctrl + F5 in VS instead of F5). The compile on the fly doesn't work with a debugger attached

like image 151
Victor Hurdugaci Avatar answered Nov 04 '22 23:11

Victor Hurdugaci