nant - newline in <buildArgs> causes "Target ' ' does not exist in this project." (Bug #12)
I work with two different versions of CCNET, 22.214.171.124 and 1.6.7898.1
In my configuration, I have my <buildArgs> node split in to multiple lines for readability
This works fine in my 1.4.x solution with no issues. In my 1.6.7898.1 installation, I started receiving an error message "Target ' ' does not exist in this project." I was able to fix the error my removing all extra newlines from the <buildArgs> node.
can not reproduce :-(
attached are the 2 scenario's I've tested (1.6 and 1.7) and both went ok
can someone provide a ccnet.config that shows the error?
also some notes on this :
I have the same problem. I have a task that runs a simple console app with a number of parameters. For readability I would place the parameters on individual lines. This worked in the previous version of cruisecontrol but since upgrading to 1.6, I can see new-lines appearing which is throwing the console app off.
<description>Wrapping Packaged Micropay Application</description>
<executable>C:\Program Files\Wise Installation System\wise32</executable>
If I turn trace on, I can see the newlines appearing in the log.
- File ccnet.log added
Sorry, <exec> task should have been
<description>Deploying 2012 for packaging</description>
$MP_BIN="Deployment\Micropay\Binary Files\Current Year"