Skip to content

Commit

Permalink
Merge pull request #1106 from Ana06/net_symbols
Browse files Browse the repository at this point in the history
[pdbs.pdbresym.vm] Download .NET PDBs
  • Loading branch information
Ana06 authored Jul 11, 2024
2 parents fc61f35 + f939aff commit 5efa360
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/pdbs.pdbresym.vm/pdbs.pdbresym.vm.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2015/06/nuspec.xsd">
<metadata>
<id>pdbs.pdbresym.vm</id>
<version>0.0.0.20240417</version>
<version>0.0.0.20240710</version>
<authors>Stephen Eckels</authors>
<description>Download PDBs</description>
<dependencies>
Expand Down
6 changes: 5 additions & 1 deletion packages/pdbs.pdbresym.vm/tools/chocolateyinstall.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,14 @@ $ErrorActionPreference = 'Stop'
Import-Module vm.common -Force -DisableNameChecking

try {
# Iterate through C:\Windows\System32 downloading all PDBs concurrently
$executablePath = Join-Path ${Env:RAW_TOOLS_DIR} PDBReSym\PDBReSym.exe -Resolve

VM-Write-Log "INFO" "Iterating through C:\Windows\System32 downloading PDBs to C:\symbols"
& $executablePath cachesyms

VM-Write-Log "INFO" "Iterating through C:\Windows\Microsoft.NET downloading .NET PDBs to C:\symbols"
& $executablePath cachesyms --sysdir "C:\Windows\Microsoft.NET"

# The downloaded symbols are store into C:\symbols
VM-Assert-Path "C:\symbols"

Expand Down

0 comments on commit 5efa360

Please sign in to comment.