SolutionIcon icon indicating copy to clipboard operation
SolutionIcon copied to clipboard

Icon not showing

Open Spoelle opened this issue 7 years ago • 4 comments

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 avatar May 22 '17 07:05 Spoelle

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 avatar May 23 '17 07:05 Spoelle

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 avatar May 23 '17 07:05 ashmind

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 avatar Nov 10 '20 15:11 ygoe

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

ygoe avatar Nov 10 '20 15:11 ygoe