How can I restart a WPF Application? In windows Forms I used
System.Windows.Forms.Application.Restart();
How to do it in WPF?
I found this: It works. But. Is there any better way?
System.Diagnostics.Process.Start(Application.ResourceAssembly.Location); Application.Current.Shutdown();