feat: add source control metadata to packages #51
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Details
This PR adds source-linking metadata to each package using SourceLink, which allows IDEs to find the specific source commit/line during debugging that involves the packages. It does this by following the sourcelink docs to add a development-time (
PrivateAssets="All"
) reference onMicrosoft.SourceLink.GitHub
.The selenium package already had a (unnecessarily verbose) version of this in place; this PR updates all 3 packages to consistently use the recommended form of sourcelink reference.
You can verify the results of this by building, opening up the resulting
.nupkg
files, and finding a line like this embedded automatically into the included.nuspec
file:Closes Issue: n/a