Skip to content

Commit

Permalink
Issue 3452 + Bump (#3453)
Browse files Browse the repository at this point in the history
Fixes #3452

Co-authored-by: freddydk <[email protected]>
  • Loading branch information
freddydk and freddydk authored Mar 29, 2024
1 parent cd85f8a commit d3c2600
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 22 deletions.
24 changes: 3 additions & 21 deletions AppHandling/Run-AlCops.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -122,28 +122,10 @@ function Run-AlCops {
}

$artifactUrl = Get-BcContainerArtifactUrl -containerName $containerName
try {
$artifactVersion = [System.Version]$artifactUrl.Split('/')[4]
# unpack compiler
$latestSupportedRuntimeVersion = Invoke-ScriptInBcContainer -containerName $containerName -ScriptBlock { Param([string] $bcversion)
if (!(Test-Path "c:\build" -PathType Container)) {
$tempZip = Join-Path ([System.IO.Path]::GetTempPath()) "alc.zip"
Copy-item -Path (Get-Item -Path "c:\run\*.vsix").FullName -Destination $tempZip
Expand-Archive -Path $tempZip -DestinationPath "c:\build\vsix"
}
$dllPath = 'C:\build\vsix\extension\bin\Microsoft.Dynamics.Nav.CodeAnalysis.dll'
if (-not (Test-Path $dllPath)) {
$dllPath = 'C:\build\vsix\extension\bin\win32\Microsoft.Dynamics.Nav.CodeAnalysis.dll'
}
Add-Type -Path $dllPath | Out-Null
[Microsoft.Dynamics.Nav.CodeAnalysis.ReleaseVersion]::LatestSupportedRuntimeVersions[$bcversion]
} -argumentList "$($artifactVersion.Major).$($artifactVersion.Minor)"
}
catch {
$latestSupportedRuntimeVersion = ""
}

$artifactVersion = [System.Version]$artifactUrl.Split('/')[4]
$latestSupportedRuntimeVersion = RunAlTool -arguments @('GetLatestSupportedRuntimeVersion',"$($artifactVersion.Major).$($artifactVersion.Minor)")
Write-Host "Latest Supported Runtime Version: $latestSupportedRuntimeVersion"

$global:_validationResult = @()
$apps | ForEach-Object {
$appFile = $_
Expand Down
3 changes: 3 additions & 0 deletions ReleaseNotes.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
6.0.13
Issue 3452 Error when running Run-AlValidation : Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.

6.0.12
Issue 3432 New-BcContainerWizard stopped working after generic images with ltsc2016, ltsc2019 and ltsc2022 was introduced
Make parameters in Copy-AppFilesToFolder mandatory
Expand Down
2 changes: 1 addition & 1 deletion Version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6.0.12-dev
6.0.13-dev

0 comments on commit d3c2600

Please sign in to comment.