c# - Error encountered when running dotcover console runner using xunit as the target executable -
i using dotcover console runner check out code coverage. here command line used -
c:.\dotcover.exe cover /targetexecutable="c:\packages\xunit.1.9.2\ lib\net20\xunit.runner.msbuild.dll" /targetarguments="c:\bin\myconfigfolder\my.tests.dll" /output="c:\temp\coveragereport.html" /reporttype="html"
but getting message below -
jetbrains dotcover console runner v2.7.4.24. copyright (c) 2009-2015 jetbrains s.r.o. rights reserved.
[jetbrains dotcover] coverage session started [9/30/2015 4:22:46 pm]
[jetbrains dotcover] coverage session finished errors: can't start application. see below more details:
the specified executable not valid application os platform...
the dll used visual studio, , project simple test project written in c#. , have tried run command line both cmd console , powershell, ending same error.
could please shed lights on this?
the msbuild runner not executable. invoked msbuild.exe. try using xunit.runner.console package
Comments
Post a Comment