Stefan Wuebbe
Stefan Wuebbe

Reputation: 2149

Visual Studio 2022: "Task List" window is empty when VS starts

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?

Upvotes: 11

Views: 4075

Answers (4)

Ricardo Virtudazo Jr
Ricardo Virtudazo Jr

Reputation: 351

I encountered the same issue on VS 2022 17.10.3. For me, this worked:

  1. Exit Visual Studio.
  2. Go to the folder of your solution.
  3. Delete the hidden .vs folder.

When something unexpected happens in my solution on VS, I usually do this trick first.

Upvotes: 6

Navigator
Navigator

Reputation: 86

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.

Upvotes: 7

MichP
MichP

Reputation: 11

This also happened to me. I have been using VS 2022 for a while, and today is the first time I've seen it. Making a small code edit didn't change anything, but just closing and restarting VS did.

I have been clearing caches and cleaning solutions today. I have also had both 2019 and 2022 open, but that hasn't caused a problem (that I've noticed) before.

Upvotes: 1

Stefan Wuebbe
Stefan Wuebbe

Reputation: 2149

Doing a "Visual Studio Installer" -> "Repair" seems to have cured the symptom so far fortunately. (That part took a while though and also demanded an O/S restart. Reinstalling one Extension and arranging desired IDE/Debug windows layout afterwards was easy.)

Upvotes: 4

Related Questions