Where did you get NCover from?

http://ncover.org/

- or -

http://ncover.sourceforge.net/ 

IIRC, I had this problem when I used the version from SourceForge, but
if you go to ncover.org, that version seems to work a lot better.  Plus,
I found ncover.org's version integrated with nAnt a lot easier.

Jason

PS  I don't know the history of this project, so I don't know why the
differences in code between the two projects with the same name.

>-----Original Message-----
>From: [EMAIL PROTECTED] 
>[mailto:[EMAIL PROTECTED] On Behalf 
>Of Dorp, Patriek van
>Sent: Monday, October 03, 2005 4:49 AM
>To: nant-developers@lists.sourceforge.net
>Subject: [nant-dev] Error while integrating ncover into 
>dailybuild with nant.
>
>Dear all,
> 
>I'm trying to integrate NCover into our dailybuild process. I 
>downloaded the latest version of NCover (I think...) sources 
>and compiled the NCoverNant project. After running our daily 
>build the following error keeps coming up:
> 
>InstrumentCoreCode:
>    [mkdir] Creating directory 'D:\GemsDailyBuild\Reports\Framework'.
>   [ncover]    [ncover] NCover version 1.0.2099.21486
>   [ncover]    [ncover] Instrumenting 67 files for test 
>coverage analysis.
>BUILD FAILED - 0 non-fatal error(s), 25 warning(s) INTERNAL ERROR
>System.InvalidOperationException: There was an error 
>generating the XML document. ---> System.InvalidCastException: 
>Specified cast is not valid.
>   at 
>Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationW
>riter1.Write5_Coverage(Object o)
>   --- End of inner exception stack trace ---
>   at 
>System.Xml.Serialization.XmlSerializer.Serialize(XmlWriter 
>xmlWriter, Object o, XmlSerializerNamespaces namespaces, 
>String encodingStyle)
>   at 
>System.Xml.Serialization.XmlSerializer.Serialize(XmlWriter 
>xmlWriter, Object o)
>   at NCover.Coverage.SaveCoverage(Stream expected, Coverage coverage)
>   at NCover.NCoverTaskImpl..ctor(NCoverAction ncoverAction)
>   at NCover.Actions.NCoverAction.Execute()
>   at NCoverTask.ExecuteTask()
>   at NAnt.Core.Task.Execute()
>   at NAnt.Core.Target.Execute()
>   at NAnt.Core.Project.Execute(String targetName, Boolean 
>forceDependencies)
>   at NAnt.Core.Tasks.CallTask.ExecuteTask()
>   at NAnt.Core.Task.Execute()
>   at NAnt.Core.Target.Execute()
>   at NAnt.Core.Project.Execute(String targetName, Boolean 
>forceDependencies)
>   at NAnt.Core.Tasks.CallTask.ExecuteTask()
>   at NAnt.Core.Task.Execute()
>   at NAnt.Core.Target.Execute()
>   at NAnt.Core.Project.Execute(String targetName, Boolean 
>forceDependencies)
>   at NAnt.Core.Project.Execute()
>   at NAnt.Core.Project.Run()
>Please send bug report to [EMAIL PROTECTED]
> 
>Could you provide me with an answer to how I can resolve this problem?
> 
>With kind regards,
> 
> 
>Patriek van Dorp
>Applicatie Engineer
> 
>Sogeti Nederland B.V.
>Postbus 8198
>3009 AD Rotterdam
>Hoofdweg 204
>3067 GJ Rotterdam
>T: +31 (0)20 660 66 00 + nakiesnummer 1957
>F: +31 (0)20 660 66 62
>M:  +31 (0)6 52327704
> 
>e-mail: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> 
> 
>www.sogeti.nl
>
>
>Disclaimer:
>This message contains information that may be privileged or 
>confidential and is the property of Sogeti Nederland B.V. or 
>its Group members. It is intended only for the person to whom 
>it is addressed. If you are not the intended recipient, you 
>are not authorized to read, print, retain, copy, disseminate, 
>distribute, or use this message or any part thereof. If you 
>receive this message in error, please notify the sender 
>immediately and delete all copies of this message.
>
>
>
>-------------------------------------------------------
>This SF.Net email is sponsored by:
>Power Architecture Resource Center: Free content, downloads, 
>discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl
>_______________________________________________
>nant-developers mailing list
>nant-developers@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/nant-developers
>


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to