[英]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.