如何更改已发布的C#应用​​程序的图标

时间:2018-08-10 08:48:01

标签: c# wpf visual-studio clickonce

我发布了我的wpf应用,但出现了这个图标:

enter image description here

如何替换此图标以及Visual Studio中的设置名称?

我尝试过:右键单击项目->属性->应用程序->图标和清单->浏览到我的图标。

但这仅更改了窗口顶部的图标,例如:

enter image description here

1 个答案:

答案 0 :(得分:2)

恐怕ClickOnce的可定制性不是很高。您可以按照@Equalsk的建议在此处发布应用程序后,更改setup.exe图标。

How to change Setup.exe icon when publishing through clickonce

然后,您还可以更改文件名:

How to rename setup file in ClickOnce?