Home
Home copied to clipboard
VS2022: Device Explorer tool window icons missing after VS extension update
Tool
Visual Studio extension
Description
Currently the icons sometimes "disappear" when the VS2022 nanoFw extension is updated. This is a potential solution is outlined in "https://stackoverflow.com/questions/58311920/visual-studio-vsix-extension-not-showing-in-tools-menu" (although there are possibily other fixes). A solution like this "should" be tried before escalation to the VS team, as although there is a workaround (via: devenv /updateConfiguration) it is annoying.
How to reproduce
No response
Expected behaviour
No response
Screenshots

Aditional context
A test fix was applied via https://github.com/nanoframework/nf-Visual-Studio-extension/pull/710 but it was unsuccessful.
⚠️ Issue reported to VS team. Please up-vote and add your comment here.
Original issue closed prematurely was here.
WORKAROUND
After closing Visual Studio, run devenv /updateConfiguration from VS developer command prompt.
Hi,
Not that this helps - but I'm seeing the same thing. All NF buttons in solution explorer are now blank.
Hi,
Not that this helps - but I'm seeing the same thing. All NF buttons in solution explorer are now blank.
This is how you can fix it, run: devenv /updateConfiguration from the developer command prompt. Close all the Visual Studio instances before.
Indeed, deployment feature also restored by running devenv /updateConfiguration

⚠️ Issue reported to VS team. Please up-vote here!
There are reports of this happening, so the fix may not be that good... cc @DaveSchmid
Reported back to VS Developer community: https://developercommunity.visualstudio.com/t/Extension-icons-missing-after-update/10242633#TPIN-N10245020-N10253771
Instructions on how to gather a log of issues loading images, taken from here
To toggle logging, follow the instructions below. That will create a log file called ImageLibrary.log in the %USERPROFILE% folder.
- Enable the logging with
vsregedit set local HKLM “ImageLibrary” TraceLevel string Verbose
vsregedit set local HKLM “ImageLibrary” TraceFilename string ImageLibrary.log
- With VS closed, open a VS developer prompt and run
devenv /updateConfigurationto ensure any caching issues are captured - Then launch VS and ensure your icons are missing to capture any runtime issues.
- Grab the log file
ImageLibrary.login the%USERPROFILE%folder. - Turn off tracing with
vsregedit set local HKLM “ImageLibrary” TraceLevel string Off
- Upload your log in this issue and/or directly at the issue in VS Dev Community here
I tried it. Now the icons are back. :- ) But no ImageLibrary.log on the whole computer.
@TerryFogg do not upin this issue. It's critical and it's meant to be highlighted at the top.
@josesimoes Sorry, I don't remember doing this? and I wouldn't normally. I will be a bit more careful
I did this steps, but VS didn't generate ImageLibrary.log file. 😢 https://github.com/nanoframework/Home/issues/1009#issuecomment-1385553170


So is there any update to solve this problem so far guys?
Thank you for your hard work. Please let me know when you repair it. Thank you.
Thank you for your hard work.
Thank you for your kind words.
Please let me know when you repair it. Thank you.
Just subscribe to the issue that's tracking this and you'll be notified.
update to vs2022 17.5.5,the icon coming back..............
@pt2go me too.
Still missing icons after updating to version 17.5.5, the device explorer's icons appear just 1 time :) right after the updating and its icons were disappear again after restart visual studio 2022. Pls fix it. Thanks guys.
Still missing icons after updating to version 17.5.5, the device explorer's icons appear just 1 time :) right after the updating and its icons were disappear again after restart visual studio 2022. Pls fix it. Thanks guys.
.......right,icon miss
I updated VS to 17.6.2 version and now is working
Updated to VS 17.6.2 and is not working :(
I updated VS to 17.6.2 version and now is working
my vs with 17.6.2 working perfect!
After updated my nanoframework extension for visual studio to the latest version and updated my visual studio to version 17.6.2, the icon re-appear again and it works perfectly. Thanks guys. 👍
I confirm now it's working. VS 17.6.2 and nanoFramework extension 2022.3.0.60 solved the issue.
Hi, I’ve had a bad luck with mine. VS 17.6.5 and nanoFramework extension 2022.3.0.60 . The icons are still missing. Anybody else is having the same issue?
Hi, I’ve had a bad luck with mine. VS 17.6.5 and nanoFramework extension 2022.3.0.60 . The icons are still missing. Anybody else is having the same issue?
Yes, I did. Closing all Visual Studio, then openeing the VS Dev command prompt and then running: devenv /updateConfiguration did fix the issue.
Confirm that after update vs studio 2022 to version 17.6.5, the icon was disappeared again. I also tried to run the devenv cmd for updating the configuration but could not fix the problem. Pls fix it guys. Thanks
To fix the missing icon after updating vs studio 2022 to 17.6.5, I close all visual studio 2022 app and go to start -> all apps -> Visual Studio 2022 -> x64 native tool command prompt or x86 native tools command prompt . Dont use the developer command prompt, it wont work. And run this command: devenv /updateConfiguration to fix the problem like Ellerbach mention in the previous posting. :D
devenv /updateConfiguration
doesn't take effect, still blank toolbar, empty icon
Run x64 native tool command prompt as administrator