Skip to content

Latest commit

 

History

History
19 lines (15 loc) · 1.43 KB

source-link.md

File metadata and controls

19 lines (15 loc) · 1.43 KB

The Kontent.Ai.Delivery* NuGet packages are configured to provide Source Link debugging capabilities. The source code is downloaded directly from GitHub to Visual Studio.

How to configure SourceLink

  1. Open a solution with a project referencing the Kontent.Ai.Delivery (or Kontent.Ai.Delivery.RX) Nuget package.
  2. Open Tools -> Options -> Debugging -> General.
    • Clear Enable Just My Code.
    • Select Enable Source Link Support.
    • (Optional) Clear Require source files to exactly match the original version.
  3. Build your solution.
  4. Add a symbol server https://symbols.nuget.org/download/symbols
  • Add a symbol server in VS
  1. Run a debugging session and try to step into the Kontent.Ai.Delivery code.
  2. Allow Visual Studio to download the source code from GitHub.
  • SourceLink confirmation dialog

Now you are able to debug the source code of our library without needing to download the source code manually!

More info about Source Link: https://github.com/dotnet/sourcelink/