Cannot build while running project in 5.4.2

Check the usual culprit => Live Coding.
Try turning it off. Then save (so it remains unchecked in the project).
Now you should be able to build with the running project, no need to even restart.