Unable to execute .NET programs compiled against the v2.0 runtime: "Missing method System.Type::op_Inequality(Type,Type) in assembly /usr/lib/mono/2.0/mscorlib.dll"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gtk-sharp2 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
If you try to execute a .NET program not compiled against Mono 4.0 (but compiled against Mono 2.0 instead), when you try to run it you get many exception messages relative to missing methods, such as "Missing method System.
More details here: <http://
Temporary workaround:
Run the application passing the "--runtime=v4.0" switch to Mono, like this:
mono --runtime=v4.0 /usr/lib/
(where "/usr/lib/
-----
This is a sample scenario (running WepCrack):
luis@ubuntu:~$ sudo su
[sudo] password for luis:
root@ubuntu:
root@ubuntu:
Missing method System.
Unhandled Exception: System.
at WepCrackGtk.
at GWepCrackGui.
[ERROR] FATAL UNHANDLED EXCEPTION: System.
at WepCrackGtk.
at GWepCrackGui.
root@ubuntu:
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: gnome-terminal 3.0.1-0ubuntu3
ProcVersionSign
Uname: Linux 3.0.0-12-generic i686
ApportVersion: 1.23-0ubuntu3
Architecture: i386
Date: Sun Oct 30 21:28:04 2011
ExecutablePath: /usr/bin/
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007)
SourcePackage: gnome-terminal
UpgradeStatus: Upgraded to oneiric on 2011-10-24 (6 days ago)
summary: |
- var/log/dist-upgrade/ + Missing method System.Type::op_Inequality(Type,Type) in assembly + /usr/lib/mono/2.0/mscorlib.dll |
summary: |
- Missing method System.Type::op_Inequality(Type,Type) in assembly - /usr/lib/mono/2.0/mscorlib.dll + Unable to execute .NET programs compiled against the v2.0 runtime: + "Missing method System.Type::op_Inequality(Type,Type) in assembly + /usr/lib/mono/2.0/mscorlib.dll" |
Hi Luis, thanks for reporting.
From your description I've seen that you are encountering this error when you are using WepCrack. Could you please tell us if that happens with other .NET software too (or only with WepCrack), so that we can confirm that this is indeed a Mono bug and not only a WepCrack bug? Thanks!