nunit-core team mailing list archive
-
nunit-core team
-
Mailing list archive
-
Message #00674
[Bug 601129] Re: Mono 4.0 not supported
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
--
Mono 4.0 not supported
https://bugs.launchpad.net/bugs/601129
You received this bug notification because you are a member of NUnit
Developers, which is subscribed to NUnit V2.
Status in NUnit V2 Test Framework: Confirmed
Bug description:
NUnit 2.5.5 has support for .NET 4.0 but not for Mono 4.0. This is very bad for cross-platform projects because if NUnit doesn't support Mono 4.0 you can't really use any .NET 4.0 features.
Mono can be compiled with --with-profile4 flag to include the 4.0 features.
References