Description
After updating MSTest.TestFramework from 2.2.3 to 2.2.4 a test project with the target framework net5.0-windows10.0.19041 could not be compiled anymore.
Error CS1061 'TestContext' does not contain a definition for 'TestRunDirectory' and no accessible extension method 'TestRunDirectory' accepting a first argument of type 'TestContext' could be found (are you missing a using directive or an assembly reference?)
Other test projects in the same solution work fine with net5.0 or net5.0-windows.
I got also an error if I update the TestAdapter, but I will open a seperate issue for that.
Environment
Visual Studio 16.10.0
Microsoft.NET.Test.Sdk Version="16.10.0"
MSTest.TestAdapter Version="2.2.3"
MSTest.TestFramework Version="2.2.4"
AB#1339280