question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Please add an example for SourceLinkAzureDevOpsServerGitHost

See original GitHub issue

Hi,

I like to use SourceLinkAzureDevOpsServerGitHost, but the docs are a bit unclear.

<ItemGroup>
  <SourceLinkAzureDevOpsServerGitHost Include="server-name" VirtualDirectory="tfs"/>
</ItemGroup>

The Include attribute specifies the domain and optionally the port of the server (e.g. server-name or server-name:8080).

What should be in the Include property? What’s a server name? Is that an URL? Do we need to add the protocol? (http / https).

An example would be great to have!

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:2
  • Comments:10 (1 by maintainers)

github_iconTop GitHub Comments

7reactions
andriysavincommented, Jul 21, 2021

Hello, what should be in that configuration if code is hosted in Azure-hosted TFS (https://dev.azure.com/)?

1reaction
tmatcommented, Jan 23, 2023

@andriysavin @foundinhim

For https://dev.azure.com/, use Microsoft.SourceLink.AzureRepos.Git package, not Microsoft.SourceLink.AzureDevOpsServer.Git.

https://github.com/dotnet/sourcelink#azure-repos-former-visual-studio-team-services

No configuration is needed for that one.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Debug NuGet package with Azure Devops and Source Link
I wrote a complete blog on how to do this using .NET Core & AzureDevops, but the steps should work for .NET Standard...
Read more >
Producing Packages with Source Link - .NET Blog
In this post, we'll show you how to add Source Link to your projects. This is beneficial both for public and internal projects....
Read more >
Azure Devops Build Pipeline SourceLink.Create ...
Hi I am getting the following error in my Azure Devops build pipeline on the '.NET Core Build' task.
Read more >
Using Source Link in .NET projects and how to configure ...
Basically, Source Link is a technology that enables developers to debug the source code from the NuGet packages, so tools like Visual Studio...
Read more >
Azure DevOps Server 2019–Portable PDB
Keeping the Portable PDB files, but include them in the NuGet packages. We decided to go for workaround #2.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found