Code coverage is showing 0 % but same code and settings earlier it was showing > 0 % value in code coverage in C# .net Framework 4.7.1.
NunitTestEXE - nunit3-console.exe
OpenCoverExe- Opencover.console.exe
WARN: The code coverage report doesn’t contain any coverage data for the included files
NOTE: OpenCover.xml file does not contain main project file, it’s showing only Testproject data.
I have gone through multiple replay and link but could not find solution.
I tried <‘DebugType>pdbonly<’/DebugType>" in csproj file main project and this has resolved the issue.
this is just for information, if similar issue exists then this will be helpful.