nunit-core team mailing list archive
-
nunit-core team
-
Mailing list archive
-
Message #03784
[Bug 566431] Re: NUnit crashes on .NET 4.0 x64 assemblies
*** This bug is a duplicate of bug 561487 ***
https://bugs.launchpad.net/bugs/561487
We have the same problem under 2.6.3.13283
While there is no problem under 2.6.0.12051
Coul you please reopen the bug and fix it
--
You received this bug notification because you are a member of NUnit
Developers, which is subscribed to NUnit V2.
https://bugs.launchpad.net/bugs/566431
Title:
NUnit crashes on .NET 4.0 x64 assemblies
Status in NUnit V2 Test Framework:
Fix Committed
Bug description:
NUnit 2.5.4 shows an error (NullReferenceException) when attempting to
test .NET 4.0 assemblies built for AnyCPU (= running as x64 on my
system). This is with the final release version of VS2010 on Vista
64, and affects both the GUI and the console runner. Attempting to do
anything else in the GUI runner then causes a follow-up exception.
To fix, I had to edit the files nunit.exe.config and nunit-
console.exe.config, adding the following line after the
<configuration> tag in each file: <startup><requiredRuntime
version="v4.0.30319" /></startup>
Peter Ritchie reports that .NET 4.0 assemblies do work if they were built for x86 and he used nunit-x86.exe, hence I assume that this problem is specific to x64 assemblies:
http://msmvps.com/blogs/peterritchie/archive/2010/04/18/getting-started-unit-testing-with-nunit.aspx
To manage notifications about this bug go to:
https://bugs.launchpad.net/nunitv2/+bug/566431/+subscriptions
References