Skip to content

Error while publishing symbols during official build #4400

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

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