简体   繁体   中英

Application Icon Visual Studio 2010 c++

I wanted to clear a confusion here.

I changed the application icon for the .exe file using the solution here . When I locate the .exe file in explorer I do see the change in the icon.

However, when I run it on debug mode from Visual Studio 2010, the changed icon does not show up - it shows the generic white box.

So I was just wondering if this is an expected behavior or not? My application will still have the new icon when I generate the .exe file in release build right?

As Hans Passant said in the comment:

It is expected. Google "reset shell icon cache"

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM