summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Source/Dafny/DafnyOptions.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/Dafny/DafnyOptions.cs b/Source/Dafny/DafnyOptions.cs
index d5057017..9176b8e1 100644
--- a/Source/Dafny/DafnyOptions.cs
+++ b/Source/Dafny/DafnyOptions.cs
@@ -13,6 +13,12 @@ namespace Microsoft.Dafny
: base("Dafny", "Dafny program verifier") {
}
+ public override string VersionNumber {
+ get {
+ return System.Diagnostics.FileVersionInfo.GetVersionInfo(System.Reflection.Assembly.GetExecutingAssembly().Location).FileVersion;
+ }
+ }
+
private static DafnyOptions clo;
public static DafnyOptions O {
get { return clo; }