How do you quit an HTML Metro style application from script?


  • In C#, I could call Application.Current.Exit(). I looked at WinJS.Applicaiton and WinJS.Utiltities, but couldn't find the equivalent.

    For testing, this is useful because MSAs don't kill themselves. When working with Blend, this is essential since you can't re-run the application without killing the first instance and it's much easier to have a quit button in the app then constantly have task manager running so I can kill it that way.

    Friday, October 21, 2011 3:38 PM


All replies