https://bugzilla.novell.com/show_bug.cgi?id=646075
https://bugzilla.novell.com/show_bug.cgi?id=646075#c0 Summary: <supportedRuntime> does not treat "v4.0" as v4.0.xxxxx Classification: Mono Product: Mono: Runtime Version: SVN Platform: x86 OS/Version: Windows 7 Status: NEW Severity: Normal Priority: P5 - None Component: misc AssignedTo: [email protected] ReportedBy: [email protected] QAContact: [email protected] Found By: --- Blocker: --- Created an attachment (id=394645) --> (http://bugzilla.novell.com/attachment.cgi?id=394645) proposed fix NET often has <supportedRuntime> config element with version attribute value as "v4.0". Since mono only checks supportedRuntime versions as exact match, it is not treated as v4.0 and hence runs under 2.0.50727 today and often fails. Repro: ---- supported-runtime.cs ---- using System; public class Test { public static void Main () { Console.WriteLine (typeof (IObserver<object>)); } } ---- supported-runtime.exe.config ---- <configuration> <startup> <supportedRuntime version="v4.0" /> </startup> </configuration> The attached fix is a hack, but would work in most of the usage scenario. (It is funny, but .NET app with broken "version" attribute value such as "v4." simply crashes without any message.) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. You are the assignee for the bug. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
