We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2b814d2 + a4d3a5a commit 66d4799Copy full SHA for 66d4799
Tasks/PublishSymbols/IndexHelpers/IndexFunctions.ps1
@@ -42,6 +42,13 @@ function Invoke-IndexSources {
42
# continue
43
#}
44
45
+ $bytes = Get-Content $symbolsFilePath -Encoding byte -TotalCount 4
46
+ $data = [System.Text.Encoding]::ASCII.GetString($bytes)
47
+ if ($data.equals("BSJB")) {
48
+ Write-Verbose "Skipping: $symbolsFilePath because it is a Portable PDB"
49
+ continue
50
+ }
51
+
52
# Get the source file paths embedded in the symbols file.
53
[string[]]$sourceFilePaths = Get-SourceFilePaths -SymbolsFilePath $symbolsFilePath -SourcesRootPath $provider.SourcesRootPath -TreatNotIndexedAsWarning:$TreatNotIndexedAsWarning
54
if (!$sourceFilePaths.Count) {
0 commit comments