Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Nunit Exception

Status
Not open for further replies.

CTl06

Programmer
Aug 22, 2006
17
US
Hello all, I got this error from msbuild when excecute Nunit test cases, but I know why it is error out. I have no clue where to start fixing problem. Thank you much. CT

Unhandled Exception:
System.NullReferenceException: Object reference not set to an instance of an object.
at NUnit.Util.XmlResultVisitor.Initialize(TestResult result)
at NUnit.Util.XmlResultVisitor..ctor(TextWriter writer, TestResult result)
at NUnit.ConsoleRunner.ConsoleUi.CreateXmlOutput(TestResult result)
at NUnit.ConsoleRunner.ConsoleUi.Execute(ConsoleOptions options)
at NUnit.ConsoleRunner.ConsoleUi.Main(String[] args)
c:\Builds\TheCollective\Collectivebuild3\BuildType\TFSBuild.proj(173,5): error MSB6006: "nunit-console.exe" exited with code 2.
 
this would be better suited for an nUnit forum, not an asp.net forum. i would check yahoo, google, and tek-tips to see if there is an active nunit forum.

according to the trace your problem is here TFSBuild.proj(173,5). it may be that VS is in(ex)cluding a file that ms build is not.

Jason Meckley
Programmer
Specialty Bakers, Inc.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top