【发布时间】:2016-12-19 17:37:47
【问题描述】:
我只是在 WPA 应用程序中使用 JumpList。我已将此代码添加到我的App.xaml:
<JumpList.JumpList>
<JumpList ShowRecentCategory="False" ShowFrequentCategory="False">
<JumpTask Title="New Note" Description="Create new note"
Arguments="/new" CustomCategory="Actions"/>
</JumpList>
</JumpList.JumpList>
然后我决定不在我的应用程序中包含该功能,因此我删除了这些代码行,但是当我右键单击任务栏图标时,该项目仍在 JumpList 上。
我找到了指向从 %APPDATA%\Microsoft\Windows\Recent\AutomaticDestinations\ 删除文件的解决方案,但没有帮助。
清理或重建项目没有帮助。
【问题讨论】:
-
您是否尝试过将
<JumpList>留空并运行您的应用程序? -
理查德,非常感谢,成功了。将此解决方案发布为答案,我会接受。
标签: c# wpf windows visual-studio jump-list