Comment 2 for bug 601129

Revision history for this message
Eberhard Beilharz (c-e-beilharz) wrote :

When I explicitly specify the mono-4.0 framework I get the following:

mono --debug ~/Develop/NUnit-2.5.5.10112/bin/net-2.0/nunit-console.exe -framework=mono-4.0 NUnitTestsLib.dll
NUnit version 2.5.5.10112
Copyright (C) 2002-2009 Charlie Poole.
Copyright (C) 2002-2004 James W. Newkirk, Michael C. Two, Alexei A. Vorontsov.
Copyright (C) 2000-2002 Philip Craig.
All Rights Reserved.

Runtime Environment -
   OS Version: Unix 2.6.32.24
  CLR Version: 2.0.50727.1433 ( 2.7 (/trunk/mono r152577 Fri Jul 9 10:03:38 CEST 2010) )

ProcessModel: Default DomainUsage: Single
Execution Runtime: mono-4.0
Unhandled Exception:
System.ComponentModel.Win32Exception: ApplicationName='/home/eberhard/Develop/NUnit-2.5.5.10112/bin/net-2.0/nunit-console.exe', CommandLine='"/home/eberhard/Develop/NUnit-2.5.5.10112/bin/net-2.0/nunit-agent.exe" 8fe56c65-7cbf-4d42-a887-3ec3538f0980 tcp://127.0.0.1:9100/TestAgency', CurrentDirectory=''
  at System.Diagnostics.Process.Start_noshell (System.Diagnostics.ProcessStartInfo startInfo, System.Diagnostics.Process process) [0x00352] in /home/eberhard/Develop/MonoDevelop/mono-calgary/mcs/class/System/System.Diagnostics/Process.cs:1120
  at System.Diagnostics.Process.Start_common (System.Diagnostics.ProcessStartInfo startInfo, System.Diagnostics.Process process) [0x00096] in /home/eberhard/Develop/MonoDevelop/mono-calgary/mcs/class/System/System.Diagnostics/Process.cs:1194
  at System.Diagnostics.Process.Start () [0x0002c] in /home/eberhard/Develop/MonoDevelop/mono-calgary/mcs/class/System/System.Diagnostics/Process.cs:1204
  at (wrapper remoting-invoke-with-check) System.Diagnostics.Process:Start ()
  at NUnit.Util.TestAgency.LaunchAgentProcess (NUnit.Core.RuntimeFramework targetRuntime, Boolean enableDebug) [0x00000] in <filename unknown>:0
  at NUnit.Util.TestAgency.CreateRemoteAgent (NUnit.Core.RuntimeFramework framework, Int32 waitTime, Boolean enableDebug) [0x00000] in <filename unknown>:0
  at NUnit.Util.TestAgency.GetAgent (NUnit.Core.RuntimeFramework framework, Int32 waitTime, Boolean enableDebug) [0x00000] in <filename unknown>:0
  at (wrapper remoting-invoke-with-check) NUnit.Util.TestAgency:GetAgent (NUnit.Core.RuntimeFramework,int,bool)
  at NUnit.Util.ProcessRunner.Load (NUnit.Core.TestPackage package) [0x00000] in <filename unknown>:0
  at NUnit.ConsoleRunner.ConsoleUi.Execute (NUnit.ConsoleRunner.ConsoleOptions options) [0x00000] in <filename unknown>:0
  at NUnit.ConsoleRunner.Runner.Main (System.String[] args) [0x00000] in <filename unknown>:0