Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Icon not showing #6

Open
Spoelle opened this issue May 22, 2017 · 4 comments
Open

Icon not showing #6

Spoelle opened this issue May 22, 2017 · 4 comments
Assignees

Comments

@Spoelle
Copy link

Spoelle commented May 22, 2017

Your extension is a very good idea ! But I got an issue on Windows7 / V Studio 2015 Professional

Output window when opening a solution:

Solution 'ServiceCenter.Electro' opened.
Solution 'ServiceCenter.Electro': found icon at 'C:\Development\VB.Net\Krefel\Applications\ServiceCenter.Electro\favicon.ico'.
System.InvalidOperationException: A valid active Window is needed to update the Taskbar.
at Microsoft.WindowsAPICodePack.Taskbar.TaskbarManager.get_OwnerHandle()
at Microsoft.WindowsAPICodePack.Taskbar.TaskbarManager.SetOverlayIcon(Icon icon, String accessibilityText)
at SolutionIcon.Implementation.SolutionIconManager.SolutionEvents_Opened()

Thanks, Luc

@Spoelle
Copy link
Author

Spoelle commented May 23, 2017

I did some more tests and put a ico file named ".editoricon.ico" in the solution root. Output window:
Solution 'ServiceCenter.Electro' opened.
Solution 'ServiceCenter.Electro': found icon at 'C:\Development\VB.Net\Krefel\Applications\ServiceCenter.Electro\.editoricon.ico'.

But no icon...

image

@Spoelle Spoelle closed this as completed May 23, 2017
@ashmind
Copy link
Owner

ashmind commented May 23, 2017

Thanks for reporting this. Are you using small taskbar icons?
Unfortunately this extension does not support small icons due to limitations of Windows, see #2.

@ashmind ashmind reopened this May 23, 2017
@ashmind ashmind self-assigned this May 23, 2017
@ygoe
Copy link

ygoe commented Nov 10, 2020

I, too, have an icon that fails to show now. I've opened that solution before, and with this extension, I saw a generated icon with the solution's capital letters. After adding a .editoricon.png file like I successfully did in 2 other solutions, it doesn't show up here. Not after restarting VS. It's also 32x32 pixels as both others. Created with the same software (paint.net). I still see the generated icon with the letters. Is it cached somewhere? Where can I find out why it's not showing?

@ygoe
Copy link

ygoe commented Nov 10, 2020

I converted the .png into a .ico, with the same size, only 32x32, and that works. The .png not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants