[英]Run Windows Store Application from Desktop
我試圖從Windows 10上的C#Windows Forms應用程序啟動Windows Store應用程序。我嘗試了一些方法(可能是?)在Windows 8上有效,但在10上卻不起作用。我嘗試如下:
Process.Start("explorer", @"shell:AppsFolder\AppUserModelId")
要么
Process.Start(@"C:\Program Files (x86)\Windows Kits\10\App Certification Kit\Microsoft.Windows.SoftwareLogo.AppxLauncher.exe", "AppUserModelId");
or IApplicationActivationManager::ActivateApplication
這有效,但僅在命令行中有效(告訴我使用AppUserModelId是正確的)。
有人知道可行的解決方案嗎?
我發現了這篇有關創建商店應用程序的桌面快捷方式的文章: http : //winaero.com/blog/exclusive-how-to-start-a-modern-app-from-desktop-without-going-to-the-metro-啟動屏幕/
抱歉,我對此無能為力。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.