user12341234
user12341234

Reputation: 7193

MonoGame references an unsupported version of nunit.framework

I'm developing a C# project in Xamarin that uses MonoGame. I'd like to start writing tests, but when I added the NUnit assembly, wrote a stub test, and tried to execute it I got the following exception:

UnsupportedFrameworkException: Skipped loading assembly monogame-monomac because it references an unsupported version of the nunit.framework, 3.2.0.0

I'm fairly new to mono, so any help in sorting this would be appreciated.

Upvotes: 1

Views: 490

Answers (1)

user12341234
user12341234

Reputation: 7193

Thanks to @Chris's suggestion, I investigated what version of NUnit works with MonoGame. Apparently MonoGame can be used with NUnit 2.5.10, so I downgraded NUnit to that version and everything ran smoothly.

Upvotes: 1

Related Questions