2015-09-02 28 views
1

我试图从Windows 10上的C#Windows窗体应用程序启动Windows应用商店应用程序。我尝试了一些方法什么(可能?)在Windows 8上工作,但不工作在10. 我试过如下:从桌面运行Windows Store应用程序

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是正确的)。

任何人都知道一个工作解决方案?

回答

相关问题