-
Notifications
You must be signed in to change notification settings - Fork 247
PathMap support #1048
Comments
Are you storing your PDBs in a seperate location to the assemplies? if perhaps the -searchdirs argument is what you are looking for |
In fact coverage is reported, but the paths are those mapped with pathmap so when producing reports with a tool such as https://github.com/danielpalme/ReportGenerator "no coverage is found" because there is no matching file at the location A new parameter would allow to map the other way round so that whatever tooling is being used in the chain it will be able to find the source file and show proper coverage for files in the solution |
So a workaround be for the user to reverse the substitutions manually in the XML file before submitting to ReportGenerator? |
Yes, I think it should work |
I would say for now then do that via script (I don't know what your platform is) rather than wait for OpenCover to be updated -my focus is elsewhere nowadays. |
Is your feature request related to a problem? Please describe.
On CI server, we use msbuild switch pathmap to achieve deterministic builds (with deterministic ). But by doing that, we aren't able to collect coverage on those assemblies.
Describe the solution you'd like
Could it be possible to add a command parameter to add a pathmap argument to do the same kind of mapping and allow collecting coverage
The text was updated successfully, but these errors were encountered: