Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue 3452 + Bump #3453

Merged
merged 1 commit into from Mar 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
24 changes: 3 additions & 21 deletions AppHandling/Run-AlCops.ps1
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
@@ -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
@@ -1 +1 @@
6.0.12-dev
6.0.13-dev