Edit and Continue in Visual Studio: Debugging .NET Apps Without Restarting
Learn how to use Visual Studio’s Edit and Continue feature to modify C# code while debugging, see a concrete example, and understand its limits.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Learn how to use Visual Studio’s Edit and Continue feature to modify C# code while debugging, see a concrete example, and understand its limits.
Learn how to enable and use Edit and Continue in Visual Studio to apply code changes during a debugging session without restarting, plus its limits and verification steps.
Learn how to apply code changes during a Visual Studio debugging session with Edit and Continue, avoiding full rebuilds and restarts.
Context Visual Studio 2022 offers two mechanisms for applying code changes during a debug session without restarting: Hot Reload (introduced in 2022) and the legacy Edit and Continue (EnC). Hot Reload applies edits while the process continues running, supporting a wider range of changes such as adding methods, modifying lambdas, and updating Razor components