An exception occurred while invoking executor 'executor://mstestadapter/v2': Constructor on type 'Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.Execution.UnitTestRunner' not found.
相关问题
- How to know full paths to DLL's from .csproj f
- Importing NuGet references through a local project
- Visual Studio 2019 - error MSB8020: The build tool
- 'System.Threading.ThreadAbortException' in
- VS2017 RC - The following error occurred when tryi
相关文章
- dotnet restore还原nuget包时无法加载 https://api.nuget.org/
- How to show location of errors, references to memb
- Log4Net Multiple Projects
- How to track MongoDB requests from a console appli
- Visual Studio Hangs on Loading UI Library
- How to use Mercurial from Visual Studio 2010?
- Attribute filter syntax for code coverage in TeamC
- Copy different file to output directory for releas
I had the same problem while running tests in the build server.
I tried below things and it started working:
cleared old versions of MSTest.TestAdapter and MSTest.TestFramework folders from build server under this paths
C:\Users\.nuget\packages\MSTest.TestAdapter C:\Users\.nuget\packages\MSTest.TestFramework
I cleared the source files in the build once(not sure about this step but worth trying just in case)