Hi all -
I am setting up Nant to work with Cruise Control. Nant works fine on
it's own, until I call this target:
<target name="prebuild">
<if test="${is.full.build}">
<foreach item="File" property="assemblyinfo.file">
<in>
<items>
<include name="**\AssemblyInfo.cs" />
</items>
</in>
<do>
<setversion file="${assemblyinfo.file}"
fileVersion="${version.number}"/>
</do>
</foreach>
</if>
</target>
I call this target as part of a full release build. The <if/> passes,
because this is a full release build I am trying to execute. When the
target gets called, this is the output that I see:
prebuild:
BUILD FAILED
D:\Build\eCommerceAutomatedBilling-full\eCommerceAutomat
edBilling\eCommerceAutomatedBilling.sln.build(85,22):
Unknown task <setversion>.
Total time: 0.4 seconds.
I have searched the archive, as well as looked into the task
documentation for Nant and NantContrib as well. I can't find the
<setversion> task documented anywhere! I got a build template from a
coworker, and everything has worked fine so far, except for this. Any
ideas?
I am running Nant 0.85 nightly, as well as NantContrib 0.85 nightly. Thanks!
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Nant-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nant-users