[Mono-bugs] [Bug 585075] New: Unable to run EXE compiled for Microsoft .NET 4.0 under Mono trunk.
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Wed Mar 3 10:08:43 EST 2010
http://bugzilla.novell.com/show_bug.cgi?id=585075
http://bugzilla.novell.com/show_bug.cgi?id=585075#c0
Summary: Unable to run EXE compiled for Microsoft .NET 4.0
under Mono trunk.
Classification: Mono
Product: Mono: Runtime
Version: SVN
Platform: x86
OS/Version: Windows 7
Status: NEW
Severity: Major
Priority: P5 - None
Component: verifier
AssignedTo: rkumpera at novell.com
ReportedBy: alexreg at gmail.com
QAContact: mono-bugs at lists.ximian.com
Found By: ---
Blocker: ---
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.1.8)
Gecko/20100202 Firefox/3.5.8 (.NET CLR 3.5.30729)
Compiled and installed Mono trunk (revision 152934) on Windows 7 using cygwin,
with .NET 4.0 profile enabled. Running an EXE compiled for Microsoft .NET 4.0
(using VS 2010 RC) with mono.exe returns a 'runtime version not supported'
error, as given below.
Reproducible: Always
Steps to Reproduce:
1. Compile .NET 4.0 assembly (EXE) for .NET 4.0 RC using VS 2010 RC.
2. Run "C:\cygwin\mono\build\bin\mono.exe MarkovChainTextBox.exe" from the
command line (cmd.exe). MarkovChainTextBox.exe is the file name of the .NET 4.0
EXE to run, and is a simple command-line program.
3. Observe error message returned.
Actual Results:
Error message:
WARNING: The runtime version supported by this application is unavailable.
Using default runtime: v2.0.50727
** (MarkovChainTextBox.exe:4008): WARNING **: The class System.Func`2 could not
be loaded, used in mscorlib, Version=4.0.0.0, Culture=neutral,
PublicKeyToken=b7
7a5c561934e089
Unhandled Exception: System.TypeLoadException: Could not load type
'MarkovChainT
extBox.Program' from assembly 'MarkovChainTextBox, Version=0.1.0.42435,
Culture=
neutral, PublicKeyToken=null'.
Expected Results:
Program should run without problems using .NET 4.0 CLR and class library.
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the mono-bugs
mailing list