[Mono-bugs] [Bug 75116][Cos] Changed - Environment.Version should give mono ver in rev number

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Jun 2 15:09:47 EDT 2005


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by lluis at ximian.com.

http://bugzilla.ximian.com/show_bug.cgi?id=75116

--- shadow/75116	2005-06-02 13:09:49.000000000 -0400
+++ shadow/75116.tmp.13774	2005-06-02 15:09:47.000000000 -0400
@@ -93,6 +93,17 @@
 for anything else.
 
 ------- Additional Comments From bmaurer at users.sf.net  2005-06-02 13:09 -------
 Because you might want to know what version of the fx you have. Maybe
 you want to write something that can use reflection to handle generics
 or something and need to know if it is the 2.0 api
+
+------- Additional Comments From lluis at ximian.com  2005-06-02 15:09 -------
+Another example: an application may want to dynamically load an
+assembly depending on the runtime version it is running on, in order
+to be backwards compatible.
+
+Like it or not, the MS.NET version numbers are relevant to Mono,
+because every .NET assembly has the version number embedded in the PE
+header, and this determines the runtime version on which it has to
+run. So it make sense to keep that version numbers in sync with what
+Environment.Version returns.


More information about the mono-bugs mailing list