且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

无法激活 Windows 商店应用程序未启动

更新时间:2022-12-20 23:38:37

我找到了解决方案.问题是我正在处理的驱动器是加密的(TrueCrypt).将输出文件夹移动到未加密的驱动器解决了问题.

First of all I would like to say that I already tried all the solutions I could find on the internet, including Unable to Activate Windows Store App

I recently upgraded my Windows 7 machine to Windows 8.1 to be capable of developing Windows Store apps using Visual Studio 2013. When I open a blank project (Windows Store -> Blank App) and run it I get this error:

Unable to activate Windows Store app 'Package Name'. The App1.exe process started, but the activation request failed with error 'The app didn't start'.

See help for advice on troubleshooting the issue.

I already tried:

  • Reinstalling Windows (Clean install)
  • Reinstalling Visual Studio 2013
  • Installing Visual Studio 2012 (same error)
  • Deleting "bin" and "obj" folder
  • Cleaning the solution
  • Uninstalling the app from start menu
  • Creating a new project
  • Acquiring the license multiple times (the license is valid)
  • Making sure that app.config doesn't exist
  • Investigating the Windows Event Log which says

Activation of the app 'Package Name' for the Windows.Launch contract failed with error: The app didn't start..

but found nothing useful

  • Adding a new Windows user
  • Run everything as administrator
  • and at last, changing the desktop background :)

None of this did bring a solution. Does anyone have an idea what else could be the reason for this error?

Thank you.

I found a solution. The problem was that the drive I was working on was encrypted (TrueCrypt). Moving the output folder to an unencrypted drive solved the problem.