卸载UWP应用程序后如何删除桌面快捷方式

卸载UWP应用程序后如何删除桌面快捷方式,uwp,uwp-xaml,desktop-shortcut,Uwp,Uwp Xaml,Desktop Shortcut,我使用这段代码以编程方式创建桌面快捷方式,因为无法使用任何包功能创建 object shDesktop = (object)"Desktop"; WshShell shell = new WshShell(); string shortcutAddress = (string)shell.SpecialFolders.Item(ref shDesktop) + @"\Appss Windows Messenger.ln

我使用这段代码以编程方式创建桌面快捷方式,因为无法使用任何包功能创建

object shDesktop = (object)"Desktop";
            WshShell shell = new WshShell();
            string shortcutAddress = (string)shell.SpecialFolders.Item(ref shDesktop) + @"\Appss Windows Messenger.lnk";
            IWshShortcut shortcut = (IWshShortcut)shell.CreateShortcut(shortcutAddress);
            shortcut.Description = ClientName;
            shortcut.Hotkey = "Ctrl+Shift+N";
            shortcut.TargetPath = @"shell:AppsFolder\WindowsMessenger_fwsgascccvxc0!App";
            shortcut.Save();

卸载应用程序后是否有办法删除此快捷方式。

UWP平台不支持
Windows脚本主机对象模式
,是否开发UWP应用程序?我有一个WPF组件,我使用桌面网桥在我的UWP应用程序中使用