gpt4 book ai didi

c# - 无法激活 Windows 应用商店应用程序(Visual Studio 2015,Windows 10 版本 1511)

转载 作者:IT王子 更新时间:2023-10-29 04:43:14 24 4
gpt4 key购买 nike

今天我将我的 Windows 10 PC 更新到 Threshold 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。
  • 升级前一切正常。

最佳答案

我设法通过选中项目“Properties --> Build”选项卡下的“Compile with .NET Native tool chain”框来解决问题。 enter image description here

同样在official troubleshooting page提到了这个Nativecleanup 技巧

关于c# - 无法激活 Windows 应用商店应用程序(Visual Studio 2015,Windows 10 版本 1511),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33704916/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com