Cannot Open Generated Source File

I see this message occasionally and follow the same flow (delete Intermediate, regenerate VS project etc). The only thing I do differently is after regenerating the VS project, I open visual studio and hit Rebuild all.