Visual Studio provides built-in support for editing code behind files at run time. But I was surprised to realize that this actually works when the setting (which can be found in Tools -> Options -> Debugging -> Edit and Continue > Enable Edit and Continue ) is turned off (unchecked).
Cheers,
Samitha
Cheers,
Samitha