im currently building a continuous integration nant script and im trying to incorporate NCover documentation into the build process.
when i run the command below, i get file cant be found errors, but all dirs do exist! is there anything im doing wrong?
thanks
-----------------------------
runNCover:
[echo] Starting NUnit code coverage run...
[mkdir] Creating directory 'C:\WorkingFolder\BuildingSolution\bin\Latest\cov
erage_results'.
[exec] NCover.Console v1.5.4 - Code Coverage Analysis for .NET - http://nco
ver.org
[exec] Copyright (c) 2004-2005 Peter Waldschmidt
[exec] Command: /c
[exec] Command Args: C:\WorkingFolder\devtools\nunit\bin\nunit-console.exe
C:\WorkingFolder\BuildingSolution\bin\Latest\BuildingBL.dll
/xml:C:\WorkingFolder\BuildingSolution\bin\Latest\BuildingTest.dll-results.xml
/w C:\WorkingFolder\devtools\nunit\bin
/o C:\WorkingFolder\BuildingSolution\bin\Latest\coverage_results\Coverage.xml
/l C:\WorkingFolder\BuildingSolution\bin\Latest\coverage_results\Coverage.log
[exec] Working Directory:
[exec] Assemblies:
[exec] Coverage Xml: Coverage.Xml
[exec] Coverage Log: Coverage.Log
[exec] The system cannot find the file specified
BUILD FAILED
C:\WorkingFolder\BuildingSolution\BuildingSolution.build(69,5):
External Program Failed: C:\WorkingFolder\devtools\NCover\NCover.Console.exe (re
turn code was 1)
nant script:
Replies
Know the answer? Post it — somebody with the same question will find it here.