Skip to content
This repository has been archived by the owner on Aug 30, 2024. It is now read-only.

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
@damienpontifex damienpontifex deleted the source-link branch November 27, 2023 02:33
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants