DotCover Analyse console.xml creates xml report but gives exception for html report. Any ideas?

DotCover Analyse console.xml creates xml report but gives exception for html report.  Any ideas? Please suggest.

Console.xml

<?xml version="1.0" encoding="utf-8"?>
<AnalyseParams >
<TargetExecutable>C:\Program Files (x86)\NUnit 2.6.2\bin\nunit-console.exe</TargetExecutable>
<WorkingDir>.</WorkingDir>
<TargetArguments>/labels /trace=Verbose /framework=net-4.5 /timeout=250000  /xml=ABC\ABC_Nunit_Report.xml  ABC\src\A\bin\A1Test.dll ABC\src\A\bin\A2Test.dll ABC\src\B\bin\B1Test.dll ABC\src\B\bin\B1Test.dll  ABC\src\B\bin\B2Test.dll </TargetArguments>
<Output>AppCoverageReport.html</Output>
<ReportType>html</ReportType>
</AnalyseParams>

Command used. dotcover analyse console.xml


EXCEPTION #3/6 [FileNotFoundException]
Message = “Could not load file or assembly 'JetBrains.dotCover.Zoning, Version=3.0.0.0, Culture=neutral, PublicKeyToken=1010a0d8d6380325' or one of its dependencies. The system cannot find the file specified.”
ExceptionPath = Root.InnerException.InnerException.Exceptions.#2
ClassName = System.IO.FileNotFoundException
HResult = COR_E_FILENOTFOUND=E_FILENOTFOUND=80070002
FileNotFound_FileName = “JetBrains.dotCover.Zoning, Version=3.0.0.0, Culture=neutral, PublicKeyToken=1010a0d8d6380325”
FileNotFound_FusionLog = “
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.

8 comments

Hello Padma,

Could you please reproduce the issue with dotCover's logging enabled and attach the log file here? In order to enable logging please run dotCover with the following command line: "dotcover analyse console.xml /LogFile=path_to_log_file".

Thanks in advance. Best regards.

0

Thank you for your response. Please find the attached log.

0

Hi Padma,

Unfortunately I can't see any attached files. Could you please try to repost it? Or you can send the log file directly to my e-mail: ekaterina.solovova@jetbrains.com.

0

Log file attached Log.txt and sent in e-mail as well.

0

Hi Padma,

Thank you for the log file.

Could you please tell me whether it's true that you are using dotCover console runner from dotCoverCommandLineTools01Update1.zip archive?
If not, what is the directory you are running dotCover.exe from?

0

Hi Ekatrina,

I checked with our team and we are using the dotCover console runner from dotCoverCommandLineTools01Update1.zip archive.

Do you have any further updates on why we are seeing this issue? We need to figure this issue soon - any pointers/help would be highly appreciated.

-Padma

0

Hi Padma,

Could you please try to copy JetBrains.dotCover.Zoning.dll from dotCover's installation directory (C:\Users\%username%\AppData\Local\JetBrains\Installations\dotCover01) to the directory you are running dotCover.exe from? Unfortunately dotCoverCommandLineTools01Update1.zip archive doesn't contain this dll though it's needed for building HTML reports.

Please tell me whether it helps or not.
Sorry for the inconvenience. Best regards.

0

Thank you Ekaterina. Its working now . Appreciate your help.

0

Please sign in to leave a comment.