| NAnt  Help  Function Reference  environment::get-version | v0.85 | 
Gets a Version object that describes the major, minor, build, and revision numbers of the Common Language Runtime.
      Version environment::get-version()
            
    
    Output the major version of the CLR.
<echo message="Major version=${version::get-major(environment::get-version())}" />