Skip to content

Error while publishing symbols during official build #4400

Closed

Description

@eerhardt

See the error here: https://devdiv.visualstudio.com/DevDiv/_build/results?buildId=3186964

E:\A\_work\718\s\packages\microsoft.symboluploader.build.task\1.0.0-beta-62824-02\build\PublishSymbols.targets(29,7): warning : Invalid file type: LICENSE [E:\A\_work\718\s\build\publish.proj]
  Processing input package E:\A\_work\718\s\bin\packages\Microsoft.ML.CodeGenerator.symbols.0.16.0-preview3-28228-1.nupkg
  Converting portable PDB lib/netstandard2.0/Microsoft.ML.CodeGenerator.pdb to Windows
##[error]packages\microsoft.symboluploader.build.task\1.0.0-beta-62824-02\build\PublishSymbols.targets(29,7): Error : PDB0021: Document name doesn't match any pattern in Source Link: 'C:\CodeHub\machinelearning\src\Microsoft.ML.CodeGenerator\Templates\Console\ConsumeModel.tt'
E:\A\_work\718\s\packages\microsoft.symboluploader.build.task\1.0.0-beta-62824-02\build\PublishSymbols.targets(29,7): error : PDB0021: Document name doesn't match any pattern in Source Link: 'C:\CodeHub\machinelearning\src\Microsoft.ML.CodeGenerator\Templates\Console\ConsumeModel.tt' [E:\A\_work\718\s\build\publish.proj]
##[error]packages\microsoft.symboluploader.build.task\1.0.0-beta-62824-02\build\PublishSymbols.targets(29,7): Error : PDB0021: Document name doesn't match any pattern in Source Link: 'C:\CodeHub\machinelearning\src\Microsoft.ML.CodeGenerator\Templates\Console\Annotation.ttinclude'
E:\A\_work\718\s\packages\microsoft.symboluploader.build.task\1.0.0-beta-62824-02\build\PublishSymbols.targets(29,7): error : PDB0021: Document name doesn't match any pattern in Source Link: 'C:\CodeHub\machinelearning\src\Microsoft.ML.CodeGenerator\Templates\Console\Annotation.ttinclude' [E:\A\_work\718\s\build\publish.proj]

To fix this, we should be putting linePragmas="false" in the .tt files:

<#@ template language="C#" linePragmas="false" #>

Activity

  1. added a commit that references this issue on Oct 28, 2019
    fc8b8c8
  2. added a commit that references this issue on Oct 29, 2019
    e730086
  3. added 2 commits that reference this issue on Nov 4, 2019
    c1f9648
    11cdcb7
  4. ghost locked as resolved and limited conversation to collaborators on Mar 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions