Search code examples
visual-studiodebuggingvisual-studio-2022hot-reload

Hot Reload not working despite default settings in Visual Studio 2022


Hot reload does not work for me in a new default mvc web app.

Native code debugging is off. As specified in Microsoft docs.

VS settings are all default. Running the app with debugging in Visual Studio 2022.


Solution

  • Setting the environment variable COR_ENABLE_PROFILING from 1 to 0 fixes this issue.

    You can check current value in cmd using:

    echo %COR_ENABLE_PROFILING%