Arghh, here’s a recurring one I hadn’t posted yet. In my case, it happened after a hard checkout – I forced the checkout after offline changes, Visual Studio didn’t detect the changes – no Go Online…
Most of you suggest:
- exclude the file from the Web Application Project
- the recompiles
I just touched the ‘<whatever>.designer.cs’ file and recompiled it. Oh, I’ve finally undone the change :). It was suggested here.