Today I got this weird error in one of our projects in Visual Studio while getting latest from my Git repository:
Files has invalid values
The solution would give this error on "clean" or rebuild. After some Google searches, I found a fix to this error: simply delete the "obj" folder for the errant project. I did this and did a Clean and rebuild, and it worked fine this time.
Hope this quick fix helps others.