Closed carlreinke closed 2 weeks ago
We rely on MSBuild target for deterministic path https://github.com/coverlet-coverage/coverlet/blob/master/src/coverlet.msbuild.tasks/coverlet.msbuild.targets#L11 we're not in control of it. Maybe you can ask on the SDK side https://github.com/dotnet/sdk
The
PathMap
property seems to not be reflected in theCoverletSourceRootsMapping
file.I ended up adding an extra target to my project to make it work:
I'm not an MSBuild expert, so maybe there's a better way to do it.