Hi, 
I was using the <codestats> task and found an error:
In the output XML the filename is duplicated:
<file-summary
name="D:\Dev\Common\DesignByContract\AssertionException.cs\D:\Common\DesignB
yContract\AssertionException.cs" .... />

To correct this line 193 & 194 in CodeStatsTask.cs

return new FileCodeCountInfo(FileName,
 
FileName,fileLineCount,fileCommentLineCount,fileEmptyLineCount);


should be replaced by 

return new FileCodeCountInfo(Path.GetFileName(FileName), 
 
Path.GetDirectoryName(FileName),fileLineCount,fileCommentLineCount,fileEmpty
LineCount);


Yves.







-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
NAntContrib-Developer mailing list
NAntContrib-Developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer

Reply via email to