Wednesday, March 9, 2022

Visual Studio, can't find header file

I had a strange problem with VS 2017, where many errors of "cannot find source file xxxx.h" although they are in search path and in incluse vc++ directories of the project.
After some search on the internet, what worked for me is deleting the ".vs" folder of the whole solution after closing VS and starting VS again so the IDE can recreate the solution db again.