Chris
Chris

Reputation: 27394

Publish symbols for Nuget package

I am using VSTS and have set up a build script that also publishes to the VSTS internal (private) Nuget feed. All good so far.

Now I want to publish the symbols somewhere so that I can debug those nuget packages. Just FYI I am open to another way of doing this if there is a better or easier way!

So I found the Index Source & Symbols Publish article and associated build step. This looks great! But I don't understand how to make it publish somewhere and where that somewhere should be? Do I have to create an Azure file share and how do I give it appropriate permissions so the build agent can copy it? I feel like the docs at this point are either beyond my understanding or are missing vital information

If anyone could help me I'd be very grateful. Thanks.

P.s. I have included my build order and activities here if that helps give context

Build steps

Upvotes: 1

Views: 1797

Answers (1)

starian chen-MSFT
starian chen-MSFT

Reputation: 33708

There are many ways to publish symbols, for example:

  1. Publish to a shared folder (make sure it can be accessible from build agent)
  2. Publish to a folder, then copy or upload to other server through Azure File Copy, Windows Machine File Copy, cURL Upload files etc… steps/task.

You can specify symbol location in VS if you want to debug with these symbol files. More information, you can refer to: Specify Symbol (.pdb) and Source Files in the Visual Studio Debugger

Upvotes: 1

Related Questions