Skip to content

Commit f939aff

Browse files
committed
[pdbs.pdbresym.vm] Download .NET PDBs
Download .NET PDBs to `C:\symbols` using PDBReSym to iterate through `C:\Windows\Microsoft.NET`.
1 parent fc61f35 commit f939aff

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

Diff for: packages/pdbs.pdbresym.vm/pdbs.pdbresym.vm.nuspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<package xmlns="http://schemas.microsoft.com/packaging/2015/06/nuspec.xsd">
33
<metadata>
44
<id>pdbs.pdbresym.vm</id>
5-
<version>0.0.0.20240417</version>
5+
<version>0.0.0.20240710</version>
66
<authors>Stephen Eckels</authors>
77
<description>Download PDBs</description>
88
<dependencies>

Diff for: packages/pdbs.pdbresym.vm/tools/chocolateyinstall.ps1

+5-1
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,14 @@ $ErrorActionPreference = 'Stop'
22
Import-Module vm.common -Force -DisableNameChecking
33

44
try {
5-
# Iterate through C:\Windows\System32 downloading all PDBs concurrently
65
$executablePath = Join-Path ${Env:RAW_TOOLS_DIR} PDBReSym\PDBReSym.exe -Resolve
6+
77
VM-Write-Log "INFO" "Iterating through C:\Windows\System32 downloading PDBs to C:\symbols"
88
& $executablePath cachesyms
9+
10+
VM-Write-Log "INFO" "Iterating through C:\Windows\Microsoft.NET downloading .NET PDBs to C:\symbols"
11+
& $executablePath cachesyms --sysdir "C:\Windows\Microsoft.NET"
12+
913
# The downloaded symbols are store into C:\symbols
1014
VM-Assert-Path "C:\symbols"
1115

0 commit comments

Comments
 (0)