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?

Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
947 questions
0 comments No comments
{count} vote

1 answer

Sort by: Most helpful
  1. Dylan Zhu-MSFT 6,406 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