Problem
The dotCover snapshot does not reflect coverage after application interactions. In the dotCover log, you may see one of the following errors:
00001E48 1 13870A68 ERROR: Failed to get method body: COR_E_BADIMAGEFORMAT The format of a DLL or executable being loaded is invalid. (hresult_error:8007000B)
08:22:57.927 |V| MeasureCommandProcessor_Vibex_Tehov| BridgeCoreThread:153 | OnAlert severity=Error hr=E_FAIL message=“Unknown standart IL prefix"
Cause
The primary cause of this issue is the use of code-obfuscated DLLs in the application. dotCover does not support obfuscated DLLs due to technical limitations.
Resolution
To resolve the issue:
- Exclude obfuscated DLLs from coverage analysis in dotCover.
- Navigate to File → Edit Coverage Filters in the dotCover interface.
- If possible, avoid using obfuscated DLLs for code coverage scenarios.
Currently, there are no plans to add support for obfuscated DLLs in dotCover.
Comments
0 comments
Please sign in to leave a comment.