• python
  • javascript
  • reactjs
  • sql
  • c#
  • java
Facebook Twitter Instagram
Devs Fixed
  • python
  • javascript
  • reactjs
  • sql
  • c#
  • java
Devs Fixed
Home ยป Resolved: UWP C# How To Auto Restart UWP App if it Crashes

Resolved: UWP C# How To Auto Restart UWP App if it Crashes

0
By Isaac Tonny on 16/06/2022 Issue
Share
Facebook Twitter LinkedIn

Question:

I would like to find out if there is any way to auto restart UWP app if it crashes? I have my UWP app running on windows 10. Please advise.
Thanks.

Answer:

Currently, UWP doesn’t have a way to auto restart after it is crashed. When the app is crashed, the code will break. A possible way is that you could create a win32 app that detects the process of the UWP app, when the process exits, launch the UWP app again.
Besides, I’d suggest handling the exception rather than restarting the app after it is crashed.

If you have better answer, please add a comment about this, thank you!

application-restart crash uwp
Share. Facebook Twitter LinkedIn

Related Posts

Resolved: Modify entity using Action in C#

24/03/2023

Resolved: How to give rank on datetime column group by another column with userid in it

24/03/2023

Resolved: Passing 2 functions in onChange in react

24/03/2023

Leave A Reply

© 2023 DEVSFIX.COM

Type above and press Enter to search. Press Esc to cancel.