WPF应用程序的任务栏中的默认图标不正确 [英] Incorrect default icon in taskbar for WPF applications

查看:288
本文介绍了WPF应用程序的任务栏中的默认图标不正确的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

朋友,

我们已经在wpf中开发了应用程序.因为需要更改应用程序图标.

We have developed application in wpf.As the application icon need to be changed.

我们在所有窗口中添加了图标,并且还在项目的应用程序标签中添加了图标.

We added icon to all the windows and also we added icon to the application tab of the project.

现在单个图标窗口将出现图标,但是当窗口被分组时,图标将作为旧窗口出现.

Now icon is coming for indivisual window.But when the windows are grouped.Icon is coming as old one.

请提出建议.

推荐答案

Jagadish,

Hi Jagadish,

您是否可能使用VS2008?当时,这曾经是越野车(请参阅) 此线程). FWIW,仅在从VS内部运行应用程序时才应用,因此当您直接从WinExplorer中运行应用程序时,该功能就消失了.你有尝试过吗?

would it be possible that you're using VS2008? Back then, this was (once) known to be buggy (see this thread). FWIW, this only applied when the app was run from within VS, so it went away when you ran the app directly from i.e. WinExplorer. Have you tried that? It also might be necessary to compile in Release-mode.


这篇关于WPF应用程序的任务栏中的默认图标不正确的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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