Whenever I debug a Visual Studio 2010 web application project, any changes to ASPX files have no effect – the pages are not recompiled. Edits in code-behind works as usual.
I recently switches to Windows 7 64-bit (from 32 bit), but if I’m not crazy editing ASPX files worked in the 64 bit environment a few days ago.
I am using Visual Studio 2010 SP1 (Version 10.0.40219.1 SP1Rel).
I have tried all the combinations of “Edit and Continue”, “Break all processes when one process breaks” and “Require the source file to exactly match the original version” I can think of, but nothing seems to work.
I’m using IIS Express as web server (Use Local IIS Web Server / Use IIS Express) and have done so even when it was working.
Thankful for any advice!
Problem solved. I had manually set a registry setting (HKLM\SOFTWARE\Wow6432Node\Microsoft\ASP.NET\FCNMode = 1) to try to fix another issue with UNC virtual folders. That flag disables File Change Notification also on local files. I had completely forgot about this flag, but it is of course the obvious cause for my problem.
Thanks for the input!