Found several similar questions for older VS versions, some especially mentioning C++. I'm getting the effect with C# as well as VB.Net projects in Microsoft Visual Studio Community 2022 (64-bit) - Version 17.3.3
Steps to reproduce:
//TODO: find this in the IDE's "Task List" window // in the OnGet() event handler
' Or TODO: something ' in VB.Net code
Actual question: Is that a reproducible VS Bug or is it just me / my PC/setup?
In the (hidden) .vs\ProjectEvaluation\ folder, deleting the older versions of the files .metadata.vx.y and .projects.vx.y of the project in question solved the problem for me.
I encountered the same issue on VS 2022 17.10.3. For me, this worked:
When something unexpected happens in my solution on VS, I usually do this trick first.
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