Invalid PInvoke Metadata!
I was writing some new unit tests last night. I hadn't run the nUnit GUI since upgrading to VS.NET 2003 (and the 1.1 framework). When running a test that was connecting to a SQL Server, I got a wierd error:
Invalid PInvoke Metadata
A quick google search provided the answer. You need to add the following to your NUnit GUI config file:
<?xml version ="1.0"?> <configuration> <startup> <supportedRuntime version="v1.1.4322" /> </startup> </configuration>