This list is WIP.

Visual Studio 2019

Sometimes Visual Studio is not detecting changes in files

Changing some .cpp file did not lead to recompiles after pressing F7 (build). Only Rebuild the complete solution helped. Restart of VisualStudio and even restart of complete computer didn’t help.

I crawled the web (stackoverflow, Microsoft, …) and found some “solutions” (https://developercommunity.visualstudio.com/t/sometimes-visual-studio-is-not-detecting-changes-i/272741) which unfortunately didn’t fit for me.

  1. I was NOT having a wrong system time on files
  2. Reinstalling VS was no choice

So I found it for myself:

Solution:

Delete the TLOGs all.

There is a path to intermediate files (not .exe, but where the .obj are located)

\x64\<Debug|Release>\.tlog

Delete this directory!

Alternativly to make it easier you can delete the complete “x64” directory.

In my case everything worked fine afterwards.

Aufrufe: 111