I recently upgraded one of my projects to .NET 4.0 only to find that NUnit would no longer run my tests. Rather than waiting for the next version of NUnit to come with a .NET 4 build I decided to download the source code and build it myself. I’m including a zipfile with the required solution and project files to build NUnit yourself.
This should tide you over until the official build is released.
- Download the latest source code of NUnit
- Place the unzipped contents of this folder at $(NUnit)\solutions\
- Open nunit.sln and build
- You will get some build errors on one of the assemblies but most of the core assemblies will work fine.
- Copy the newly built assemblies into your applications lib folder.