Hello,
Welcome to Microsoft Q&A!
not working for me after App.Current.Exit(); application it open always in left side only.
This method will terminate the app instead of suspending it. When you use the App.Current.Exit(); method to close the app and run it again, the PreviousExecutionState in the OnLaunched event will show NotRunning state. Based on the document of lifecircle, it mentions:
When the ApplicationExecutionState is NotRunning, it will initialize the app as if it is running for the first time in the current user session.
So it is an expected behavior, it will always be opened in the left side.
I want to open my UWP app on the same location where I close the application last time it is possible in UWP
Currently, there is no api can change the position of app in UWP. In addition, from the remark of Application.Exit, it is not recommended to exit the app programmatically since the system automatically manages app lifetime and terminates suspended apps as needed to free resources.