Here is the code snippet:waitWindow1.ShowWaitWindow();
ApplicationDeployment ad = ApplicationDeployment.CurrentDeployment;
ad.Update();
waitWindow1.HideWaitWindow();
Application.Restart();The anomaly only appeared after I decided to throw in a WaitWindow for aesthetic purposes. I removed the wait window and it works fine...no message box. Like this:
ApplicationDeployment ad = ApplicationDeployment.CurrentDeployment;
ad.Update();
Application.Restart();
I'll see if I can work up a stack trace for you.
Thanks,
Bill