[英]The anti forgery token could not be decrypted? [Cant get rid of this strange error]
[英]Cant get rid off JumpTask item
我只是在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>
并运行一次。 然后,如果需要,您应该能够从标记中完全删除<JumpList>
。
如果<JumpList>
元素不存在,则更新跳转列表的代码将永远不会执行,并且Windows将继续使用以前的跳转列表。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.