dotnet / dotnet/sourcelink

Only works with -c Debug (.net core, azure repo, azure artifacts)

Open
#248 2 comments 0 reactions 0 assignees View on GitHub
more information needed
Dominant language
C#
Stars
1.4k
Forks
148
PR merge metrics
No merged PRs in 30d

Description

So far I can get symbols working, but only when in Debug Configuration. I'm worried that performance will be reduced.

I don't think I can use .snupkg because it's not supported by Azure DevOps Artifacts, so I'm embedding the pdb in the package

so I've been emdedding the pbd
```
true
true
$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb
```
```

full
true

```

I'm also using "Index Sources & Publish Symbols" task in Azure Pipeline which looks to be working an uploading

```
steps:
- task: PublishSymbols@2
displayName: 'Publish symbols path'
inputs:
SymbolServerType: TeamServices
```

In Debug mode the pdb generated is significantly larger than in release mode.
The dll is about the same, but I'm worried that the compiler won't apply optimizations in Debug mode, so the dll performance will be degraded.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.