在已发布的C#EXE中更改图标

编程入门 行业动态 更新时间:2024-10-11 17:29:41
本文介绍了在已发布的C#EXE中更改图标的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我有一个已发布的混淆的C#EXE程序集,我需要更新Windows资源管理器中显示的图标(针对特定客户).最好使用批处理文件(命令行)方法.我不得不再次辞职(sn.exe),我不需要帮助. 我知道如果我要创建其他构建配置,这是可能的,但是我必须对其进行两次构建,对它进行两次混淆,并且不希望不必添加它来延长每日构建时间. 有想法吗?有人曾经做过吗?您使用什么方法?

I have a released obfuscated signed C# EXE assembly that I need to update the icon that is displayed in Windows Explorer (for a specific customer). Preferably with a batch file (command line) method. I''d have to resign it again (sn.exe), I don''t need help with that. I know this is possible if I were to create a different build configuration but then I''d have to build it twice, obfuscate it twice and would prefer not to have to add this to extend the daily build time. Ideas? Has anyone had to do this before? What method did you use? Thanks!

推荐答案

带有图标的一般想法是使用exe文件中包含的图标列表进行一次构建.然后,您可以选择最终部署应用程序时包含在应用程序中的任何图标. 您现在可以创建一个快捷方式,然后更改该快捷方式的图标. :-\ The general idea with icons is to build once with a list of icons included in the exe. You can then choose any one of the icons you included within the application when it is finally deployed. You could for now create a shortcut and then change the icon for this shortcut. :-\

只是一个建议-也许Resource Hacker在这种情况下会有所帮助? www.angusj/resourcehacker/ [ ^ ] 请让我知道是否可以. Just a proposal - maybe Resource Hacker will help in this case? www.angusj/resourcehacker/[^] Please let me know if it will.

更多推荐

在已发布的C#EXE中更改图标

本文发布于:2023-11-13 06:00:52,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1583637.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:图标   EXE

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!