locked
Visual Studio hangs and crashes when app contains ServicingComplete BT

    Question

  • Visual Studio hangs and crashes when starting debugging of app that contains ServicingComplete background task registration.

    Minimal repro: http://sdrv.ms/14kGFvS

    Repro steps:

    1. Unpack. Set target x64, Native Only/Local Machine debugging.

    2. Build

    3. Start debugging with F5.

    4. Switch back to Visual Studio. It is still responsive.

    5. Stop debugging (Shift+F5).

    6. Start debugging again with F5.

    7. Switch back to Visual Studio.

    EXPECTED: Visual Studio is responsive

    ACTUAL: Visual Studio is hung, no controls are responsive. After about 10 seconds dialog box comes up saying that "Debugging operation takes longer than expected", with a choice to terminate the debugging operation. Clicking "Terminate" crashes Visual Studio.

    This reproes 100% until the built app is uninstalled using Start Screen.

    Is there a workaround? Thanks in advance!

    Friday, June 7, 2013 5:57 AM