Exception NUnit.Core.UnsupportedFrameworkException on TFS server

703 views Asked by At

I am getting below error in my TFS build however all test are executed successfully. I am bit confused as to why this error is occurring when all required dlls are already present in the project

Exception NUnit.Core.UnsupportedFrameworkException, Exception thrown executing tests in C:\NUnitPoC\UnitTest.dll

Dependent Assembly Microsoft.VisualStudio.TestPlatform.ObjectModel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a of C:\Test_CI\bin\NUnitPoC\NUnit3.TestAdapter.dll not found. Can be ignored if not a NUnit project.

Library details-

NUnit.3.5.0

NUnit3TestAdapter.3.6.0

1

There are 1 answers

1
Cece Dong - MSFT On
  1. Check whether you have other versions of Nunit TestAdapter, if have, try to disable them.

  2. If you use vNext build, check whether you have specified Path to Custom Test Adapters in VS Test step:

enter image description here