如何在c#net中以编程方式更改exe图标 [英] How to change exe icon programmatically in c# net

查看:25
本文介绍了如何在c#net中以编程方式更改exe图标的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有多个产品,每个产品都有不同的.Icon,我们需要以编程方式更改exe图标,以便用户可以看到每个产品的不同exe图标.

I have multiple products, for each product we have different .Icon, We need to change the exe icon programmatically, So it that user can see different exe icon for each product.

推荐答案

也许您可以为不同的产品使用不同的发布配置文件?您还可以一次将所有图标添加到项目中,然后在快捷方式上更改它们.

Perhaps you can have a different publish profile for the different products? You could also add all the icons to the project at once and change them on the shortcuts.

这篇关于如何在c#net中以编程方式更改exe图标的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆