UWP Shortcut running an older version

ansalc 436 Reputation points
2020-04-25T14:55:51.723+00:00

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.

Thanks.

Universal Windows Platform (UWP)
1 vote

Accepted answer
  1. ansalc 436 Reputation points
    2020-04-26T10:30:11.063+00:00

    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
    2020-04-25T18:20:58.353+00:00

    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

    No comments