Home icon indicating copy to clipboard operation
Home copied to clipboard

VS2022: Device Explorer tool window icons missing after VS extension update

Open networkfusion opened this issue 3 years ago • 58 comments

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

image

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.

networkfusion avatar Apr 06 '22 22:04 networkfusion

Hi,

Not that this helps - but I'm seeing the same thing. All NF buttons in solution explorer are now blank.

PNPTransistor avatar Apr 16 '22 23:04 PNPTransistor

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.

Ellerbach avatar Apr 17 '22 14:04 Ellerbach

Indeed, deployment feature also restored by running devenv /updateConfiguration

oloendithas avatar Sep 21 '22 12:09 oloendithas

image

DaveSchmid avatar Dec 18 '22 19:12 DaveSchmid

⚠️ Issue reported to VS team. Please up-vote here!

josesimoes avatar Jan 02 '23 15:01 josesimoes

There are reports of this happening, so the fix may not be that good... cc @DaveSchmid

josesimoes avatar Jan 16 '23 09:01 josesimoes

Reported back to VS Developer community: https://developercommunity.visualstudio.com/t/Extension-icons-missing-after-update/10242633#TPIN-N10245020-N10253771

josesimoes avatar Jan 16 '23 09:01 josesimoes

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.

  1. Enable the logging with
vsregedit set local HKLM “ImageLibrary” TraceLevel string Verbose
vsregedit set local HKLM “ImageLibrary” TraceFilename string ImageLibrary.log
  1. With VS closed, open a VS developer prompt and run devenv /updateConfiguration to ensure any caching issues are captured
  2. Then launch VS and ensure your icons are missing to capture any runtime issues.
  3. Grab the log file ImageLibrary.log in the %USERPROFILE% folder.
  4. Turn off tracing with
vsregedit set local HKLM “ImageLibrary” TraceLevel string Off
  1. Upload your log in this issue and/or directly at the issue in VS Dev Community here

josesimoes avatar Jan 17 '23 14:01 josesimoes

I tried it. Now the icons are back. :- ) But no ImageLibrary.log on the whole computer.

DaveSchmid avatar Jan 17 '23 16:01 DaveSchmid

@TerryFogg do not upin this issue. It's critical and it's meant to be highlighted at the top.

josesimoes avatar Mar 09 '23 09:03 josesimoes

@josesimoes Sorry, I don't remember doing this? and I wouldn't normally. I will be a bit more careful

TerryFogg avatar Mar 09 '23 09:03 TerryFogg

I did this steps, but VS didn't generate ImageLibrary.log file. 😢 https://github.com/nanoframework/Home/issues/1009#issuecomment-1385553170

image

image

matsujirushi avatar Mar 09 '23 11:03 matsujirushi

So is there any update to solve this problem so far guys?

atboxshop avatar Mar 24 '23 01:03 atboxshop

Thank you for your hard work. Please let me know when you repair it. Thank you.

HuaFangYun avatar Apr 13 '23 12:04 HuaFangYun

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.

josesimoes avatar Apr 13 '23 12:04 josesimoes

update to vs2022 17.5.5,the icon coming back..............

pt2go avatar May 04 '23 16:05 pt2go

@pt2go me too.

matsujirushi avatar May 04 '23 23:05 matsujirushi

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.

atboxshop avatar May 05 '23 01:05 atboxshop

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

pt2go avatar May 06 '23 12:05 pt2go

I updated VS to 17.6.2 version and now is working

renerlemes avatar May 25 '23 19:05 renerlemes

Updated to VS 17.6.2 and is not working :(

image

fhtino avatar May 27 '23 06:05 fhtino

I updated VS to 17.6.2 version and now is working

my vs with 17.6.2 working perfect!

pt2go avatar Jun 07 '23 03:06 pt2go

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. 👍

atboxshop avatar Jun 09 '23 03:06 atboxshop

I confirm now it's working. VS 17.6.2 and nanoFramework extension 2022.3.0.60 solved the issue.

fhtino avatar Jun 09 '23 04:06 fhtino

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?

jouda13 avatar Jul 11 '23 19:07 jouda13

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.

Ellerbach avatar Jul 12 '23 08:07 Ellerbach

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

atboxshop avatar Jul 13 '23 08:07 atboxshop

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

atboxshop avatar Jul 15 '23 03:07 atboxshop

devenv /updateConfiguration

doesn't take effect, still blank toolbar, empty icon

manuel76413 avatar Aug 20 '23 14:08 manuel76413

Run x64 native tool command prompt as administrator

atboxshop avatar Aug 21 '23 05:08 atboxshop