Until earlier this week I have been able to make changes to my .cshtml
Razor views while debugging my application and see the changes when I refreshed the page. Now, all of a sudden, the changes are not reflected until I stop debugging and rebuild.
I haven't made any changes in the past week or so that I can think of, to include adding any new NuGet packages.
Edit and Continue is enabled under Tools => Options => Debugging. Also, I'm using VS2015 Professional so IntelliTrace wouldn't be getting in the way.
I have tried the following solutions from another question about Edit and Continue but none have worked for me.
- Close and reopen the solution;
- Restart Visual Studio;
- Make sure I'm not using
dynamic
method parameters; - Delete the
bin
andobj
folders along with the.suo
file in the.vs
folder then restart Visual Studio; - Updated all of the NuGet packages for the solution;
- Ensure
<EmbedInteropTypes>True</EmbedInteropTypes>
is nowhere in my solution; - Run
VsPerfCLREnv /globaloff
.