This happened to me and opening in notepad then closing didn't work. Here are the steps I took that resolved the problem. I don't know if all are needed as I did all at once.
1) right click on resources.rc and select "view code"
2) close resources.rc
3) right click on resource.h and select "view code"
4) close resource.h
5) select Build > Clean Solution
1) right click on resources.rc and select "view code"
2) close resources.rc
3) right click on resource.h and select "view code"
4) close resource.h
5) select Build > Clean Solution