如何确定从哪个当前Mono运行时构建和安装的版本? [英] How to determine the revision from which current Mono runtime was built and installed?
本文介绍了如何确定从哪个当前Mono运行时构建和安装的版本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想确定从其构建和安装当前Mono运行时的修订版(如何在Git中正确地调用它?).
I want to determine the revision (how to call properly it in Git?) from which current Mono runtime was built and installed.
$ dmcs --version
Mono C# compiler version 2.9.0.0
但这绝对是不够的.
XSP/ASP.NET错误页面提供了更多信息:
XSP/ASP.NET error page gives more information:
版本信息:Mono Runtime版本:2.8.1(master/cdf1247 Sat Sep 4 01:22:04 MSD 2010); ASP.NET版本:4.0.30319.1
Version information: Mono Runtime Version: 2.8.1 (master/cdf1247 Sat Sep 4 01:22:04 MSD 2010); ASP.NET Version: 4.0.30319.1
但是对我来说这似乎是一个肮脏的骇客.
but it seems to be a dirty hack to me.
如何正确执行?
推荐答案
mono -V
将输出版本字符串,包括源代码修订版.
mono -V
will output the version string, including source code revision.
这篇关于如何确定从哪个当前Mono运行时构建和安装的版本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文