我面临的问题是我的客户已经在运行应用程序 appA。然后他们转到桌面(而不是杀死 appA),并通过使用 PowerShell 运行 appA.ps1 来升级应用程序的版本。之后,安装后点击 appA -> get an exception。我想根本原因是有另一个实例正在运行。
get an exception
我的问题是如何检查我的应用程序是否已经在运行?我可以杀死它吗?
另外,我的应用程序是 windows 8 商店,c#。
c# kill-process windows-runtime windows-store-apps
c# ×1
kill-process ×1
windows-runtime ×1
windows-store-apps ×1