Skip to content
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

Enable Source link for debugging enhancements #60

Merged
merged 1 commit into from
Nov 27, 2023

Conversation

damienpontifex
Copy link
Contributor

Source Link is a technology that enables source code debugging of .NET assemblies from NuGet by developers. Source Link executes when creating the NuGet package and embeds source control metadata inside assemblies and the package. Developers who download the package and have Source Link enabled in Visual Studio can step into its source code. Source Link provides source control metadata to create a great debugging experience.

- [Source Link](https://learn.microsoft.com/en-us/dotnet/standard/library-guidance/sourcelink) reference
> Source Link is a technology that enables source code debugging of .NET assemblies from NuGet by developers. Source Link executes when creating the NuGet package and embeds source control metadata inside assemblies and the package. Developers who download the package and have Source Link enabled in Visual Studio can step into its source code. Source Link provides source control metadata to create a great debugging experience.
- See example from Newtonsoft.Json https://github.com/JamesNK/Newtonsoft.Json/blob/master/Src/Newtonsoft.Json/Newtonsoft.Json.csproj
- Also producing [symbol packages (.snupkg)](https://learn.microsoft.com/en-us/nuget/create-packages/symbol-packages-snupkg?source=recommendations) to include debug symbols
@damienpontifex damienpontifex requested a review from a team as a code owner November 26, 2023 01:23
@dariuszkuc dariuszkuc merged commit d973c5f into apollographql:main Nov 27, 2023
4 checks passed
@damienpontifex damienpontifex deleted the source-link branch November 27, 2023 02:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants