Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio, change app icon, how?

I am working on a first time C# project in Visual Studio 2005 and I am wondering if there is anything special that needs doing to change the application icon apart from changing the correct resource in the project properties.

I manage to view the new icon displayed in Explorer, but the icon in the application, the tray, and the task bar stays as the old icon.

I am wondering if this has anything to do with Windows Vista perhaps caching the applications icon and from then on not really refreshing it. The same happens in Explorer if you have thumbnails turned on.

If it does indeed cache the icon, what can I do to update/delete the cache, and also what is it based on (GUID perhaps? Not file name though as I changed that and still the same).

Thanks

like image 964
mr-euro Avatar asked Sep 22 '09 14:09

mr-euro


1 Answers

It has probably nothing to do with Vista. Following shots shows a Windows Form Apploication runnig on Vista. You may have tried same template but using .Net Framwork 2.0. I am not sure but i think .Net Framework 3.0 was not available with VS 2005. You need to set the Forms Icon property.

like image 188
Asad Avatar answered Sep 16 '22 14:09

Asad