From f939aff9ccc9973ee7ffdda18b92374e44b1a12c Mon Sep 17 00:00:00 2001 From: Ana Maria Martinez Gomez Date: Wed, 10 Jul 2024 18:14:39 +0200 Subject: [PATCH] [pdbs.pdbresym.vm] Download .NET PDBs Download .NET PDBs to `C:\symbols` using PDBReSym to iterate through `C:\Windows\Microsoft.NET`. --- packages/pdbs.pdbresym.vm/pdbs.pdbresym.vm.nuspec | 2 +- packages/pdbs.pdbresym.vm/tools/chocolateyinstall.ps1 | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/packages/pdbs.pdbresym.vm/pdbs.pdbresym.vm.nuspec b/packages/pdbs.pdbresym.vm/pdbs.pdbresym.vm.nuspec index 202862ffb..21d67a237 100644 --- a/packages/pdbs.pdbresym.vm/pdbs.pdbresym.vm.nuspec +++ b/packages/pdbs.pdbresym.vm/pdbs.pdbresym.vm.nuspec @@ -2,7 +2,7 @@ pdbs.pdbresym.vm - 0.0.0.20240417 + 0.0.0.20240710 Stephen Eckels Download PDBs diff --git a/packages/pdbs.pdbresym.vm/tools/chocolateyinstall.ps1 b/packages/pdbs.pdbresym.vm/tools/chocolateyinstall.ps1 index d4f3f3380..7b118aeec 100644 --- a/packages/pdbs.pdbresym.vm/tools/chocolateyinstall.ps1 +++ b/packages/pdbs.pdbresym.vm/tools/chocolateyinstall.ps1 @@ -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"