Free cookie consent management tool by TermsFeed Policy Generator

Changeset 8816


Ignore:
Timestamp:
10/17/12 10:16:58 (12 years ago)
Author:
ascheibe
Message:

#1937 fixed version comparison of Mono runtimes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.PluginInfrastructure/3.3/ErrorHandling/FrameworkVersionErrorDialog.cs

    r8632 r8816  
    4343    public static bool MonoCorrectVersionInstalled {
    4444      get {
    45         var version = MonoVersion;
    46 
     45        var monoVersion = MonoVersion;
     46        var minRequiredVersion = new Version(2, 11, 4);
     47                                                                     
    4748        //we need at least mono version 2.11.4
    48         if (version != null && version.Major >= 2 && version.Minor >= 11 && version.Build >= 4) {
     49        if (monoVersion != null && monoVersion >= minRequiredVersion) {
    4950          return true;
    5051        } else {
Note: See TracChangeset for help on using the changeset viewer.