无法激活 Windows 应用商店应用(Visual Studio 2015,Windows 10 版本 1511)

Unable to activate Windows Store app (Visual Studio 2015, Windows 10 Version 1511)

今天我将我的 Windows 10 PC 更新到阈值 2。除了 Visual Studio 拒绝 运行 我的任何通用 Windows 10 项目之外,更新进展顺利(包括新的)。

当我尝试 运行 一个应用程序时,我收到此消息:

Unable to activate Windows Store app '{App}'. The {App name}.exe
process started, but the activation request failed with error 'The app
didn't start'.

我什么都试过了:

额外信息

原来我的 Visual Studio 项目必须在我的 C:/ 驱动器上,而不是存储驱动器上。全部修复。

我通过选中项目的“Properties --> Build[=20] 下的复选框“Compile with .NET Native tool chain”成功解决了这个问题=]" -标签。

类似地,在 official troubleshooting page 中提到了 Nativecleanup 提示

由于正确答案对我不起作用,我找到了另一个不好的解决方案:为了调试目的更改包名。

重要提示:您应该通过停止按钮停止调试,而不是通过应用程序的关闭按钮。