CodeBork | Tales from the Codeface

The coding blog of Alastair Smith, a software developer based in Cambridge, UK. Interested in DevOps, Azure, Kubernetes, .NET Core, and VueJS.


Project maintained by Hosted on GitHub Pages — Theme by mattgraham

Following up on last night’s NUnit Headaches, I managed to solve the problem in a relatively short amount of time.

Closer inspection of the error message received revealed that the nunit.framework DLL could not be located. Adding nunit.framework.dll and nunit.core.dll to the GAC fixed this. My impression was that the installutil .NET tool did this for me; turns out that’s not the case, and I needed the gacutil tool in the Windows SDK instead.

Now I just have to work out how to resolve the same error with the DLL under test without adding that to the GAC as well. Maybe then I can fix NUnit in the same way and uninstall NUnit from the GAC.