激活Windows应用商店应用...失败,错误“应用未启动”

时间:2016-03-06 08:51:39

标签: c# visual-studio windows-10 windows-10-universal windows-10-desktop

问题

无法在Release / x86中启动任何UWP应用程序(空白应用程序,UWP示例)。

但是,Debug / x86,Debug / x64,Release / x64都可以。

相关

  1. 构建 - >配置管理器
  2. 新建...
  3. 从调试中复制设置
  4. 同样的错误
  5. 错误

    Visual Studio输出

    Symbols for ntdll.dll could not be downloaded from the Microsoft Symbol Servers. Exception settings and call stacks may not work correctly.  Make sure you have a network connection and try again.'App1.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ntdll.dll'. Cannot find or open the PDB file.
    
    The thread 0x2e74 has exited with code -1073741792 (0xc0000020).
    The thread 0x780 has exited with code -1073741792 (0xc0000020).
    The thread 0x1930 has exited with code -1073741792 (0xc0000020).
    The thread 0x1b24 has exited with code -1073741792 (0xc0000020).
    The program '[13492] App1.exe' has exited with code -1073741792 (0xc0000020).
    Activation of the Windows Store app '451e4789-01f8-4e4e-b28d-fbfa813a4513_v5p8rpnswjrxg!App' failed with error 'The app didn't start'.
    

    事件查看器#1

    Activation via contract helper of the app 451e4789-01f8-4e4e-b28d-fbfa813a4513_v5p8rpnswjrxg!App for the Windows.Launch contract failed with Server execution failed.
    

    事件查看器#2

    Activation of the app 451e4789-01f8-4e4e-b28d-fbfa813a4513_v5p8rpnswjrxg!App for the Windows.Launch contract failed with error: The app didn't start..
    

    事件查看器#3

    ActivateApplicationForContractByAppIdAsUserWithHost of the app 451e4789-01f8-4e4e-b28d-fbfa813a4513_v5p8rpnswjrxg!App for the Windows.Launch contract failed with The app didn't start..
    

    重新发布

    新项目 - > Visual C#/空白应用程序(通用Windows)

    环境

    • Visual Studio 2015社区版更新1

    • Windows 10 Pro 64位版本1511 10586.122

    受审

    我浪费了几天时间。请帮忙。

    Messaging and Weather Apps也有同样的错误。

2 个答案:

答案 0 :(得分:1)

要使C#UWP在调试中运行,我转到了Properties-> Build并检查了使用.NET Native工具链进行编译。这让我可以调试。

答案 1 :(得分:-5)

解决方案如下......

  1. 打开天气应用
  2. 将弹出错误,单击存储链接
  3. 重新安装天气应用(忽略安装错误)