I am new in OpenCover for .net, i read there documentation, I succeed to cover a Tests applications by targeting MSTest.exe but most of times i don't want to create a unit test for projects, in that case, can i target my app directly like that:
OpenCover.console.exe "-target:D:\Coverage\Chars\bin\Debug\Chars.exe" -filter:+[*]* -output:D:\Coverage\Reports\Coverage.xml -targetdir:D:\Coverage\Chars\bin\Debug\
I tried the above line but i got this error:
No results - no assemblies that matched the supplied filter were instrumented
this could be due to missing PDBs for the assemblies that match the filter
please review the output file and refer to the Usage guide (Usage.rtf)
I searched a lot but didn't succeed. What am i doing wrong?