Skip to content

Commit

Permalink
Pdb2Pbp path fix (#761)
Browse files Browse the repository at this point in the history
Fixing Microsoft.DiaSymReader.Pdb2Pdb path
  • Loading branch information
Sanan07 authored Jan 15, 2021
1 parent 31b93e7 commit 4a0a2a1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/PortableToFullPdb.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ $PdbConverterToolVersion = "1.1.0-beta2-21064-01"

function Locate-PdbConverterTool
{
$pdbConverter = Join-Path -path $TF_PACKAGES_DIR -ChildPath "Pdb2Pdb.$PdbConverterToolVersion\tools\Pdb2Pdb.exe"
$pdbConverter = Join-Path -path $TF_PACKAGES_DIR -ChildPath "Microsoft.DiaSymReader.Pdb2Pdb.$PdbConverterToolVersion\tools\Pdb2Pdb.exe"

if (!(Test-Path -path $pdbConverter))
{
throw "Unable to locate Pdb2Pdb converter exe in path '$pdbConverter'."
throw "Unable to locate Microsoft.DiaSymReader.Pdb2Pdb converter exe in path '$pdbConverter'."
}

Write-Verbose "Pdb2Pdb converter path is : $pdbConverter"
Write-Verbose "Microsoft.DiaSymReader.Pdb2Pdb converter path is : $pdbConverter"
return $pdbConverter

}
Expand Down

0 comments on commit 4a0a2a1

Please sign in to comment.