Make VS2017 Live Unit Testing work

So you installed Visual Studio 2017 and you want to try out Live Unit Testing. It looked so easy on Microsoft’s introduction videos for VS2017, but when you open your old existing solution and try to enable it… it doesn’t work… !?
Sounds familiar ? Here is how I made it work in under 5 minutes for a MSTest based project.

Step 1: Remove reference to Microsoft.VisualStudio.QualityTools.UnitTestFramework

Extend References on your Test project within Visual Studio and find and delete the reference Microsoft.VisualStudio.QualityTools.UnitTestFramework.

Step 2: Add MSTest NuGet packages

Add the MSTest.TestFramework and MSTest.TestAdapter NuGet packages to your test project.

Step 3: Start Live Unit Testing

In VS2017 open the Test menu, expand Live Unit Testing and select Start. Wait a little… and now it works 🙂

Oh and by the way Live Unit Testing, does currently not work on .NET Core projects.