Sha256: c512de849bf324478605b3b9644ad1e4122dfebf25f216a0cb480d26e10b8c76
Contents?: true
Size: 1.96 KB
Versions: 2
Compression:
Stored size: 1.96 KB
Contents
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <!-- Documenting GetVersion--> <head> <meta http-equiv="Content-Language" content="en-ca" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="stylesheet" type="text/css" href="../style.css" /> <title>environment::get-version Function</title> </head> <body> <table width="100%" border="0" cellspacing="0" cellpadding="2" class="NavBar"> <tr> <td class="NavBar-Cell"> <a href="http://nant.sourceforge.net"> <b>NAnt</b> </a> <img alt="->" src="../images/arrow.gif" /> <a href="../index.html">Help</a> <img alt="->" src="../images/arrow.gif" /> <a href="index.html">Function Reference</a> <img alt="->" src="../images/arrow.gif" /> environment::get-version</td> <td class="NavBar-Cell" align="right"> v0.90</td> </tr> </table> <h1>environment::get-version</h1> <p> Gets a <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemVersionClassTopic.asp">Version</a> object that describes the major, minor, build, and revision numbers of the Common Language Runtime. </p> <h3>Usage</h3> <code> <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemVersionClassTopic.asp">Version</a> environment::get-version() </code> <p /> <h3>Return Value</h3> A Version object. <h3>Examples</h3><ul class="examples"><li><p>Output the major version of the CLR.</p><pre class="code"> <echo message="Major version=${version::get-major(environment::get-version())}" /> </pre></li></ul><h3>Requirements</h3><div style="margin-left: 20px;"><b>Assembly:</b> NAnt.Core (0.90.3780.0) </div></body> </html>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
nant-0.9.0.20100904 | docs/help/functions/environment.get-version().html |
nant-0.9.0 | docs/help/functions/environment.get-version().html |