-
Notifications
You must be signed in to change notification settings - Fork 125
add SourceLink support #65
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
Thanks for the PR! Will the beta package reference prevent a stable version of this package being published, or is |
SourceLink is marked with |
I'm sorry for the delayed answer. According to controlling dependency assets and using sourcelink Hence referencing of a beta package shouldn't prevent a stable version of this package being published. |
Great! Thanks for the replies. Since we'd ideally do this consistently throughout the Serilog org, it seems getting it spot-on here is worthwhile :-) One last question, in single-published-package repos like the Serilog ones, is there any reason not to include the SourceLink task/references in the CSPROJ files themselves, rather than in a PROPS file? Thanks! |
@nblumhardt, you are probably referring to the following PR. In that PR SourceLink v2 was added. For now, it is being considered as obsolete and SourceLink v3 (which is being added in this PR) would evolve further. For more details please take a look at SourceLink and .NET Foundation. Probably I'd also need to create a PR with this updated version of SourceLink into that repo as well (and other kinds of serilog sinks repos :) heh, a lot of work to do but I hope I'll be able to do it). Regarding your last question about props vs *PROJ it is a really good question. I'd agree that in single-published-package repos, it probably doesn't give any benefit. Thank you! |
Thanks for the reply and details! Yes, I'd forgotten about the original serilog/serilog one; seems like v3 is the way to go, anyway :-) For consistency, since we don't split e.g. NuGet packaging etc. out into PROPS files, rolling it into the CSPROJ file seems like the way to go 👍 |
disable SourceLink by default;
Awesome, thanks! Let's give this a shot 👍 |
added support of SourceLink in order to enable better debugging experience. For more info regarding SourceLink please refer to the official repo here