Why does the desktop icon differ from the explorer icon?

Try deleting %localappdata%\IconCache. Db and restarting Explorer.exe.

Thanks, that did the trick! This seems like an odd problem to have. Do you have more info on the icon cache?

I didn't find anything specific on msdn. For example: How it gets created, and when it normally refreshes. – Blub Nov 3 '10 at 16:03 All I know is that on every Windows machine I've ever had, it gets corrupted, so this is a procedure I'm very familiar with.

IIRC TweakUI had an option to do this on the user's behalf, so it's a problem that MS are aware of. I'm surprised it persists. – spender Nov 3 '10 at 16:09 I added another icon just to check, and this time there was no iconcache.

Db to delete. But restarting the explorer helped anyway. So maybe not even a problem of the cache.

– Blub Nov 3 '10 at 16:11 Yep, icon handling in Windows is a bit borked. The caching is a good thing (especially if your desktop is as crowded as mine), but it's definitely not perfect. – spender Nov 3 '10 at 16:15.

Check the Visual Studio properties window for the EXE's project -- you can specify the icon that's written into the EXE at compile time. This is separate from the icon that's assigned to the XAML window at run time.

1. I did that already, if you mean the "Icon and manifest" setting specified in the Application tab. 2.In the floating properties window are only two choices available: "project file" and "project folder".

No icon. I'm using VS2010.3.I changed the "build action" in the Icon property to "compile", but that didn't fix it. – Blub Nov 3 '10 at 15:54.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions