Unable to activate windows store app the app didn't start

前端 未结 19 2222
星月不相逢
星月不相逢 2020-12-05 17:20

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 upgra

相关标签:
19条回答
  • 2020-12-05 18:10

    Ensure that ALL APPLICATION PACKAGES has "read" permissions on C:\Windows.

    My organization's group policy likes to strip all permissions from C:\Windows, including the ALL APPLICATION PACKAGES group . By adding it back in and setting Read & execute, List folder contents, and Read, I'm able to run the app from Visual Studio without any problems.

    See What to do if your Windows 8 Modern App fails to start for more tips, including this one.

    0 讨论(0)
  • 2020-12-05 18:11

    I had the same problem with Visual Studio Community 2015 while trying to debug an Blank App (Universal Windows) using Visual C#.

    Visual Studio was installed on Disk C:(SSD), and Project files were placed on D:(HDD). I´ve created a Folder on C: Drive and placed my test project there. After that Error messages gone.

    0 讨论(0)
  • 2020-12-05 18:11

    I had unticked an option while trying to get debugging working prior to this error, the fix for me was to re-check the "Compile with .NET Native tool chain"

    0 讨论(0)
  • 2020-12-05 18:12

    I have tried many solutions and nothing worked. At the end what worked for me was to change the startup project to windows phone 8.1 and after it runs OK I changed it back to windows 8.1 and it runs OK. It works for me as I am making a universal app. Hope it helps anyone else.

    0 讨论(0)
  • 2020-12-05 18:13

    I had the same Error and tried after loading the SQLite Package for WP 8.1 some things above:

    not working:

    • Clean and Rebuild
    • Restart Computer/Phone

    what did the deal (for me)

    • I put Platform Target under Properties -> Build to ARM instead of x86

    Hopefully this might help somebody else facing this ridiculously informative Errormessage.

    0 讨论(0)
  • 2020-12-05 18:14

    I had the same problem in Visual Studio 2015 Update 3, Windows 10 Build 10586.494.

    The error came up when trying to start any UWP app that I compiled without .NET Native Toolchain. With Native Toolchain enabled, the apps would start.

    Installing a new (blank) app manually fixed the error for me:

    • Start VS 2015
    • File > New > Project.
    • Blank App (Universal Windows) Visual C#. OK.
    • Make sure to be in Debug config
    • Right click on Project > Store > Create App Packages
    • No. Next.
    • Select Debug for all architectures.
    • Create
    • When packaging is finished, open Explorer to the project path / AppPackages / [...]_Debug_Test
    • Right-click on Add-AppDevPackage.ps1 > Run with PowerShell
    • Follow the instructions
    • Start the installed app from Start Menu
    0 讨论(0)
提交回复
热议问题