[Mono-devel-list] [PATCH] Added Mono.Runtime.GetVersion()

Rafael Teixeira monoman at gmail.com
Sat Jun 4 11:03:15 EDT 2005


The configure.ac part doesn't work, as AC_INIT says that $VERSION
isn't a literal

And I end with mono-ERSION.tar.gz when doing make dist-gzip for instance.

On 6/4/05, Kornél Pál <kornelpal at hotmail.com> wrote:
> Hi,
> 
> This patch adds a new internal static GetVersion() method to the internal
> class Mono.Runtime in mscorlib.dll.
> 
> I created this funtion because there is no way to obtain the version of Mono
> runtime programmatically altought I think it is necessary.
> 
> It is internal to preserve compatibility with .NET Framework but can be
> called using reflection or using the hack that you create your own
> Mono.Runtime.GetVersion() method in your assembly but it is not recommended.
> 
> configure.in stuff is from the patch Duncan Mak in bug #39264.
> 
> Comments are welcome.
> 
> Kornél
> 
> 
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
> 
> 
> 
> 


-- 
Rafael "Monoman" Teixeira
---------------------------------------
I'm trying to become a "Rosh Gadol" before my own eyes. 
See http://www.joelonsoftware.com/items/2004/12/06.html for enlightment.
It hurts!



More information about the Mono-devel-list mailing list