The build + intellisense in the Error List quit working on my web project only. The fix that finally worked for me was removing the .csproj.user file. When I opened the solution Visual Studio recreated the file and it was all working as expected.
Then I deleted the new file and put my old one back and it was still fixed, so ¯\(?)/¯