简体   繁体   English

更改控制台应用程序vb.net的图标

[英]Changing the icon of a console application vb.net

How to change the icon of a console application of vb.net? 如何更改vb.net控制台应用程序的图标? I changed the icon on project properties->Application->icon. 我更改了项目属性->应用程序->图标上的图标。 But the old default icon remains..Any idea on how to do that please? 但是旧的默认图标仍然保留。.关于此操作的任何想法吗?

When i copied the exe to a new folder, the correct icon displayed. 当我将exe复制到新文件夹时,显示正确的图标。 It could be a caching problem with explorer.exe then. 然后,explorer.exe可能是缓存问题。

You probably just need to recompile. 您可能只需要重新编译。 Clean the whole solution, then rebuild. 清洁整个解决方案,然后重建。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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