Open networkfusion opened 2 years ago
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
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.
vsregedit set local HKLM “ImageLibrary” TraceLevel string Verbose
vsregedit set local HKLM “ImageLibrary” TraceFilename string ImageLibrary.log
devenv /updateConfiguration
to ensure any caching issues are capturedImageLibrary.log
in the %USERPROFILE%
folder. vsregedit set local HKLM “ImageLibrary” TraceLevel string Off
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
After updating to v17.7.3 a few days ago, I still have the extension with icons. Hopefully this has been fixed upstream...
Haven't seen them for a while.. Looks much better now 😀
One week later, icons have disappeared :(
Any updates to fix this issue guys 👍 . My suggestion is that this device explorer window must remove and replace that window by a sub-menu somehow. 👍
It quite frustrating as it "comes and goes". About a month ago I lost my icons. The command "devenv /updateconfiguration" run at the developer prompt can fix this sometimes. I don't have icons at the moment, and this did not fix my problem. I have been waiting for Microsoft to finish off their new Visual Studio Extension development system which is easier to debug and develop ( I hope). Still waiting and when it comes we could use this
I did wonder if the fact that our icons are .png and not the older .ico has anything to do with the mishandling by Microsoft code.
Not sure if it helps at all but it looks like the issue also impacts the project icons (library and application projects but not unit tests):
Any updates to fix this issue guys 👍 . My suggestion is that this device explorer window must remove and replace that window by a sub-menu somehow. 👍
How's that? There is already an entry under View menu to show/hide Device Explorer.
If you guys go through the related issue in VS Developer Community you'll see that this has to do with the naming of the resources, and the strong naming and other stuff that VS resource manager is doing trying to find the image resources. Unrelated with image the format. And yes, it affect anything image resource related... 😞
Any updates to fix this issue guys 👍 . My suggestion is that this device explorer window must remove and replace that window by a sub-menu somehow. 👍
How's that? There is already an entry under View menu to show/hide Device Explorer.
Yes, we can hide or show the device explorer. I means if you guys can create an sub menu (without icon or using default icon) for example it will be like this in Visual Studio : View-->Other Windows-->Device Explorer--> Ping Device or Show Setting. And problem will be solved. 👍
To fix it:
ProvideCodeBase
attribute to AssemblyInfo.cs:Include this targets file in your project
And add this to the end of your .csproj:
<Import Project="PrepareImageManifest.targets" />
Build and run.
Hey @softworkz! Just read your detailed analysis at developer community issue. Nice. Thanks for taking the time to investigate this and provide a fix. We'll be on this ASAP! 👍🏻 🥇
With 2023.3.0.67 all works fine again! Thanks a lot @softworkz for the deep investigation!
With VS 17.8.1 and NF 2023.3.0.67 extensions icons are back. Thanks @softworkz!
The favor is mutual since I learn a lot from existing VS project system extensions.
Let's help other extension developers not needing to go through all the trouble by upvoting here: https://developercommunity.visualstudio.com/t/VSSDKCPSExtensibility:-Image-Loading-i/10525678
and here: https://github.com/microsoft/VSProjectSystem/issues/373
Re-opening as unfortunately it is still occuring.
To fix it temporary, go to extension, disable nanoframework and re-enable it. After that restart your visual studio, all icons will appear.
To fix it temporary, go to extension, disable nanoframework and re-enable it. After that restart your visual studio, all icons will appear.
Nice workaround!
Both workaround doesn't work for me.
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.