Visual studio 2017 Live Unit Testing does not work RRS feed

  • Question

  • Hello I'm getting a very strange exception (object reference not set to an instance of object) when using Visual studio 2017 Live Unit Testing if I run this test through Test Explorer->Run All all works fine and it’s also work in debugging but Live Unit Testing fall.

    Test project

    Monday, April 24, 2017 3:21 PM

All replies

  • Hi friend,

    Thanks for your posting and your sample project.

    To be honest, I did not repro this issue in my side, as both Live unit testing and Run All failed.  

    Live unit testing:

    Run all in test explorer:

    output error:

    So we cannot say it's the issue of Live unit testing, what do you think?

    Please feel free to let me know if I misunderstood.

    Best regards,


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    • Edited by Fletch Zhou Thursday, April 27, 2017 9:36 AM
    Thursday, April 27, 2017 9:36 AM