Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while publishing symbols during official build #4400

Closed
eerhardt opened this issue Oct 28, 2019 · 0 comments · Fixed by #4401
Closed

Error while publishing symbols during official build #4400

eerhardt opened this issue Oct 28, 2019 · 0 comments · Fixed by #4401
Assignees

Comments

@eerhardt
Copy link
Member

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" #>
maryamariyan added a commit that referenced this issue Oct 28, 2019
eerhardt pushed a commit that referenced this issue Oct 29, 2019
* Add missing linePragmas to ConsumeModel.tt

Fixes #4400
frank-dong-ms-zz pushed a commit to frank-dong-ms-zz/machinelearning that referenced this issue Nov 4, 2019
* Add missing linePragmas to ConsumeModel.tt

Fixes dotnet#4400
frank-dong-ms-zz pushed a commit to frank-dong-ms-zz/machinelearning that referenced this issue Nov 4, 2019
* Add missing linePragmas to ConsumeModel.tt

Fixes dotnet#4400

rebase commits
@ghost ghost locked as resolved and limited conversation to collaborators Mar 20, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants