Is there any way of restarting a single instance application, which is deployed via clickonce?
+2
A:
Try
Application.Restart()
This will restart a WinForms ClickOnce application.
JaredPar
2009-04-13 21:22:47
I have already tried this solution but the app crashes after the "restart". I don't know if it has something to do with the single instance option.
Chocol8
2009-04-13 21:34:06
Can you give us some details as to how/why it crashes?
JaredPar
2009-04-13 21:47:27
System.ComponentModel.Win32Exception {"An unexpected error has occurred because an operating system resource required for single instance startup cannot be acquired."}
Chocol8
2009-04-14 21:21:44