Closed NAVRockClimber closed 1 year ago
I think this is caused by the comment in line 30:
Cannot include TestToolkit without a licensefile, please specify licensefile
This shouldn't be an problem according to issue #2868 But maybe it is a good idea to remove this message for versions above 21.0?
I bet a beer at the next TechDays it is these lines ;) https://github.com/microsoft/nav-docker/blob/f6474a40f7d2b6cdb600c51a2f2773d2aba7f369/generic/Run/210-new/navinstall.ps1#L354
if (Test-Path "$serviceTierFolder\Microsoft.Dynamics.Nav.Apps.Management.psd1") {
Import-Module "$serviceTierFolder\Microsoft.Dynamics.Nav.Apps.Management.psd1"
Yeah - these lines are wrong. And yes - we should be able to include test framework also without a license - I guess that check has been there for a long time. Will double check.
There are really 2 bugs. This check should be changed. and this check should be changed for 22
@freddydk do you have an ETA for a fix? My co-workers are getting a little bit impatient.
I will provide a workaround today
For now - if you add:
-myscripts @("https://raw.githubusercontent.com/microsoft/nav-docker/master/generic/Run/210-new/navinstall.ps1")
to your New-BcImage (if you are using version 21 or above) - then it should work. It still will only work if you provide the license file, it has been like that forever (will fix after my vacation)
Thanks, have a nice vacation. :)
@freddydk any updates on a fix regarding the license requirement for 22 or at least a workaround like for 21.0 (https://github.com/microsoft/navcontainerhelper/pull/2869/files)?
@freddydk any updates on a fix regarding the license requirement for 22 or at least a workaround like for 21.0 (https://github.com/microsoft/navcontainerhelper/pull/2869/files)?
Version 22 doesn't require a license anymore - I will remove the "warning" if version is >= 22.0.0.0
All generic docker images for the latest Windows versions have the fix for this. Some of the older images (for Windows versions not updated after February this year) does not have the fix. I won't fix the older unsupported Windows versions.
PLEASE DO NOT INCLUDE ANY PASSWORDS OR TOKENS IN YOUR ISSUE!!!
Describe the issue
If I run New-BCImage the TestApps are not installed or synced:
Scripts used to create container and cause the issue
Full output of scripts
Screenshots If applicable, add screenshots to help explain your problem.
Additional context
This is probably another dotnet 6 issue.
See: https://github.com/microsoft/nav-docker/blob/f6474a40f7d2b6cdb600c51a2f2773d2aba7f369/generic/Run/210-new/navinstall.ps1#L354