sourcelink

Best practice for using Source Link

爱⌒轻易说出口 提交于 2021-01-28 05:08:12
问题 I am trying to implement Source Link in a NuGet package. I have successfully implemented the instructions in the GitHub README (https://github.com/dotnet/sourcelink), but am confused about which artifacts to upload to our NuGet package source (MyGet). It seems that two artifacts are generated; a .nupkg and .snupkg file. MyGet returns a 409 response when I attempt to upload both to the same feed. So, what is the best practice for using Source Link? Is it to use a separate feed for the .snupkg

How to debug asp.net core async method using Source Link?

眉间皱痕 提交于 2020-03-19 05:17:12
问题 I am trying to debug asp.net core internals to see what is going on under the hood. I set up .net core debugging in VS Code according to this article: https://github.com/OmniSharp/omnisharp-vscode/wiki/Debugging-into-the-.NET-Framework-itself Now I get .net core sources automatically while debugging and can step into methods, but not async ones . Since I have no source code at hand (it loads on the fly from somewhere) I cannot set a breakpoint in an async method to make debugger stop there. I

Azure DevOps SourceLink and Symbol Server with Release DLL in Nuget package

有些话、适合烂在心里 提交于 2019-12-24 03:37:14
问题 I have a .NET Standard 2.0 TestSouceLink project with the following configuration in the .csproj : <PropertyGroup> <TargetFramework>netstandard2.0</TargetFramework> <RestoreProjectStyle>PackageReference</RestoreProjectStyle> <Authors>Jérôme MEVEL</Authors> <Description>Just a test package for SourceLink</Description> <Version>1.1.1</Version> <PublishRepositoryUrl>true</PublishRepositoryUrl> <EmbedUntrackedSources>true</EmbedUntrackedSources> </PropertyGroup> <PropertyGroup Condition="'$

Debug NuGet package with Azure Devops and Source Link

风格不统一 提交于 2019-12-09 06:22:28
问题 I am trying to get SourceLink to work with a private NuGet package. I am running a netcore2.1 web application which references a netstandard2.0 NuGet package hosted on our Azure Devops NuGet feed. Question 1: Does Source Link support .NET Standard packages? I have followed the instructions in the guide here https://docs.microsoft.com/en-us/azure/devops/artifacts/symbols/setting-up-github-sourcelinking?view=vsts, which is basically: Add the Index Sources and Publish symbols package to my Azure

Source Link with an Azure DevOps Symbol Server

亡梦爱人 提交于 2019-12-04 20:27:29
问题 There are several documented ways on internet on how to use Symbols Source files and Source Link to debug inside a Nuget Package but it's honestly hard to understand what is the good way for me. We have an Azure DevOps Server on which we generate Nuget packages and at the same time publish the .pdb files to the Azure DevOps Symbol Server using an Index Sources & Publish Symbols task in our build pipelines as described here My project' also has a reference to Microsoft.SourceLink.Vsts.Git and

Source Link with an Azure DevOps Symbol Server

狂风中的少年 提交于 2019-12-03 13:20:55
There are several documented ways on internet on how to use Symbols Source files and Source Link to debug inside a Nuget Package but it's honestly hard to understand what is the good way for me. We have an Azure DevOps Server on which we generate Nuget packages and at the same time publish the .pdb files to the Azure DevOps Symbol Server using an Index Sources & Publish Symbols task in our build pipelines as described here My project' also has a reference to Microsoft.SourceLink.Vsts.Git and this code in the .csproj file <PublishRepositoryUrl>true</PublishRepositoryUrl> <EmbedUntrackedSources