Using latest VS2022 preview (but have this also on stable) C++ (VC17)
What I often get is that I build or rebuild, then get some warnings in
I then fix a warning in the editor, but now
The only way I can then refresh the warnings in the Error List is to unload+reload the solution which is not workable
Any help ?
To temporarily resolve this intermittent behavior, consider deleting .vs
hidden sub-folder in the same folder as the solution when the solution is closed.
I believe that gunk in internal database resulting from VS upgrades, as well as from crashes with disk cache turned on cause a whole bunch of this unhappy user experience.
On modern SSD/NVMe drives, try disabling the write cache in the device manager. It might provide good prevention, yet without imposing undue performance hit. Test, test, and test again, my friend.
In my case the error list is refreshed, when new build is occured. I discovered there is an error list setting, which determines what error must be displayed:
When you choose 'Build + IntelliSense' the problem will solved. The errors list are refreshing immediately.
However the IntelliSense error in some very rare cases are different then the real build errors, usually the IntelliSense reports something as error, but the builds can handle it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With