visual-studiovisual-studio-2022hot-reload

Hot Reload doesnt work in Visual Studio 2022 - C# (No code changes were found)


It has worked well in past, but since a while Hot Reload doesn't work to me in Visual Studio 2022 - C#

No matter what change I made it says 'No code changes were found' and obviously changes made are not being honoured

enter image description here

Im running app in debug mode, solution has debug config Below my settings.

Any idea how to make this working again? I very miss this feature... :(

enter image description here


Solution

  • This issue seems to have been resolved with 17.3.6 of Visual Studio. I was experiencing the same issue with 17.2.5 where it reported no code changes. Upgrading fixed the issue.

    There was evidence of others having the same issue with 17.2.5 in this microsoft thread; https://developercommunity.visualstudio.com/t/vs2022-hot-reload-edits-were-made-which-cannot-be/1703108#T-N10079489

    Also reports that it was fixed with 17.3.0 release. https://developercommunity.visualstudio.com/t/vs2022-hot-reload-edits-were-made-which-cannot-be/1703108#T-N10109880