I've been able to edit and continue for more than a year. I don't know what unfortunate mistake I've made but I'm now not able of editing the code and continuing anymore, as when I try I get the "Changes are not allowed in the following cases".
I've been googling and changing settings for more than half a day straight now! x86, enable and disable, repair VS, 2015 and 2017 versions, check the project settings... As far as I can tell I've touched every single switch I can think of and I still can't edit and continue!
I've noticed though that I can edit and continue on a simple console program (Console.Write and .Read sort of thing) but not on a simple MVC project (the one that comes with the MVC scaffolding) so I'm now thinking is something to do with MVC.
Any thoughts? It's happening even with projects that I could edit and continue with in the past!