Cannot get function version::get-build to work

"Thuc D. Nguyen" <[email protected]> Thu, 18 Oct 2012 11:04:34 -0500
Newsgroups gmane.comp.windows.dotnet.nant.user
Message-ID <CAO-ciHqchDX5X+6C8pm+1C-6qgs+UfkwA+UB54d6zYd-rbtsKg@mail.gmail.com>
--===============3714235562302003333==
Content-Type: multipart/alternative; boundary=bcaec54a325e42c01c04cc578c74

--bcaec54a325e42c01c04cc578c74
Content-Type: text/plain; charset=ISO-8859-1

Hello,
I cannot get the NAnt function *version::get-build* to retrieve the build
number. Below is what I use inside my NAnt script and what follows is the
error message. I'm using NAnt 0.92.
Does anyone have any idea on how to make this work?

    <property name="BuildNumber" value="${version::get-build(1.0.17.0)}" />
    <echo message="${BuildNumber}" />

            BUILD FAILED
            MyNAnt.build(259,6):
            ',' expected.
            Expression: ${version::get-build(1.0.17.0)}
                                                               ^

Thanks,
TDN

--bcaec54a325e42c01c04cc578c74
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<p>Hello,</p>
<div>I cannot get the NAnt function <strong>version::get-build</strong> to =
retrieve the build number. Below is what I=A0use inside my NAnt script and =
what follows is=A0the error message. I&#39;m using NAnt 0.92.</div>
<div>Does anyone have any idea on how to make this work?</div>
<p>=A0=A0=A0 &lt;property name=3D&quot;BuildNumber&quot; value=3D&quot;${ve=
rsion::get-build(1.0.17.0)}&quot; /&gt;<br>=A0=A0=A0 &lt;echo message=3D&qu=
ot;${BuildNumber}&quot; /&gt;</p>
<p>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 BUILD FAILED</p>
<div>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 MyNAnt.build(259,6):<br>=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0 &#39;,&#39; expected.<br>=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0 Expression: ${version::get-build(1.0.17.0)}<br>=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0 ^</div>
<div>=A0</div>
<div>Thanks,</div>
<div>TDN</div>

--bcaec54a325e42c01c04cc578c74--


--===============3714235562302003333==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
--===============3714235562302003333==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
NAnt-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nant-users

--===============3714235562302003333==--