When calling UpdateManager.RestartApp my app crashes
When there is an update available and you call UpdateManager.RestartApp my app crashes to classical WIN dialog [app stopped working with close button] I copied parts of the code and it crashes on Environment.Exit(0) line in update manager (line 202)
When you try exit with Application.Current.Shutdown() (WPF stuff) you it is totally correct end and everything works.
I dont even know how to start debugging whats wrong with
Environment.Exit(0)
and whats going on.
As a workaround i can try using RestartAppWhenExited (which btw duplicate partially code from RestartApp) and call the restart myself.
The updates are made but my application does not run with the latest version, can you help me please?
@LightCZ are you still experiencing this issue with the latest version of Squirrel?