From fcaef9fbc37f55f71fb7a70efef9d08a32e85324 Mon Sep 17 00:00:00 2001 From: Vincent Baaij Date: Tue, 20 Aug 2024 23:12:57 +0200 Subject: [PATCH] Add PublishSymbols task --- eng/pipelines/build-all-lib.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/eng/pipelines/build-all-lib.yml b/eng/pipelines/build-all-lib.yml index 489b6c3783..f60271433b 100644 --- a/eng/pipelines/build-all-lib.yml +++ b/eng/pipelines/build-all-lib.yml @@ -186,6 +186,13 @@ extends: summaryFileLocation: '**/*.cobertura.xml' reportDirectory: CoverageFolder + # Index sources and publish symbols + + - task: PublishSymbols@2 + inputs: + SearchPattern: '**/bin/**/*.pdb' # string. Required. Search pattern. Default: **/bin/**/*.pdb. + SymbolServerType: 'TeamServices' + # Since NuGet packages are generated during the build, we need to copy them to the artifacts folder. - task: CopyFiles@2 displayName: 'Pack $(Build.BuildNumber)'