I have a .Net Framework 4.8 test project using mstest. I have installed MSTest.TestFramework 3.0.0 and MSTest.TestAdapter 3.0.0. I am using Visual Studio 2022. The tests will be run on a build server with VS 2017. When I try to run a test in my local visual studio it fails with this error:
[Error] An exception occurred while invoking executor 'executor://mstestadapter/v2': Could not load file or assembly 'Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
I would rather not introduce a whole ton of extra dependencies with a newer version of MSTest. I have version 3.0.0 working in a similar solution and same environments. Can someone point me to what this error is being caused by?
I have a .Net Framework 4.8 test project using mstest. I have installed MSTest.TestFramework 3.0.0 and MSTest.TestAdapter 3.0.0. I am using Visual Studio 2022. The tests will be run on a build server with VS 2017. When I try to run a test in my local visual studio it fails with this error:
[Error] An exception occurred while invoking executor 'executor://mstestadapter/v2': Could not load file or assembly 'Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
I would rather not introduce a whole ton of extra dependencies with a newer version of MSTest. I have version 3.0.0 working in a similar solution and same environments. Can someone point me to what this error is being caused by?