VSCode icon in task bar is blank

Viewed 6326

This is how Vscode appear in task bar , I don't know why

enter image description here

6 Answers

Open Windows Explorer, go to %userprofile%\AppData\Local, delete IconCache.db. (This file is hidden, so it you don't see it, you will need to adjust your Windows Explorer settings to show hidden files.)

Open Task Manager, go to Processes tab, highlight explorer.exe, and click End Process. Your desktop will "disappear."

Still in Task Manger, select File > New Task (Run...), type explorer.exe, and click OK. Your desktop should reappear, with the previously missing icons.

This just happened to me, and after a bit of fiddling around I managed to fix it.

  1. Open VS Code
  2. Right-click on the open VsCode icon that is blank in your task bar.
  3. Click the button that says Microsoft Visual Studio Code
  4. Right-click again, and click pin to task bar.
  5. Voila

I used another method that worked pretty well

1.Open VS Code
2.Right-click on the open VsCode icon that is blank in your task bar.
3.Right-click the button that says Visual Studio Code, click on properties.
4.On the Shortcut tab, click on Change Icon...
5.Select the VsCode Icon and press Apply.

And that should fix the problem.

In my case, I'm using a portable version and I just updated it and the folder location was different than the last one and I deleted the older version of the VS Code which was installed using the installer.

Vs Code Open Menue

Above Image is after I resolve the issues

Upon clicking the Visual Studio Code button it says me that shortcut is missing thr target. 1). Then I pinned that to my taskbar. 2). Clicked on that shortcut and windows told me to delete since the target is missing. 3). And oppned the VS Code regurelly as I do normally from my Unity Editor.

Note. I'm using VS Code with Unity so your milage may very.

I started seeing this after I uninstalled VS Code installed with the system installer to C:\Program Files\Microsoft VS Code, and re-installed it with the user installer.

All I had to do was:

  1. unpin VS Code from the task bar (this shortcut points to the old non-existent installation)
  2. start VS Code from the start menu (the correct icon will now be shown)
  3. pin VS code back to the task bar

For me after killing VS Code in task manager and then again opening it using window key helped.

Related