Tuesday, March 06, 2007

Fix for Could not load NUnit.core error

Spent a few hours today trying to find out why i suddenly started getting

System.IO.FileNotFoundException: Could not load file or assembly 'nunit.core, Version:2.2 ......' or one of its dependencies.

Turns out there was the config file was not valid xml. so if the nunit project was MyProject.nunit and then the config file MyProject.config had invalid xml content.