From a22d1a1f402c2b960d2697b4913ce3bca845906f Mon Sep 17 00:00:00 2001 From: Shahyad Sharghi Date: Wed, 23 Jul 2025 17:21:51 -0400 Subject: [PATCH 1/3] Fix typo --- Tasks/PublishSymbolsV2/task.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Tasks/PublishSymbolsV2/task.json b/Tasks/PublishSymbolsV2/task.json index d272c734fa9f..8c60028b526b 100644 --- a/Tasks/PublishSymbolsV2/task.json +++ b/Tasks/PublishSymbolsV2/task.json @@ -14,7 +14,7 @@ "version": { "Major": 2, "Minor": 260, - "Patch": 0 + "Patch": 1 }, "minimumAgentVersion": "2.144.0", "groups": [ @@ -259,7 +259,7 @@ "SymbolStoreLastIdTxtNotFoundAt0": "Symbol store lastid.txt not found at '{0}'.", "UnableToDetermineWorkspaceFromSourceFolder0": "Unable to determine the workspace from the source folder '{0}'.", "UnableToIndexSources": "Unable to index sources.", - "UnexpectedDbghelpdllExpected0Actual1": "Library dbghelp.dll is already loaded from an unexpected path. Expected '{0}'. Actual '{0}'.", + "UnexpectedDbghelpdllExpected0Actual1": "Library dbghelp.dll is already loaded from an unexpected path. Expected '{0}'. Actual '{1}'.", "UnsupportedSourceProvider0": "Unsupported source provider '{0}' for source indexing.", "Win32Error0FromMethod1": "Encountered Win32 error '{0}' from method '{1}'.", "NodeVersionSupport": "Node v{0} is no longer supported starting 08/31/2024. Please upgrade pipeline agent to latest version for Node 16 or later.", From 468ee71b114515d8ea4aa14b1b792b64bc12bab6 Mon Sep 17 00:00:00 2001 From: Shahyad Sharghi Date: Thu, 24 Jul 2025 02:35:24 -0400 Subject: [PATCH 2/3] #13491 #16873 PublishSymbols task fails Win32 error 203 --- Tasks/PublishSymbolsV2/IndexHelpers/DbghelpFunctions.ps1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Tasks/PublishSymbolsV2/IndexHelpers/DbghelpFunctions.ps1 b/Tasks/PublishSymbolsV2/IndexHelpers/DbghelpFunctions.ps1 index 1602a2c1b971..bed5103cad94 100644 --- a/Tasks/PublishSymbolsV2/IndexHelpers/DbghelpFunctions.ps1 +++ b/Tasks/PublishSymbolsV2/IndexHelpers/DbghelpFunctions.ps1 @@ -189,6 +189,7 @@ function Invoke-LoadLibrary { ######################################## # If the type has already been loaded once, then it is not loaded again. Write-Verbose "Adding dbghelp native wrappers." +$dbghelpdllfile = (join-path -Path $PSScriptRoot -ChildPath “..\dbghelp.dll” -Resolve).replace(“\”,”\\") Add-Type -Debug:$false -TypeDefinition @' namespace IndexHelpers.Dbghelp { @@ -360,4 +361,4 @@ namespace IndexHelpers.Dbghelp SymVirtual, } } -'@ +'@.replace("`"dbghelp.dll`"","`"$dbghelpdllfile`"") From c085ec77ba8df7fba24f1e7eb7b22787e2dd0003 Mon Sep 17 00:00:00 2001 From: Shahyad Sharghi Date: Thu, 24 Jul 2025 02:47:57 -0400 Subject: [PATCH 3/3] #13491 #16873 Typo --- Tasks/PublishSymbolsV2/IndexHelpers/DbghelpFunctions.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tasks/PublishSymbolsV2/IndexHelpers/DbghelpFunctions.ps1 b/Tasks/PublishSymbolsV2/IndexHelpers/DbghelpFunctions.ps1 index bed5103cad94..0c975d590d34 100644 --- a/Tasks/PublishSymbolsV2/IndexHelpers/DbghelpFunctions.ps1 +++ b/Tasks/PublishSymbolsV2/IndexHelpers/DbghelpFunctions.ps1 @@ -189,7 +189,7 @@ function Invoke-LoadLibrary { ######################################## # If the type has already been loaded once, then it is not loaded again. Write-Verbose "Adding dbghelp native wrappers." -$dbghelpdllfile = (join-path -Path $PSScriptRoot -ChildPath “..\dbghelp.dll” -Resolve).replace(“\”,”\\") +$dbghelpdllfile = (join-path -Path $PSScriptRoot -ChildPath "\..\dbghelp.dll" -Resolve).replace("\","\\") Add-Type -Debug:$false -TypeDefinition @' namespace IndexHelpers.Dbghelp {