NUnit crashes on .NET 4.0 x64 assemblies
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
NUnit V2 |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
NUnit 2.5.4 shows an error (NullReferenceE
To fix, I had to edit the files nunit.exe.config and nunit-console.
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://
tags: | added: 64-bit |
Changed in nunitv2: | |
status: | New → Fix Committed |
Peter Ritchie just responded to my blog comment and said that x86 assemblies ALSO required the manual requiredRuntime edit on his machine, and that x64 assemblies wouldn't work regardless.
For my part, I just tried running nunit-x86.exe on my machine with tests recompiled for x86. Without the requiredRuntime edit, I got the same error as in the 64-bit case. However, the 32-bit test worked fine once I added the same requiredRuntime edit to nunit-x86. exe.config as well.
So it would seem this isn't a 64-bit-specific error after all, but a general error with any .NET 4.0 assemblies.