I want to populate a project property with output from a task. Is this
possible?
Since the output could be in almost any format I'm not sure how this would
accomplished. The Nant buildfile shows how to write a script to perform
this task. It parses the AssemblyInfo.cs with a regular
If you are writing the task, then you can just use the Properties
collection to set the property you want.
So if you want to write a SCVersion task to do this the syntax could be
something like this.
scversion nextversion=nextVersion/
echo message=next version is ${nextVersion}/
And your code