Hello everyone.

The Mixed Reality Forums here are no longer being used or maintained.

There are a few other places we would like to direct you to for support, both from Microsoft and from the community.

The first way we want to connect with you is our mixed reality developer program, which you can sign up for at https://aka.ms/IWantMR.

For technical questions, please use Stack Overflow, and tag your questions using either hololens or windows-mixed-reality.

If you want to join in discussions, please do so in the HoloDevelopers Slack, which you can join by going to https://aka.ms/holodevelopers, or in our Microsoft Tech Communities forums at https://techcommunity.microsoft.com/t5/mixed-reality/ct-p/MicrosoftMixedReality.

And always feel free to hit us up on Twitter @MxdRealityDev.
Options

How to completely close an application when you exit

When i'm in an app and bloom I want my application to completely close and not resume where I left off when I open another instance of the application.

Is there a way to do this?

Or every time I open the app I want a fresh instance and kill the other instance windows.

Answers

  • Options

    You can close it by clicking the X on the floating window of the app (where you initially placed it).

    Not sure if there is a way to do it programmatically.

    Taqtile

  • Options
    Peter_NZPeter_NZ ✭✭✭
    edited September 2017

    Have you tried putting an Application.Quit() inside your CoreApplication_Suspending event handler? Your 2D launcher will still be in the same place but your app won't be running and when you click on it a new instance of your app will start.

Sign In or Register to comment.