Jeremy
unread,Jun 8, 2010, 12:36:14 PM6/8/10Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ccnet-user
My ncoverProfile block is causing MSTest to throw this error:
Invalid switch "c".
For switch syntax, type "MSTest /help"
Which causes NCover to throw this exception:
---- Top level exception: System.Exception
No data was collected.
at NCover.Framework.ProfilerDriver._GetCoverageData()
at NCover.Framework.ProfilerDriver.ExecuteNCover(Int32&
profiledAppCode)
at NCover.Framework.ProfilerDriver.Execute(Int32&
profiledAppCode)
at NCover.ConsoleMain.ConsoleMain.RunCoverage(String[]
args, IOutputWriter output)
From what I can tell, my ncoverProfile block is correct, but perhaps
not. Here is my ncoverProfile block:
<ncoverProfile>
<executable>C:\PROGRA~1\NCover\NCover.Console.exe</
executable>
<program>C:\PROGRA~1\MICROS~1.0\Common7\IDE\MSTest.exe</
program>
<testProject>MyProject.Tests.dll</testProject>
<baseDir>C:\Projects\MyProject\bin</baseDir>
<includedAssemblies>MyProject</includedAssemblies>
</ncoverProfile>
Does anyone have an idea of what is wrong? It seems that CCNET is
messing up when it converts the ncoverProfile information into
commands for the command line. Please look into and fix if
necessary. This is preventing me from getting work done and delaying
the deployment of my team's CCNET server.
Thanks,
Jeremy