Skip to content

Commit

Permalink
Issue #2757
Browse files Browse the repository at this point in the history
  • Loading branch information
freddydk committed Oct 30, 2022
1 parent dae7c60 commit 7ae1c12
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ContainerHandling/New-NavContainer.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -1467,6 +1467,7 @@ try {
}

if (!$restoreBakFolder) {
$ext = ''
if ("$licensefile" -eq "") {
if ($includeCSide -and !$doNotExportObjectsToText) {
throw "You must specify a license file when creating a CSide Development container or use -doNotExportObjectsToText to avoid baseline generation."
Expand All @@ -1493,6 +1494,9 @@ try {
$containerLicenseFile = "c:\run\my\license$ext"
}
$parameters += @( "--env licenseFile=""$containerLicenseFile""" )
if ($ext -eq '.flf' -and $version.major -ge 22) {
throw "The .flf license file format is not supported in Business Central version 22 and later."
}
}

$parameters += @(
Expand Down
1 change: 1 addition & 0 deletions ReleaseNotes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ AL-Go issue https://github.com/microsoft/AL-Go/issues/228
Issue #2745 Support for Windows 10 22H2
Add parameter TreatTestFailuresAsWarnings to Run-AlPipeline
Add parameter knownApps to Sort-AppFoldersByDependencies, to return all known apps in sorted folders
Issue #2757 Fail early if .flf license file is specified for BC 22 or later containers

4.0.5
Issue #2697 Run-AlValidation does not fail validation, but validation fails in Partner Center when submitting the app for NextMajor
Expand Down

0 comments on commit 7ae1c12

Please sign in to comment.