The nuget package MSTest.TestAdapter had a different version then MSTEST.TestFramework. Selecting the same version fixed it for me.