0

I have a dll C++ project in Visual Studio 2017. I was changing the includes, libs, adding additional paths n VC++ directories, now I seems to clean everything - in VC++ directories in project properties, in al h and cpp files - there are quite a few of them. But still project somehow remembers previously used includes and when I click F12 on the class, that is defined in two headers (but with different namespaces), it opens "old" header, that is not included anymore, despite it's written propernamespace::classname, it jumps to the file where it is differentnamespace::classname.

Though this header isn't listed in the "External Dependencies" in the Solution Explorer. Nor in the vcxproj file. How to make my project to forget not included at the moment headers?

Bruice
  • 543
  • 3
  • 11
  • Might be related to [refreshing-the-auto-complete-intellisense-database-in-visual-studio](https://stackoverflow.com/questions/18289936/refreshing-the-auto-complete-intellisense-database-in-visual-studio). – Jarod42 Mar 03 '21 at 17:08
  • Have you set both `x86` and `x64`, or `Debug` and `Release` modes? – Barrnet Chou Mar 04 '21 at 03:21
  • @BarrnetChou ye, I've checked all those – Bruice Mar 04 '21 at 08:48
  • Is there any error message? If so, could you show it? If you could show the `Properties` settings of VS, including `VC++ Directories`, `C/C++->Genreal` and `Linker->Input`, it will help solve the problem. – Barrnet Chou Mar 05 '21 at 05:44

0 Answers0