2.4.6 ConsoleUI.Execute() fails at Util.TestDomain.Load(): Object Reference Not set

Quan T <[email protected]>
Newsgroups gmane.comp.windows.dotnet.nunit.user
Message-ID <[email protected]>
Hi
We’ve been using NUnit 2.4.1 and 2.4.3 for our NUnit tests written for .NET 2. The way we launch into NUnit is via this C# code snippet:
 
                ConsoleOptions options = new ConsoleOptions(true, args);
                ConsoleUi nunit = new ConsoleUi();
                nunit.Execute(options);
 
This has worked well in both 2.4.1 and 2.4.3, until we try the latest version 2.4.6. After updating all NUnit references etc and run the program, it keeps failing at the nunit.Execute() line with this exception:
“Object reference not set to an instance of an object”
   at NUnit.Util.TestDomain.Load(TestPackage package)
   at NUnit.ConsoleRunner.ConsoleUi.MakeRunnerFromCommandLine(ConsoleOptions options)
   at NUnit.ConsoleRunner.ConsoleUi.Execute(ConsoleOptions options)
 
Hope someone has an idea why.
 
Thanks
-q
_________________________________________________________________
Need to know the score, the latest news, or you need your Hotmail®-get your "fix".
http://www.msnmobilefix.com/Default.aspx

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

_______________________________________________
Nunit-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nunit-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.