47 questions
1
vote
1
answer
130
views
Visual Studio insists downloading source files from GIT Repo for local Dev-builds in local NuGet-feed
Setup
We have internal NuGet packages consumed in other solutions, that we would like to package and debug locally in those other solutions, before we push both the code changes to Git and NuGet ...
0
votes
0
answers
132
views
How can I know if .net sourcelink actually is working as expected?
I am trying to get debugging to work for a couple of internal nuget packages. We use .net 8, the code is hosted on azure devops git repo, and the nuget packages are hosted on an Azure devops artifacts ...
3
votes
1
answer
411
views
Why do some files show as Decompiled, SourceLink and Metadata?
I checked the Microsoft Symbols Server checkbox in Tools -> Options -> Debugging -> Symbols so I can view the source code.
Why is it that some files show decompiled while others show ...
1
vote
0
answers
118
views
Source Link does not work with Blazor web assembly
Visual Studio comes with a Source Link feature that basically allows you to debug 3rd party assemblies given that their debug symbols have been published on a source server. This works fine for the ...
6
votes
0
answers
618
views
VS Code Source Link
Has anyone gotten SourceLink to work in VS Code such that it allows Go To Definition code navigation as well as debugging into the ASP.Net Source Code pulled from the Microsoft symbol servers?
I have ...
0
votes
0
answers
106
views
SourceLink and Azure DevOps
Have I got it right that AzureDevOps doesn't support snupkg therefore you have to use the PublishSymbols task which only works on Agent.OS -equals Windows_NT?
- task: PowerShell@2
displayName: '...
1
vote
0
answers
98
views
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 ...
0
votes
1
answer
159
views
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 ...
1
vote
1
answer
562
views
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....
0
votes
2
answers
121
views
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.
...
1
vote
2
answers
1k
views
.NET Source Link: "Source not found" despite correct link
I think I set up everything correctly.
My symbols are created and I configured Visual Studio after this tutorial.
I can step into other libraries like JsonNet.
When I try to step into my code it tries ...
2
votes
2
answers
2k
views
File not found: Source link authentication failed
I have two solutions that are libraries to my other projects
First one is called the framework and the second one is the library.
some projects on the solution are .net standard 2.1 and some are .net ...
1
vote
0
answers
977
views
SourceLink Authentication error when using Microsoft.SourceLink.AzureRepos.Git
I am trying to enable SourceLink for our internal NuGet packages and am running into a problem where I don't see how I can solve it.
My setup is:
Visual Studio 2019 Enterprise (16.3.8)
An Azure ...
0
votes
1
answer
298
views
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 ...
16
votes
0
answers
1k
views
Azure DevOps SourceLink and Symbol Server with Release DLL in Nuget package
I have a .NET Standard 2.0 TestSouceLink project with the following configuration in the .csproj:
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<...
0
votes
0
answers
722
views
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. ...
1
vote
0
answers
805
views
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 ...
4
votes
2
answers
6k
views
Enabling SourceLink
Having private repositories on VSTS (Azure DevOps) I tried enabling SourceLink by adding the following to the .csproj file: https://github.com/dotnet/sourcelink#azure-devops-visual-studio-team-...
0
votes
1
answer
311
views
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 ...
5
votes
0
answers
1k
views
Can't step into SourceLink enabled NuGet hosted in private repo
I am using Visual Studio 15.8.4 referencing a NuGet package from a private MyGet feed. The source code is hosted by a private repo at GitHub.
I can successfully print the mapping document in the file:...
4
votes
1
answer
217
views
Using SourceLink V2 debugging with async methods. Is it possible?
We are starting to use SourceLink V2 on a project for debugging our internal nuget packages. We have it set up properly (as best as we can tell) and are able to successfully debug into normal, ...
11
votes
2
answers
1k
views
Go to Implementation with sourcelink
How can I enable visual studio to 'Go to implementation' for library code that is exposed with SourceLink?
We recently began using SourceLink in our .NETcore library in an attempt to debug the ...
1
vote
0
answers
158
views
SourceLink - Stepping into async base class method not working
In my NuGet Package where SourceLink is enabled and working I have a ServiceBase class which contains async methods for Get, Post, Update etc.
Stepping into the constructor of the base class works ...
4
votes
2
answers
1k
views
Is source indexing for Git builds possible in TFS 2013?
According to this post from January, source indexing was "not supported in TFS Builds running against Git source control". Have any of the updates made this possible yet?