UWP Shortcut running an older version

ansalc 436 Reputation points

When I debug (press F5) a release UWP app on Visual Studio 2019 it runs fine.

However, when I click on the same app in the Start menu or I click the app shortcut on the desktop or call its keyboard shortcut, the app that runs is an old version.

How can I make sure that the Start menu or shortcut points to the latest version of the program?

Where are these older versions stored. I have clicked on Clean solution and Clean project and rebuilt afterwards.


Universal Windows Platform (UWP)
{count} vote

Accepted answer
  1. ansalc 436 Reputation points

    I've found out that the reason for this behaviour was that the app that was run was the one located in the Release\AppX folder

    And the executable file in that folder was not updated

    I have unistalled the App and run it again and now the exe file in the AppX folder is updated and all works as expected

    I still do not know why this happened.

    I also do not yet know well the purpose of the AppX folder

1 additional answer

Sort by: Most helpful
  1. ansalc 436 Reputation points

    I just need to know what to do to make the app on the start menu or the corresponding shortcut run my app.

    At the moment the shortcut runs an older version of the app

    0 comments No comments