Index Sources & Publish Symbols <--> portable PDBs
See original GitHub issueHi all,
this is more a question like an issue - hope that’s ok 😃
As Visual Studio 2017 update 15.3 is released and now supports Visual Studio Team Services Symbol Server we’ve added the Index Sources & Publish Symbols task to our Release Task-Group of .NET core NuGet packages:
We then realized, that while having portable PDBs those will not be indexed:
We read in this comment that portable PDBs by default support source linking.
We tried some different setups (e.g using SourceLink with
<PackageReference Include="SourceLink.Create.CommandLine" Version="2.1.2" PrivateAssets="All" />
but didn’t managed to get it work.
The symbols itself are retrieved by Visual Studio from the VSTS Server, but it is not able to find the the corresponding source files:
SRCSRV: The module ‘C:\Users\k.nuget\packages\xxxx.foundation.logging.serilog\1.3.2\lib\netstandard1.6\xxxx.Foundation.Logging.Serilog.dll’ does not contain source server information.
Any help how to get this working is appreciated. 😃
Cheers, Marcus
Issue Analytics
- State:
- Created 6 years ago
- Comments:8 (3 by maintainers)
Closing this issue down. SourceLink support for Azure Repos was shipped, including authenticated repositories. For portable PDBs, you just don’t index the symbols, publish works the same way. Then everything should work.
Yes, that is unfortunate. We use a proxy internally, but I’d love to see this just get supported by VS.