Latest insider artifacts fail building in compilerfolder (#3213)

Latest insider artifacts fail building in compilerfolder

`AL-Go action ran: RunPipeline Telemetry Correlation Id:
5f39d8a8-e12d-4443-bbe1-9ffe5b053643
Error: Unexpected error when running action. Error Message: Exception
calling "Create" with "2" argument(s): "Could not load file or assembly
'System.IO.Packaging, Version=4.0.5.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system
cannot find the file specified.", StackTrace: at GetAppInfo,
C:\ProgramData\BcContainerHelper\6.0.1-preview1082\BcContainerHelper\HelperFunctions.ps1:
line 1154 <- at Compile-AppWithBcCompilerFolder,
C:\ProgramData\BcContainerHelper\6.0.1-preview1082\BcContainerHelper\CompilerFolderHandling\Compile-AppWithBcCompilerFolder.ps1:
line 178 `
This commit is contained in:
Alexander Holstrup 2023-10-20 16:19:24 +02:00 коммит произвёл GitHub
Родитель 92311ffa10
Коммит c4ca9476e0
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
2 изменённых файлов: 3 добавлений и 1 удалений

Просмотреть файл

@ -500,6 +500,7 @@ try {
$alcPath = 'C:\build\vsix\extension\bin'
Add-Type -Path (Join-Path $alcPath Newtonsoft.Json.dll)
Add-Type -Path (Join-Path $alcPath System.Collections.Immutable.dll)
Add-Type -Path (Join-Path $alcPath System.IO.Packaging.dll)
Add-Type -Path (Join-Path $alcPath Microsoft.Dynamics.Nav.CodeAnalysis.dll)
$packageStream = [System.IO.File]::OpenRead($symbolsFile)

Просмотреть файл

@ -1147,6 +1147,7 @@ function GetAppInfo {
Add-Type -AssemblyName System.Text.Encoding
LoadDLL -Path (Join-Path $alcDllPath Newtonsoft.Json.dll)
LoadDLL -Path (Join-Path $alcDllPath System.Collections.Immutable.dll)
LoadDLL -Path (Join-Path $alcDllPath System.IO.Packaging.dll)
LoadDLL -Path (Join-Path $alcDllPath Microsoft.Dynamics.Nav.CodeAnalysis.dll)
$assembliesAdded = $true
}
@ -1247,4 +1248,4 @@ function DetermineVsixFile {
else {
return $vsixFile
}
}
}