无法激活 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
- 清洁解决方案
- 删除了 'bin' 和 'obj' 文件夹
- 已检查 SDK/Visual Studio 更新
- 检查是否有 app.json(没有)
- 更新的 Nuget 包
- 尝试了不同的项目(包括新的空白项目 - 相同的错误)
- 正在重置 Windows(从设置屏幕)
额外信息
- Visual Studio 安装在第二个(存储)驱动器上,作为我的主驱动器
驱动器是一个小型 SSD。
- 升级前一切正常。
原来我的 Visual Studio 项目必须在我的 C:/ 驱动器上,而不是存储驱动器上。全部修复。
我通过选中项目的“Properties --> Build[=20] 下的复选框“Compile with .NET Native tool chain”成功解决了这个问题=]" -标签。
类似地,在 official troubleshooting page 中提到了 Native 和 cleanup 提示
由于正确答案对我不起作用,我找到了另一个不好的解决方案:为了调试目的更改包名。
重要提示:您应该通过停止按钮停止调试,而不是通过应用程序的关闭按钮。
今天我将我的 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
- 清洁解决方案
- 删除了 'bin' 和 'obj' 文件夹
- 已检查 SDK/Visual Studio 更新
- 检查是否有 app.json(没有)
- 更新的 Nuget 包
- 尝试了不同的项目(包括新的空白项目 - 相同的错误)
- 正在重置 Windows(从设置屏幕)
额外信息
- Visual Studio 安装在第二个(存储)驱动器上,作为我的主驱动器 驱动器是一个小型 SSD。
- 升级前一切正常。
原来我的 Visual Studio 项目必须在我的 C:/ 驱动器上,而不是存储驱动器上。全部修复。
我通过选中项目的“Properties --> Build[=20] 下的复选框“Compile with .NET Native tool chain”成功解决了这个问题=]" -标签。
类似地,在 official troubleshooting page 中提到了 Native 和 cleanup 提示
由于正确答案对我不起作用,我找到了另一个不好的解决方案:为了调试目的更改包名。
重要提示:您应该通过停止按钮停止调试,而不是通过应用程序的关闭按钮。