JohnnyGat
JohnnyGat

Reputation: 335

Unsupported framework error NUnit and MonoDevelop

I have latest versions of MonoDevelop(5.10) and NUnit(3.6.1 installed from oficiall NuGet Gallery) and every time I'm trying to run tests I'm getting error

UnsupportedFrameworkException: Skipped loading assembly ... because it references an unsupported version of the nunit.framework 3.6.1.0

What can I do about it ?

Upvotes: 0

Views: 334

Answers (1)

Charlie
Charlie

Reputation: 13736

You are apparently trying to run the tests from inside of MonoDevelop, which only supports NUnit through 2.4.8.

You need to install and run the nunit console runner. Use the NUnit.ConsoleRunner nuget package and run nunit3-console, which is contained in the package.

Upvotes: 1

Related Questions