Skip to content

[Bug fix]Fix "/p:UseSourceLink=true" bug #437

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 28, 2019

Conversation

MarcoRossignoli
Copy link
Collaborator

@MarcoRossignoli MarcoRossignoli commented May 27, 2019

Fixes #418

This PR https://github.com/tonerdo/coverlet/pull/299/files changed the way we build source link url.
In case of source is on repo root(special case) we need to skip relative path calculation.

cc: @tonerdo @dbolin

EDIT: now we have a nightly build (https://www.myget.org/F/coverlet-dev/api/v3/index.json) after merge we can ask to Dominic to try!

@MarcoRossignoli MarcoRossignoli changed the title Fix "/p:UseSourceLink=true" bug [Bug fix]Fix "/p:UseSourceLink=true" bug May 27, 2019
@MarcoRossignoli
Copy link
Collaborator Author

MarcoRossignoli commented May 27, 2019

Tested with @dbolin repro.
Cobertura result coverage.cobertura.zip
image

Now file name point to correct repo root source file https://raw.githubusercontent.com/dbolin/Apex.Serialization/2582f069080a0b4291a2410c3d43f7c1ff3f6840/Binary.cs

@MarcoRossignoli MarcoRossignoli requested review from petli and tonerdo May 27, 2019 15:24
@tonerdo tonerdo merged commit 13c2e2b into coverlet-coverage:master May 28, 2019
@MarcoRossignoli MarcoRossignoli deleted the fixsourcelinkbug branch May 28, 2019 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

coverlet.msbuild /p:UseSourceLink=true causes exception
2 participants