Questions tagged [sourcelink]

SourceLink allows .NET library users to download on demand the exact version of the source files.

This tag is for any support questions for using SourceLink, for example:

  • How to get SourceLink.exe working with their library
  • How to use SourceLink.Fake in a FAKE build script
  • How to integrate SourceLink with AppVeyor, TFS Build, or another CI server

SourceLink is documented at http://ctaggart.github.io/SourceLink/.

41 questions
0
votes
0 answers

Using Source Link for nuget-packages (.net), without opportunity to access a commercial Azure DeVops repository

Have a good day. Perhaps this topic has already been discussed, I apologize. I'm trying to build NuGet - packages for a commercial .net project. There are quite a few technologies that allow the user who downloaded my package to be able to debug the…
0
votes
0 answers

Unable to debug NuGet package using Source Link with Bitbucket Cloud

Has anyone had any luck getting Source Link to work when using Bitbucket Cloud as the repo with 2 factor and SSH auth enabled? I've followed all of the provided guidelines on both the NuGet package and consuming end of things. Symbols are loading…
Mike D
  • 1
  • 1
0
votes
1 answer

How to step into NuGet packages outside of debug session

Following situation: We have a framework that sits in an hosted GitLab repository. We have a pipeline that creates a NuGet package nuget pack framework.sln which is consumable in any VS solution. So far so good. Now we want to be able to step into…
0
votes
1 answer

Is there a way to view the SourceLink data in a PDB file in order to validate that SourceLink is working?

I created a targets file to enable SourceLink. When running the build, I was able to validate that the source_link.json files were being generated. However, when I try to check the PDB with srctool.exe [PDB file path], it says the file is not…
0
votes
2 answers

Visual Studio SourceLink Nuget Integration with Separate Solution Debugging

I have a library of nuget packages we use throughout our solutions, hosted in Azure Artifacts. These nuget packages are built with debug enabled so symbols are created and included in nuget packages. Our projects in Visual Studio (mainly Net Core…
David D
  • 529
  • 5
  • 11
0
votes
1 answer

Visual Studio Xamarin.Forms Debugging: How to step into an external library method?

Sometimes an exception is thrown from inside the Xamarin.Forms external library and it would be extremely helpful to view the pertinent local variables in the debugger as we would in our own code. Here is the stacktrace of my current Android iOS…
0
votes
1 answer

Is it possible to use SourceLink feature "EmbedAllSources" in a C++ build?

SourceLink supports feature "EmbedAllSources". It is well documented how to use this feature from a dotnet build. Is it possible to use the feature for a C++ build? How would I go about doing that?
Boinst
  • 3,365
  • 2
  • 38
  • 60
0
votes
1 answer

Source link can't download source files for nuget from private azure symbol server, uses wrong domain dev.azure.com/raw/

TL;DR Azure devops is used, VS with source link tries to open source form https://dev.azure.com/raw/... with 404 error, looks like domain generation pattern is wrong We have nuget package and want to enable debugging of its source code. Everything…
Danila Polevshchikov
  • 2,228
  • 2
  • 24
  • 35
0
votes
0 answers

Using Source Link to download source from local .snupkg for debugging

My understanding is that Visual Studio debugging doesn't support extracting sources from an embedded PDB. I've read that Source Link can use a local NuGet repo to download the source for debugging. I've created .nupkg and .snupkg of a test…
Treymoney
  • 21
  • 3
0
votes
0 answers

Debugging own NuGet packages stored locally

I have build some NuGet packages for my own libraries (a couple classic .nupkg containing just the library dll and one containing the pdb-file - the .snupkg extension) I have copied the NuGet packages into the directory of the local private NuGet…
rychlmoj
  • 385
  • 1
  • 3
  • 14
0
votes
1 answer

Adding SourceLink nuget package causes build error

I've been following this documentation to enable SourceLink in an effort to be able to debug private nuget packages hosted on our Azure DevOps account, but have run into an issue. The mere act of installing the appropriate nuget package…
Hershizer33
  • 1,206
  • 2
  • 23
  • 46
1 2
3