Skip to content

Conversion use of Source Link

petroslikidis edited this page May 25, 2021 · 1 revision

We need good ways to debug Nugets. Source Link is one option. To include Source Link in your Nuget:

  • install the Mictosoft.SourceLink.GitHub Nuget. (we used 1.0.0)
  • In project/Properties/Build set Optimize code: off
    Advanced/Debugging info: Portable

Commit, Build and Upload Nuget. In that order because the adress to your last commit is added to your Nuget (in the nuspec file in the nupkg file)

To consume, Check Enable Source Link support and Uncheck Enable Just My Code in Options/Debugging/General