Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

like image 321
Maciej Avatar asked Dec 19 '25 06:12

Maciej


2 Answers

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

like image 160
Peter Henry Avatar answered Dec 21 '25 23:12

Peter Henry


Just remove your /bin /obj and solutionname.sln.user file and you ready to go.

/Nykkel

like image 43
Mattias Nykkel Avatar answered Dec 21 '25 23:12

Mattias Nykkel



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!