Reputation: 11
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
Upvotes: 0
Views: 704
Reputation: 31083
Check whether you have other versions of Nunit TestAdapter, if have, try to disable them.
If you use vNext build, check whether you have specified Path to Custom Test Adapters
in VS Test step:
Upvotes: 0