Visual Studio Not Downloading Symbols from DevOps Artifacts

Eric Eklund 6 Reputation points
2021-02-17T21:38:46.767+00:00

We are using Azure Devops for internal dev. We have DevOps artifacts set up for internal NuGet packages. As part of our build pipeline we are publishing a NuGet package and debug symbols to artifacts using the task PublishSymbols@2. All of this works as expected.

However sometimes we make several updates to our framework and thus our NuGet package daily. When I use NuGet package manager to update my references to the latest NuGet package Visual Studio will not download the symbols for the latest NuGet package.

If I clear my NuGet cache using the NuGet Package Manger options "Clear All NuGet Cache(s)" button then the on next run it will download the symbols for the latest NuGet package to my C:\Users\<userid>\AppData\Local\Temp\SymbolCache. Is there some way I can force this process without clearing my NuGet Cache?

Developer technologies Visual Studio Debugging
0 comments No comments
{count} vote

1 answer

Sort by: Most helpful
  1. Dylan Zhu-MSFT 6,426 Reputation points
    2021-02-18T04:15:58.557+00:00

    Hi EricEklund-2627 ,

    Is there some way I can force this process without clearing my NuGet Cache?

    As far as I know, I'm afraid that you can't do that. The debugger reads the pdb file based on the name.

    Best Regards, Dylan

    If the answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our * *documentation* to enable e-mail notifications if you want to receive the related email notification for this thread.**

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.