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

License file is corrupt in Next Major build. #2757

Closed
jonaswre opened this issue Oct 28, 2022 · 5 comments
Closed

License file is corrupt in Next Major build. #2757

jonaswre opened this issue Oct 28, 2022 · 5 comments

Comments

@jonaswre
Copy link
Contributor

Describe the issue
License file is corrupt in Next Major build.
Current and Next Minor are working as expected.

Scripts used to create container and cause the issue

AL-Go Action "Test Next Major" was used.

Full output of scripts

  Using license file 'c:\run\my\license.flf'
  Import License
  The license file is corrupt. Error Code: Unknown error.
  at <ScriptBlock>, C:\Run\SetupLicense.ps1: line 29
  at <ScriptBlock>, C:\Run\navstart.ps1: line 196
  at <ScriptBlock>, C:\Run\start.ps1: line 384
  at <ScriptBlock>, <No file>: line 1

Has the flf file type been deprecated?

@freddydk
Copy link
Contributor

Yes,
In 22 only bclicense works.

@jonaswre
Copy link
Contributor Author

jonaswre commented Oct 28, 2022

Thanks.
Maybe a better error would help?
My guess, I wont be the last not to have gotten the memo.
If im wrong feel free to close the issue.

[Edit]: Or maybe just add it here https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/cside/cside-upload-license-file#flf-and-bclicense-file-types

@freddydk
Copy link
Contributor

You are also not the first:-)
I will add a warning to container if you are trying to add a .flf in 22

freddydk pushed a commit that referenced this issue Oct 30, 2022
@freddydk
Copy link
Contributor

Instead of a warning - next version will fail early if .flf is specified.

@freddydk
Copy link
Contributor

freddydk commented Nov 2, 2022

Shipped in 4.0.6

@freddydk freddydk closed this as completed Nov 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants