-
Notifications
You must be signed in to change notification settings - Fork 758
Create NuGet source packages, snupkg #3748
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
Conversation
- Build portable PDBs - Create snupkg files for uploading symbols - Reinstate gitlink
mikkelbu
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. I don't know that much about this area, but I compare the files with the exising nuspec files and with the change in #3464
|
I looked at the build log and remembered that Claire had a comment #3464 (comment) . This could indicate that this is not working correctly. Also the log states
|
|
Thanks for the info @mikkelbu. I've updated to use sourcelink, but I am running into problems. If I build using Visual Studio, the PDBs are properly sourcelinked, but if I build using Cake, they are not. I'll probably need to continue this tomorrow. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reinstate gitlink
GitLink is a different, obsolete technology. This PR is introducing the use of Source Link for the first time. 👍
If it was me, I'd use <EmbedAllSources>true</EmbedAllSources> rather than Source Link especially now that the PDBs are only downloaded when requested, but Source Link is the official recommendation usually.
If you do use Source Link, I would recommend adding <EmbedUntrackedSources>true</EmbedUntrackedSources>. (https://github.com/dotnet/sourcelink/blob/master/README.md#using-source-link-in-net-projects)
Fixes #3745