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