Visual Studio can't 'see' my included header files

后端 未结 10 1156
囚心锁ツ
囚心锁ツ 2020-12-10 00:30

I created an empty \'Demo\' project in Visual Studio 2008 and added some existing projects to my solution. Included \"MyHeader.h\" (other project\'s header) in main.cpp file

10条回答
  •  天命终不由人
    2020-12-10 01:17

    Delete the .sdf file that is in your solution directory. It's just the Intellisense database, and Visual Studio will recreate it the next time you open that solution. This db can get corrupted and cause the IDE to not be able to find things, and since the compiler generates this information for itself on the fly, it wouldn't be affected.

提交回复
热议问题