You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$jsonWinformsTemplateFiles=Get-ChildItem-Recurse -Path "$SourcesDirectory"|Where-Object { $_.FullName-Match"en\\strings\.json" } # current winforms pattern
35
35
36
36
$wxlFiles=Get-ChildItem-Recurse -Path "$SourcesDirectory"|Where-Object { $_.FullName-Match"\\.+\.wxl"-And-Not( $_.Directory.Name-Match"\d{4}" ) } # localized files live in four digit lang ID directories; this excludes them
37
+
if (-not$wxlFiles) {
38
+
$wxlEnFiles=Get-ChildItem-Recurse -Path "$SourcesDirectory"|Where-Object { $_.FullName-Match"\\1033\\.+\.wxl" } # pick up en files (1033 = en) specifically so we can copy them to use as the neutral xlf files
Write-Error"Unable to find directory for $ToolName$ToolVersion; please make sure the tool is installed on this image."
@@ -125,6 +121,7 @@ try {
125
121
126
122
if ((Get-Command"$ToolName"-ErrorAction SilentlyContinue) -eq$null) {
127
123
Write-PipelineTelemetryError-Category 'NativeToolsBootstrap'-Message "$ToolName not found on path. Please install $ToolName$ToolVersion before proceeding."
124
+
Write-PipelineTelemetryError-Category 'NativeToolsBootstrap'-Message "If this is running on a build machine, the arcade-tools directory was not found, which means there's an error with the image."
0 commit comments