microsoft / navcontainerhelper

Official Microsoft repository for BcContainerHelper, a PowerShell module, which makes it easier to work with Business Central Containers on Docker.
MIT License
385 stars 246 forks source link

Run-AlValidation error: Cannot add a member with the name "Version" #3583

Closed GPetrites closed 4 months ago

GPetrites commented 4 months ago

Getting an error message

**Unexpected error while validating app. Error is: Cannot add a member with the name "Version" because a member with that name already exists. To overwrite the member anyway, add the Force parameter to your command.

when trying to validate an update to an existing extension. I tried updating the PowerShell module (currently at 6.0.19). The previous version of the extension validated successfully back on 10/31/2023, the last time I made a change to the extension. When I tried rerunning validaton on this previous version, I get the same error.

Scripts used to create container and cause the issue

$app = "..\..\artifacts\extensions\Dean Dorton_mConnect_1.0.0.16.app"

$prevApp = "..\..\artifacts\extensions\Dean Dorton_mConnect_1.0.0.15.app"

Run-AlValidation `
   -apps $app `
   -affixes "ddf" `
   -countries "us,ca,au" `
   -previousApps $prevApp

Full output of scripts

PS C:\repos\clients\DeanDorton\mConnectBC\src\mConnectBC.AL> get-installedmodule

Version    Name                                Repository           Description
-------    ----                                ----------           -----------
6.0.19     BcContainerHelper                   PSGallery            PowerShell module, which makes it easier to work with Business Central Containers on Docker.

PS C:\repos\clients\DeanDorton\mConnectBC\src\mConnectBC.AL> .\AppValidation.ps1
  _____                               _
 |  __ \                             | |
 | |__) |_ _ _ __ __ _ _ __ ___   ___| |_ ___ _ __ ___
 |  ___/ _` | '__/ _` | '_ ` _ \ / _ \ __/ _ \ '__/ __|
 | |  | (_| | | | (_| | | | | | |  __/ |_  __/ |  \__ \
 |_|   \__,_|_|  \__,_|_| |_| |_|\___|\__\___|_|  |___/

Container name                  bcserver
Credential                      admin/Cegu3826
MemoryLimit                     8G
validateVersion
validateCurrent                 False
validateNextMinor               False
validateNextMajor               False
SasToken                        Not Specified
countries                       us,ca,au
validateCountries               us,ca,au
affixes                         ddf
supportedCountries
ObsoleteTagMinAllowedMajorMinor
vsixFile
Install Apps
- None
Previous Apps
- C:\repos\clients\DeanDorton\mConnectBC\artifacts\extensions\Dean Dorton_mConnect_1.0.0.15.app
Apps
- C:\repos\clients\DeanDorton\mConnectBC\artifacts\extensions\Dean Dorton_mConnect_1.0.0.16.app
  _____       _                      _                         _   _  __           _
 |  __ \     | |                    (_)                       | | (_)/ _|         | |
 | |  | | ___| |_ ___ _ __ _ __ ___  _ _ __   ___    __ _ _ __| |_ _| |_ __ _  ___| |_ ___
 | |  | |/ _ \ __/ _ \ '__| '_ ` _ \| | '_ \ / _ \  / _` | '__| __| |  _/ _` |/ __| __/ __|
 | |__| |  __/ |_  __/ |  | | | | | | | | | |  __/ | (_| | |  | |_| | || (_| | (__| |_\__ \
 |_____/ \___|\__\___|_|  |_| |_| |_|_|_| |_|\___|  \__,_|_|   \__|_|_| \__,_|\___|\__|___/

Found https://bcartifacts.azureedge.net/sandbox/24.2.20227.21130/us
Found https://bcartifacts.azureedge.net/sandbox/24.2.20227.21130/ca
Found https://bcartifacts.azureedge.net/sandbox/24.2.20227.21130/au
Using https://bcartifacts.azureedge.net/sandbox/24.2.20227.21130/us
  _____       _                      _       _                   _                           _
 |  __ \     | |                    (_)     (_)                 | |                         | |
 | |  | | ___| |_ ___ _ __ _ __ ___  _ _ __  _ _ __   __ _    __| | ___ _ __   ___ _ __   __| | ___ _ __   ___ _   _
 | |  | |/ _ \ __/ _ \ '__| '_ ` _ \| | '_ \| | '_ \ / _` |  / _` |/ _ \ '_ \ / _ \ '_ \ / _` |/ _ \ '_ \ / __| | | |
 | |__| |  __/ |_  __/ |  | | | | | | | | | | | | | | (_| | | (_| |  __/ |_) |  __/ | | | (_| |  __/ | | | (__| |_| |
 |_____/ \___|\__\___|_|  |_| |_| |_|_|_| |_|_|_| |_|\__, |  \__,_|\___| .__/ \___|_| |_|\__,_|\___|_| |_|\___|\__, |
                                                      __/ |            | |                                      __/ |
                                                     |___/             |_|                                     |___/
Extracting C:\ProgramData\BcContainerHelper\9f709618-e69b-43f1-901c-8a502604cd77\Dean Dorton_mConnect_1.0.0.16.app
Validating against Current Version (24.2)
Additionally validating against application dependency (21.0)

  _____       _ _ _                                          _        _
 |  __ \     | | (_)                                        (_)      (_)
 | |__) |   _| | |_ _ __   __ _    __ _  ___ _ __   ___ _ __ _  ___   _ _ __ ___   __ _  __ _  ___
 |  ___/ | | | | | | '_ \ / _` |  / _` |/ _ \ '_ \ / _ \ '__| |/ __| | | '_ ` _ \ / _` |/ _` |/ _ \
 | |   | |_| | | | | | | | (_| | | (_| |  __/ | | |  __/ |  | | (__  | | | | | | | (_| | (_| |  __/
 |_|    \__,_|_|_|_|_| |_|\__, |  \__, |\___|_| |_|\___|_|  |_|\___| |_|_| |_| |_|\__,_|\__, |\___|
                           __/ |   __/ |                                                 __/ |
                          |___/   |___/                                                 |___/

Pulling mcr.microsoft.com/businesscentral:10.0.20348.2527-filesonly

Pulling generic image took 1 seconds

   _____                _   _                               _        _
  / ____|              | | (_)                             | |      (_)
 | |     _ __ ___  __ _| |_ _ _ __   __ _    ___ ___  _ __ | |_ __ _ _ _ __   ___ _ __
 | |    | '__/ _ \/ _` | __| | '_ \ / _` |  / __/ _ \| '_ \| __/ _` | | '_ \ / _ \ '__|
 | |____| | |  __/ (_| | |_| | | | | (_| | | (__ (_) | | | | |_ (_| | | | | |  __/ |
  \_____|_|  \___|\__,_|\__|_|_| |_|\__, |  \___\___/|_| |_|\__\__,_|_|_| |_|\___|_|
                                     __/ |
                                    |___/

Creating container for country us
BcContainerHelper is version 6.0.0
BcContainerHelper is running as administrator
HyperV is Enabled
UsePsSession is True
Host is Microsoft Windows 11 Pro - 10.0.22631.3737
Docker Client Version is 24.0.6
Docker Server Version is 24.0.6
Removing Desktop shortcuts
Fetching all docker images
Fetching all docker volumes
Using image mcr.microsoft.com/businesscentral:10.0.20348.2527-filesonly
Creating Container bcserver
Style: sandbox
Multitenant: Yes
Version: 24.2.20227.21130
Platform: 24.0.21096.0
Generic Tag: 1.0.2.36
Container OS Version: 10.0.20348.2527 (ltsc2022)
Host OS Version: 10.0.22631.3737 (Unknown/Insider build)
Using process isolation
Using locale en-US
Disabling the standard eventlog dump to container log every 2 seconds (use -dumpEventLog to enable)
Downloading C:\ProgramData\BcContainerHelper\Extensions\bcserver\Microsoft.VisualStudio.Services.VSIXPackage.vsix
Downloading using WebClient
Additional Parameters:
--env customNavSettings=EnableTaskScheduler=True
Files in C:\ProgramData\BcContainerHelper\Extensions\bcserver\my:
- AdditionalOutput.ps1
- MainLoop.ps1
- SetupVariables.ps1
- updatehosts.ps1
Creating container bcserver from image mcr.microsoft.com/businesscentral:10.0.20348.2527-filesonly
f7f19d3a2c4b8220ee4b67c84677b7f9bac1d9533e00c3a94242b1d52dbd88aa
Waiting for container bcserver to be ready
Using artifactUrl https://bcartifacts.azureedge.net/sandbox/24.2.20227.21130/us
Using installer from C:\Run\240
Installing Business Central: multitenant=True, installOnly=False, filesOnly=True, includeTestToolkit=False, includeTestLibrariesOnly=False, includeTestFrameworkOnly=False, includePerformanceToolkit=False, appArtifactPath=c:\dl\sandbox\24.2.20227.21130\us, platformArtifactPath=c:\dl\sandbox\24.2.20227.21130\platform, databasePath=c:\dl\sandbox\24.2.20227.21130\us\BusinessCentral-US.bak, licenseFilePath=c:\dl\sandbox\24.2.20227.21130\us\Cronus.bclicense, rebootContainer=True
Installing from artifacts
Copying Service Tier Files
c:\dl\sandbox\24.2.20227.21130\platform\ServiceTier\Program Files
c:\dl\sandbox\24.2.20227.21130\platform\ServiceTier\System64Folder
Copying Web Client Files
c:\dl\sandbox\24.2.20227.21130\platform\WebClient\Microsoft Dynamics NAV
Copying ModernDev Files
c:\dl\sandbox\24.2.20227.21130\platform
c:\dl\sandbox\24.2.20227.21130\platform\ModernDev\program files\Microsoft Dynamics NAV
Copying additional files
Copying ConfigurationPackages
C:\dl\sandbox\24.2.20227.21130\us\ConfigurationPackages
Copying Test Assemblies
C:\dl\sandbox\24.2.20227.21130\platform\Test Assemblies
Copying Extensions
C:\dl\sandbox\24.2.20227.21130\us\Extensions
Copying Applications
C:\dl\sandbox\24.2.20227.21130\platform\Applications
Copying Applications.US
C:\dl\sandbox\24.2.20227.21130\us\Applications.US
Copying dependencies
Importing PowerShell Modules
Skipping restore of Cronus database
Modifying Business Central Service Tier Config File for Docker
Installing SIP crypto provider: 'C:\Windows\System32\NavSip.dll'
Installation took 13 seconds
Installation complete
Ready for connections!
Reading CustomSettings.config from bcserver
Cleanup old dotnet core assemblies

Creating container took 36 seconds
  _____                   _                                    _____                           _____
 |  __ \                 (_)                 /\               / ____|                         / ____|
 | |__) |   _ _ __  _ __  _ _ __   __ _     /  \   _ __  _ __| (___   ___  _   _ _ __ ___ ___| |     ___  _ __
 |  _  / | | | '_ \| '_ \| | '_ \ / _` |   / /\ \ | '_ \| '_ \\___ \ / _ \| | | | '__/ __/ _ \ |    / _ \| '_ \
 | | \ \ |_| | | | | | | | | | | | (_| |  / ____ \| |_) | |_) |___) | (_) | |_| | | | (__  __/ |____ (_) | |_) |
 |_|  \_\__,_|_| |_|_| |_|_|_| |_|\__, | /_/    \_\ .__/| .__/_____/ \___/ \__,_|_|  \___\___|\_____\___/| .__/
                                   __/ |          | |   | |                                              | |
                                  |___/           |_|   |_|                                              |_|
Run-AlCops Telemetry Correlation Id: 84e6c00b-b172-4ac5-a3c5-48c313207204
**Unexpected error while validating app. Error is: Cannot add a member with the name "Version" because a member with that name already exists. To overwrite the member anyway, add the Force parameter to your command.
at <ScriptBlock>, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\6.0.0\AppHandling\Sort-AppFilesByDependencies.ps1: line 83
at <ScriptBlock>, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\6.0.0\AppHandling\Sort-AppFilesByDependencies.ps1: line 81
at Sort-AppFilesByDependencies, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\6.0.0\AppHandling\Sort-AppFilesByDependencies.ps1: line 44
at Run-AlCops, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\6.0.0\AppHandling\Run-AlCops.ps1: line 90
at <ScriptBlock>, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\6.0.0\AppHandling\Run-AlValidation.ps1: line 508
at <ScriptBlock>, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\6.0.0\AppHandling\Run-AlValidation.ps1: line 487
at <ScriptBlock>, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\6.0.0\AppHandling\Run-AlValidation.ps1: line 431
at <ScriptBlock>, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\6.0.0\AppHandling\Run-AlValidation.ps1: line 395
at Run-AlValidation, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\6.0.0\AppHandling\Run-AlValidation.ps1: line 393**
at <ScriptBlock>, C:\repos\clients\DeanDorton\mConnectBC\src\mConnectBC.AL\AppValidation.ps1: line 15
at <ScriptBlock>, <No file>: line 1

  _____                           _                _____            _        _
 |  __ \                         (_)              / ____|          | |      (_)
 | |__) |___ _ __ ___   _____   ___ _ __   __ _  | |     ___  _ __ | |_ __ _ _ _ __   ___ _ __
 |  _  // _ \ '_ ` _ \ / _ \ \ / / | '_ \ / _` | | |    / _ \| '_ \| __/ _` | | '_ \ / _ \ '__|
 | | \ \  __/ | | | | | (_) \ V /| | | | | (_| | | |____ (_) | | | | |_ (_| | | | | |  __/ |
 |_|  \_\___|_| |_| |_|\___/ \_/ |_|_| |_|\__, |  \_____\___/|_| |_|\__\__,_|_|_| |_|\___|_|
                                           __/ |
                                          |___/

Removing Session bcserver
Removing container bcserver
Removing entries from hosts
Removing bcserver from container hosts file
Removing bcserver-* from container hosts file
Removing Desktop shortcuts
Removing C:\ProgramData\BcContainerHelper\Extensions\bcserver

Removing container took 4 seconds
  _____       _                      _                         _   _  __           _
 |  __ \     | |                    (_)                       | | (_)/ _|         | |
 | |  | | ___| |_ ___ _ __ _ __ ___  _ _ __   ___    __ _ _ __| |_ _| |_ __ _  ___| |_ ___
 | |  | |/ _ \ __/ _ \ '__| '_ ` _ \| | '_ \ / _ \  / _` | '__| __| |  _/ _` |/ __| __/ __|
 | |__| |  __/ |_  __/ |  | | | | | | | | | |  __/ | (_| | |  | |_| | || (_| | (__| |_\__ \
 |_____/ \___|\__\___|_|  |_| |_| |_|_|_| |_|\___|  \__,_|_|   \__|_|_| \__,_|\___|\__|___/

Found https://bcartifacts.azureedge.net/sandbox/21.0.46256.58264/us
Found https://bcartifacts.azureedge.net/sandbox/21.0.46256.58264/ca
Found https://bcartifacts.azureedge.net/sandbox/21.0.46256.58264/au
Using https://bcartifacts.azureedge.net/sandbox/21.0.46256.58264/us

   _____                _   _                               _        _
  / ____|              | | (_)                             | |      (_)
 | |     _ __ ___  __ _| |_ _ _ __   __ _    ___ ___  _ __ | |_ __ _ _ _ __   ___ _ __
 | |    | '__/ _ \/ _` | __| | '_ \ / _` |  / __/ _ \| '_ \| __/ _` | | '_ \ / _ \ '__|
 | |____| | |  __/ (_| | |_| | | | | (_| | | (__ (_) | | | | |_ (_| | | | | |  __/ |
  \_____|_|  \___|\__,_|\__|_|_| |_|\__, |  \___\___/|_| |_|\__\__,_|_|_| |_|\___|_|
                                     __/ |
                                    |___/

Creating container for country us
BcContainerHelper is version 6.0.0
BcContainerHelper is running as administrator
HyperV is Enabled
UsePsSession is True
Host is Microsoft Windows 11 Pro - 10.0.22631.3737
Docker Client Version is 24.0.6
Docker Server Version is 24.0.6
Removing Desktop shortcuts
The CRONUS Demo License shipped in Version 21.0 artifacts doesn't contain sufficient rights to all Test Libraries objects. Patching the license file.
Fetching all docker images
Fetching all docker volumes
Using image mcr.microsoft.com/businesscentral:10.0.20348.2527-filesonly
Creating Container bcserver
Style: sandbox
Multitenant: Yes
Version: 21.0.46256.58264
Platform: 21.0.46384.58215
Generic Tag: 1.0.2.36
Container OS Version: 10.0.20348.2527 (ltsc2022)
Host OS Version: 10.0.22631.3737 (Unknown/Insider build)
Using process isolation
Using locale en-US
Disabling the standard eventlog dump to container log every 2 seconds (use -dumpEventLog to enable)
Using license file https://bcartifacts.azureedge.net/prerequisites/21demolicense/us/3048953.bclicense
Downloading C:\ProgramData\BcContainerHelper\Extensions\bcserver\my\license.bclicense
Downloading using WebClient
Could not download from CDN..., retrying from blob storage in 6 seconds...
Downloading using WebClient
Additional Parameters:
--env customNavSettings=EnableTaskScheduler=True
Files in C:\ProgramData\BcContainerHelper\Extensions\bcserver\my:
- AdditionalOutput.ps1
- license.bclicense
- MainLoop.ps1
- SetupVariables.ps1
- updatehosts.ps1
Creating container bcserver from image mcr.microsoft.com/businesscentral:10.0.20348.2527-filesonly
3ef8285233cfe05786db908091c16fdf7a8267aa3ac5ada31a267d1d01f503b2
Waiting for container bcserver to be ready
Using artifactUrl https://bcartifacts.azureedge.net/sandbox/21.0.46256.58264/us
Using installer from C:\Run\210-new
Installing Business Central: multitenant=True, installOnly=False, filesOnly=True, includeTestToolkit=False, includeTestLibrariesOnly=False, includeTestFrameworkOnly=False, includePerformanceToolkit=False, appArtifactPath=c:\dl\sandbox\21.0.46256.58264\us, platformArtifactPath=c:\dl\sandbox\21.0.46256.58264\platform, databasePath=c:\dl\sandbox\21.0.46256.58264\us\BusinessCentral-US.bak, licenseFilePath=c:\dl\sandbox\21.0.46256.58264\us\Cronus.flf, rebootContainer=True
Installing from artifacts
Copying Service Tier Files
c:\dl\sandbox\21.0.46256.58264\platform\ServiceTier\Program Files
c:\dl\sandbox\21.0.46256.58264\platform\ServiceTier\System64Folder
Copying PowerShell Scripts
c:\dl\sandbox\21.0.46256.58264\platform\WindowsPowerShellScripts\Cloud\NAVAdministration
c:\dl\sandbox\21.0.46256.58264\platform\WindowsPowerShellScripts\WebSearch
Copying Web Client Files
c:\dl\sandbox\21.0.46256.58264\platform\WebClient\Microsoft Dynamics NAV
Copying ModernDev Files
c:\dl\sandbox\21.0.46256.58264\platform
c:\dl\sandbox\21.0.46256.58264\platform\ModernDev\program files\Microsoft Dynamics NAV
Copying additional files
Copying ConfigurationPackages
C:\dl\sandbox\21.0.46256.58264\us\ConfigurationPackages
Copying Test Assemblies
C:\dl\sandbox\21.0.46256.58264\platform\Test Assemblies
Copying Extensions
C:\dl\sandbox\21.0.46256.58264\us\Extensions
Copying Applications
C:\dl\sandbox\21.0.46256.58264\platform\Applications
Copying Applications.US
C:\dl\sandbox\21.0.46256.58264\us\Applications.US
Copying dependencies
Copying ReportBuilder
Importing PowerShell Modules
Skipping restore of Cronus database
Modifying Business Central Service Tier Config File for Docker
Installing SIP crypto provider: 'C:\Windows\System32\NavSip.dll'
Installation took 19 seconds
Installation complete
Ready for connections!
Reading CustomSettings.config from bcserver

Creating container took 35 seconds
  _____                   _                                    _____                           _____
 |  __ \                 (_)                 /\               / ____|                         / ____|
 | |__) |   _ _ __  _ __  _ _ __   __ _     /  \   _ __  _ __| (___   ___  _   _ _ __ ___ ___| |     ___  _ __
 |  _  / | | | '_ \| '_ \| | '_ \ / _` |   / /\ \ | '_ \| '_ \\___ \ / _ \| | | | '__/ __/ _ \ |    / _ \| '_ \
 | | \ \ |_| | | | | | | | | | | | (_| |  / ____ \| |_) | |_) |___) | (_) | |_| | | | (__  __/ |____ (_) | |_) |
 |_|  \_\__,_|_| |_|_| |_|_|_| |_|\__, | /_/    \_\ .__/| .__/_____/ \___/ \__,_|_|  \___\___|\_____\___/| .__/
                                   __/ |          | |   | |                                              | |
                                  |___/           |_|   |_|                                              |_|
Copying previous apps to packages folder
Extracting C:\ProgramData\BcContainerHelper\40e8896d-b138-4eda-b216-c4df60755a75\Dean Dorton_mConnect_1.0.0.15.app
Dean Dorton_mConnect = 1.0.0.15
Latest Supported Runtime Version: 10.0
Dean Dorton_mConnect_1.0.0.16.app is Signed with Authenticode certificate: CN="DEAN DORTON ALLEN FORD, PLLC", O="DEAN DORTON ALLEN FORD, PLLC", S=Kentucky, C=US
Extracting C:\ProgramData\BcContainerHelper\2a6e1553-fdf5-4c7b-8cd9-948927ffad7a\Dean Dorton_mConnect_1.0.0.16.app
App Runtime Version is '10.0'
Excluding Runtime Version from app.json
Analyzing: Dean Dorton_mConnect_1.0.0.16.app
Using affixes: ddf
Using previous app: Dean Dorton_mConnect_1.0.0.15.app
Downloading C:\ProgramData\BcContainerHelper\ceeccc9a-52ec-4e51-8b02-230dec51d0ee\appsource.default.ruleset.json
Downloading using WebClient
Could not download from CDN..., retrying from blob storage in 5 seconds...
Downloading using WebClient
AppSourceCop.json content:
{
    "Publisher":  "Dean Dorton",
    "Name":  "mConnect",
    "mandatoryAffixes":  [
                             "ddf"
                         ],
    "Version":  "1.0.0.15"
}
Ruleset.json content:
{
    "name":  "Run-AlCops RuleSet",
    "description":  "Generated by Run-AlCops",
    "includedRuleSets":  [
                             {
                                 "path":  "C:\\ProgramData\\BcContainerHelper\\ceeccc9a-52ec-4e51-8b02-230dec51d0ee\\appsource.default.ruleset.json",
                                 "action":  "Default"
                             }
                         ]
}
Using Symbols Folder: C:\ProgramData\BcContainerHelper\40e8896d-b138-4eda-b216-c4df60755a75
Copying System.app from Container
Copying Microsoft_AMC Banking 365 Fundamentals_21.0.46256.58264.app from Container
Copying Microsoft_Any_21.0.46256.58264.app from Container
Copying Microsoft_API Reports - Finance_21.0.46256.58264.app from Container
Copying Microsoft_Application_21.0.46256.58264.app from Container
Copying Microsoft_Base Application_21.0.46256.58264.app from Container
Copying Microsoft_Business Central Cloud Migration - Previous Release (US)_21.0.46256.58264.app from Container
Copying Microsoft_Business Central Cloud Migration - Previous Release_21.0.46256.58264.app from Container
Copying Microsoft_Business Central Cloud Migration API_21.0.46256.58264.app from Container
Copying Microsoft_Business Central Intelligent Cloud_21.0.46256.58264.app from Container
Copying Microsoft_Ceridian Payroll_21.0.46256.58264.app from Container
Copying Microsoft_Company Hub_21.0.46256.58264.app from Container
Copying Microsoft_Contoso Coffee Demo Dataset (US)_21.0.46256.58264.app from Container
Copying Microsoft_Contoso Coffee Demo Dataset_21.0.46256.58264.app from Container
Copying Microsoft_Czech language (Czechia)_21.0.46256.58264.app from Container
Copying Microsoft_Danish language (Denmark)_21.0.46256.58264.app from Container
Copying Microsoft_Data Archive_21.0.46256.58264.app from Container
Copying Microsoft_Data Search_21.0.46256.58264.app from Container
Copying Microsoft_DIOT - Localization for Mexico_21.0.46256.58264.app from Container
Copying Microsoft_Dutch language (Belgium)_21.0.46256.58264.app from Container
Copying Microsoft_Dutch language (Netherlands)_21.0.46256.58264.app from Container
Copying Microsoft_Dynamics GP History SmartLists_21.0.46256.58264.app from Container
Copying Microsoft_Dynamics GP Intelligent Cloud_21.0.46256.58264.app from Container
Copying Microsoft_Email - Current User Connector_21.0.46256.58264.app from Container
Copying Microsoft_Email - Microsoft 365 Connector_21.0.46256.58264.app from Container
Copying Microsoft_Email - Outlook REST API_21.0.46256.58264.app from Container
Copying Microsoft_Email - SMTP API_21.0.46256.58264.app from Container
Copying Microsoft_Email - SMTP Connector_21.0.46256.58264.app from Container
Copying Microsoft_English language (Australia)_21.0.46256.58264.app from Container
Copying Microsoft_English language (Canada)_21.0.46256.58264.app from Container
Copying Microsoft_English language (New Zealand)_21.0.46256.58264.app from Container
Copying Microsoft_English language (United Kingdom)_21.0.46256.58264.app from Container
Copying Microsoft_English language (United States)_21.0.46256.58264.app from Container
Copying Microsoft_Envestnet Yodlee Bank Feeds_21.0.46256.58264.app from Container
Copying Microsoft_Essential Business Headlines_21.0.46256.58264.app from Container
Copying Microsoft_Finnish language (Finland)_21.0.46256.58264.app from Container
Copying Microsoft_French language (Belgium)_21.0.46256.58264.app from Container
Copying Microsoft_French language (Canada)_21.0.46256.58264.app from Container
Copying Microsoft_French language (France)_21.0.46256.58264.app from Container
Copying Microsoft_French language (Switzerland)_21.0.46256.58264.app from Container
Copying Microsoft_German language (Austria)_21.0.46256.58264.app from Container
Copying Microsoft_German language (Germany)_21.0.46256.58264.app from Container
Copying Microsoft_German language (Switzerland)_21.0.46256.58264.app from Container
Copying Microsoft_Icelandic language (Iceland)_21.0.46256.58264.app from Container
Copying Microsoft_Image Analyzer_21.0.46256.58264.app from Container
Copying Microsoft_Import of QuickBooks Payroll Files_21.0.46256.58264.app from Container
Copying Microsoft_Intelligent Cloud Base_21.0.46256.58264.app from Container
Copying Microsoft_Italian language (Italy)_21.0.46256.58264.app from Container
Copying Microsoft_Italian language (Switzerland)_21.0.46256.58264.app from Container
Copying Microsoft_Late Payment Prediction_21.0.46256.58264.app from Container
Copying Microsoft_Library Assert_21.0.46256.58264.app from Container
Copying Microsoft_Library Variable Storage_21.0.46256.58264.app from Container
Copying Microsoft_Microsoft Pay Payments_21.0.46256.58264.app from Container
Copying Microsoft_Migration of QuickBooks Data_21.0.46256.58264.app from Container
Copying Microsoft_Norwegian language (Norway)_21.0.46256.58264.app from Container
Copying Microsoft_Payment Links to PayPal_21.0.46256.58264.app from Container
Copying Microsoft_Performance Toolkit_21.0.46256.58264.app from Container
Copying Microsoft_Permissions Mock_21.0.46256.58264.app from Container
Copying Microsoft_Recommended Apps_21.0.46256.58264.app from Container
Copying Microsoft_Russian language (Russia)_21.0.46256.58264.app from Container
Copying Microsoft_Sales and Inventory Forecast_21.0.46256.58264.app from Container
Copying Microsoft_Send remittance advice by email_21.0.46256.58264.app from Container
Copying Microsoft_Send To Email Printer_21.0.46256.58264.app from Container
Copying Microsoft_Shopify Connector_21.0.46256.58264.app from Container
Copying Microsoft_Simplified Bank Statement Import_21.0.46256.58264.app from Container
Copying Microsoft_Spanish language (Mexico)_21.0.46256.58264.app from Container
Copying Microsoft_Spanish language (Spain)_21.0.46256.58264.app from Container
Copying Microsoft_Swedish language (Sweden)_21.0.46256.58264.app from Container
Copying Microsoft_System Application_21.0.46256.58264.app from Container
Copying Microsoft_Test Runner_21.0.46256.58264.app from Container
Copying Microsoft_Troubleshoot FA Ledger Entries_21.0.46256.58264.app from Container
Copying Microsoft_Universal Print Integration_21.0.46256.58264.app from Container
Copying Microsoft__Exclude_AnonymizedDataSharing__21.0.46256.58264.app from Container
Copying Microsoft__Exclude_APIV1__21.0.46256.58264.app from Container
Copying Microsoft__Exclude_APIV2__21.0.46256.58264.app from Container
Copying Microsoft__Exclude_Bank Deposits_21.0.46256.58264.app from Container
Copying Microsoft__Exclude_ClientAddIns__21.0.46256.58264.app from Container
Copying Microsoft__Exclude_Connectivity Apps_21.0.46256.58264.app from Container
Copying Microsoft__Exclude_Email Logging Using Graph API_21.0.46256.58264.app from Container
Copying Microsoft__Exclude_Microsoft Dynamics 365 - SmartList_21.0.46256.58264.app from Container
Copying Microsoft__Exclude_PlanConfiguration__21.0.46256.58264.app from Container
Copying Microsoft__Exclude_ReportLayouts_21.0.46256.58264.app from Container
Copying Microsoft__Exclude_SyncBaseApp__21.0.46256.58264.app from Container
INFO: You have to specify AuthContext and Environment if you are compiling in a filesOnly container in order to download dependencies
Processing dependency Microsoft_Application_21.0.0.0 ()
Dependency App exists
Processing dependency Microsoft_System_21.0.0.0 ()
Dependency App exists
Compiling...
.\alc.exe /project:"C:\ProgramData\BcContainerHelper\ceeccc9a-52ec-4e51-8b02-230dec51d0ee" /packagecachepath:"C:\ProgramData\BcContainerHelper\40e8896d-b138-4eda-b216-c4df60755a75" /out:"C:\ProgramData\BcContainerHelper\ceeccc9a-52ec-4e51-8b02-230dec51d0ee\Dean Dorton_mConnect_1.0.0.16.app" /GenerateReportLayout- /analyzer:C:\build\vsix\extension\bin\Analyzers\Microsoft.Dynamics.Nav.AppSourceCop.dll /ruleset:C:\ProgramData\BcContainerHelper\ceeccc9a-52ec-4e51-8b02-230dec51d0ee\ruleset.json /reportsuppresseddiagnostics /assemblyprobingpaths:"C:\Program Files\Microsoft Dynamics NAV\210\Service","C:\Program Files (x86)\Open XML SDK\V2.5\lib","c:\Windows\Microsoft.NET\Assembly","C:\Test Assemblies\Mock Assemblies"
Microsoft (R) AL Compiler version 10.0.10.35234
Copyright (C) Microsoft Corporation. All rights reserved

Compilation started for project 'mConnect' containing '21' files at '17:47:22.473'.

Compilation ended at '17:47:28.489'.

C:\ProgramData\BcContainerHelper\ceeccc9a-52ec-4e51-8b02-230dec51d0ee\Dean Dorton_mConnect_1.0.0.16.app successfully created in 9 seconds
Ignoring warnings
Ignoring infos
Copy C:\ProgramData\BcContainerHelper\2a6e1553-fdf5-4c7b-8cd9-948927ffad7a\Dean Dorton_mConnect_1.0.0.16.app to C:\ProgramData\BcContainerHelper\40e8896d-b138-4eda-b216-c4df60755a75

Running AppSourceCop took 26 seconds

   _____                _   _                               _        _
  / ____|              | | (_)                             | |      (_)
 | |     _ __ ___  __ _| |_ _ _ __   __ _    ___ ___  _ __ | |_ __ _ _ _ __   ___ _ __
 | |    | '__/ _ \/ _` | __| | '_ \ / _` |  / __/ _ \| '_ \| __/ _` | | '_ \ / _ \ '__|
 | |____| | |  __/ (_| | |_| | | | | (_| | | (__ (_) | | | | |_ (_| | | | | |  __/ |
  \_____|_|  \___|\__,_|\__|_|_| |_|\__, |  \___\___/|_| |_|\__\__,_|_|_| |_|\___|_|
                                     __/ |
                                    |___/

Creating container for country ca
BcContainerHelper is version 6.0.0
BcContainerHelper is running as administrator
HyperV is Enabled
UsePsSession is True
Host is Microsoft Windows 11 Pro - 10.0.22631.3737
Docker Client Version is 24.0.6
Docker Server Version is 24.0.6
Removing Session bcserver
Removing container bcserver
Removing entries from hosts
Removing bcserver from container hosts file
Removing bcserver-* from container hosts file
Removing Desktop shortcuts
Removing C:\ProgramData\BcContainerHelper\Extensions\bcserver
The CRONUS Demo License shipped in Version 21.0 artifacts doesn't contain sufficient rights to all Test Libraries objects. Patching the license file.
Fetching all docker images
Fetching all docker volumes
Using image mcr.microsoft.com/businesscentral:10.0.20348.2527-filesonly
Creating Container bcserver
Style: sandbox
Multitenant: Yes
Version: 21.0.46256.58264
Platform: 21.0.46384.58215
Generic Tag: 1.0.2.36
Container OS Version: 10.0.20348.2527 (ltsc2022)
Host OS Version: 10.0.22631.3737 (Unknown/Insider build)
Using process isolation
Using locale en-CA
Disabling the standard eventlog dump to container log every 2 seconds (use -dumpEventLog to enable)
Using license file https://bcartifacts.azureedge.net/prerequisites/21demolicense/ca/3048953.bclicense
Downloading C:\ProgramData\BcContainerHelper\Extensions\bcserver\my\license.bclicense
Downloading using WebClient
Could not download from CDN..., retrying from blob storage in 6 seconds...
Downloading using WebClient
Additional Parameters:
--env customNavSettings=EnableTaskScheduler=True
Files in C:\ProgramData\BcContainerHelper\Extensions\bcserver\my:
- AdditionalOutput.ps1
- license.bclicense
- MainLoop.ps1
- SetupVariables.ps1
- updatehosts.ps1
Creating container bcserver from image mcr.microsoft.com/businesscentral:10.0.20348.2527-filesonly
b361624724be7e97c588fecb7e7e3f62704f35e81965b77f9a7c058804d06769
Waiting for container bcserver to be ready
Using artifactUrl https://bcartifacts.azureedge.net/sandbox/21.0.46256.58264/ca
Using installer from C:\Run\210-new
Installing Business Central: multitenant=True, installOnly=False, filesOnly=True, includeTestToolkit=False, includeTestLibrariesOnly=False, includeTestFrameworkOnly=False, includePerformanceToolkit=False, appArtifactPath=c:\dl\sandbox\21.0.46256.58264\ca, platformArtifactPath=c:\dl\sandbox\21.0.46256.58264\platform, databasePath=c:\dl\sandbox\21.0.46256.58264\ca\BusinessCentral-CA.bak, licenseFilePath=c:\dl\sandbox\21.0.46256.58264\ca\Cronus.flf, rebootContainer=True
Installing from artifacts
Copying Service Tier Files
c:\dl\sandbox\21.0.46256.58264\platform\ServiceTier\Program Files
c:\dl\sandbox\21.0.46256.58264\platform\ServiceTier\System64Folder
Copying PowerShell Scripts
c:\dl\sandbox\21.0.46256.58264\platform\WindowsPowerShellScripts\Cloud\NAVAdministration
c:\dl\sandbox\21.0.46256.58264\platform\WindowsPowerShellScripts\WebSearch
Copying Web Client Files
c:\dl\sandbox\21.0.46256.58264\platform\WebClient\Microsoft Dynamics NAV
Copying ModernDev Files
c:\dl\sandbox\21.0.46256.58264\platform
c:\dl\sandbox\21.0.46256.58264\platform\ModernDev\program files\Microsoft Dynamics NAV
Copying additional files
Copying ConfigurationPackages
C:\dl\sandbox\21.0.46256.58264\ca\ConfigurationPackages
Copying Test Assemblies
C:\dl\sandbox\21.0.46256.58264\platform\Test Assemblies
Copying Extensions
C:\dl\sandbox\21.0.46256.58264\ca\Extensions
Copying Applications
C:\dl\sandbox\21.0.46256.58264\platform\Applications
Copying Applications.CA
C:\dl\sandbox\21.0.46256.58264\ca\Applications.CA
Copying dependencies
Copying ReportBuilder
Importing PowerShell Modules
Skipping restore of Cronus database
Modifying Business Central Service Tier Config File for Docker
Installing SIP crypto provider: 'C:\Windows\System32\NavSip.dll'
Installation took 18 seconds
Installation complete
Ready for connections!
Reading CustomSettings.config from bcserver

Creating container took 36 seconds
  _____                   _                                    _____                           _____
 |  __ \                 (_)                 /\               / ____|                         / ____|
 | |__) |   _ _ __  _ __  _ _ __   __ _     /  \   _ __  _ __| (___   ___  _   _ _ __ ___ ___| |     ___  _ __
 |  _  / | | | '_ \| '_ \| | '_ \ / _` |   / /\ \ | '_ \| '_ \\___ \ / _ \| | | | '__/ __/ _ \ |    / _ \| '_ \
 | | \ \ |_| | | | | | | | | | | | (_| |  / ____ \| |_) | |_) |___) | (_) | |_| | | | (__  __/ |____ (_) | |_) |
 |_|  \_\__,_|_| |_|_| |_|_|_| |_|\__, | /_/    \_\ .__/| .__/_____/ \___/ \__,_|_|  \___\___|\_____\___/| .__/
                                   __/ |          | |   | |                                              | |
                                  |___/           |_|   |_|                                              |_|
Copying previous apps to packages folder
::WARNING::Dean Dorton_mConnect_1.0.0.15.app already exists, it looks like you have multiple app files with the same name. App filenames must be unique.
Extracting C:\ProgramData\BcContainerHelper\40e8896d-b138-4eda-b216-c4df60755a75\Dean Dorton_mConnect_1.0.0.15.app
Dean Dorton_mConnect = 1.0.0.15
Latest Supported Runtime Version: 10.0
Dean Dorton_mConnect_1.0.0.16.app is Signed with Authenticode certificate: CN="DEAN DORTON ALLEN FORD, PLLC", O="DEAN DORTON ALLEN FORD, PLLC", S=Kentucky, C=US
Extracting C:\ProgramData\BcContainerHelper\1989c902-bfe8-4752-902d-2af92eae8540\Dean Dorton_mConnect_1.0.0.16.app
App Runtime Version is '10.0'
Excluding Runtime Version from app.json
Analyzing: Dean Dorton_mConnect_1.0.0.16.app
Using affixes: ddf
Using previous app: Dean Dorton_mConnect_1.0.0.15.app
Downloading C:\ProgramData\BcContainerHelper\d00a6213-2710-4571-9f16-19a4fb1f735a\appsource.default.ruleset.json
Downloading using WebClient
Could not download from CDN..., retrying from blob storage in 4 seconds...
Downloading using WebClient
AppSourceCop.json content:
{
    "Publisher":  "Dean Dorton",
    "Name":  "mConnect",
    "mandatoryAffixes":  [
                             "ddf"
                         ],
    "Version":  "1.0.0.15"
}
Ruleset.json content:
{
    "name":  "Run-AlCops RuleSet",
    "description":  "Generated by Run-AlCops",
    "includedRuleSets":  [
                             {
                                 "path":  "C:\\ProgramData\\BcContainerHelper\\d00a6213-2710-4571-9f16-19a4fb1f735a\\appsource.default.ruleset.json",
                                 "action":  "Default"
                             }
                         ]
}
Using Symbols Folder: C:\ProgramData\BcContainerHelper\40e8896d-b138-4eda-b216-c4df60755a75
Copying System.app from Container
Copying Microsoft_AMC Banking 365 Fundamentals_21.0.46256.58264.app from Container
Copying Microsoft_Any_21.0.46256.58264.app from Container
Copying Microsoft_API Reports - Finance_21.0.46256.58264.app from Container
Copying Microsoft_Application_21.0.46256.58264.app from Container
Copying Microsoft_Base Application_21.0.46256.58264.app from Container
Copying Microsoft_Business Central Cloud Migration - Previous Release (CA)_21.0.46256.58264.app from Container
Copying Microsoft_Business Central Cloud Migration - Previous Release_21.0.46256.58264.app from Container
Copying Microsoft_Business Central Cloud Migration API_21.0.46256.58264.app from Container
Copying Microsoft_Business Central Intelligent Cloud_21.0.46256.58264.app from Container
Copying Microsoft_Ceridian Payroll_21.0.46256.58264.app from Container
Copying Microsoft_Company Hub_21.0.46256.58264.app from Container
Copying Microsoft_Contoso Coffee Demo Dataset (CA)_21.0.46256.58264.app from Container
Copying Microsoft_Contoso Coffee Demo Dataset_21.0.46256.58264.app from Container
Copying Microsoft_Czech language (Czechia)_21.0.46256.58264.app from Container
Copying Microsoft_Danish language (Denmark)_21.0.46256.58264.app from Container
Copying Microsoft_Data Archive_21.0.46256.58264.app from Container
Copying Microsoft_Data Search_21.0.46256.58264.app from Container
Copying Microsoft_DIOT - Localization for Mexico_21.0.46256.58264.app from Container
Copying Microsoft_Dutch language (Belgium)_21.0.46256.58264.app from Container
Copying Microsoft_Dutch language (Netherlands)_21.0.46256.58264.app from Container
Copying Microsoft_Dynamics GP History SmartLists_21.0.46256.58264.app from Container
Copying Microsoft_Dynamics GP Intelligent Cloud_21.0.46256.58264.app from Container
Copying Microsoft_Email - Current User Connector_21.0.46256.58264.app from Container
Copying Microsoft_Email - Microsoft 365 Connector_21.0.46256.58264.app from Container
Copying Microsoft_Email - Outlook REST API_21.0.46256.58264.app from Container
Copying Microsoft_Email - SMTP API_21.0.46256.58264.app from Container
Copying Microsoft_Email - SMTP Connector_21.0.46256.58264.app from Container
Copying Microsoft_English language (Australia)_21.0.46256.58264.app from Container
Copying Microsoft_English language (Canada)_21.0.46256.58264.app from Container
Copying Microsoft_English language (New Zealand)_21.0.46256.58264.app from Container
Copying Microsoft_English language (United Kingdom)_21.0.46256.58264.app from Container
Copying Microsoft_English language (United States)_21.0.46256.58264.app from Container
Copying Microsoft_Envestnet Yodlee Bank Feeds_21.0.46256.58264.app from Container
Copying Microsoft_Essential Business Headlines_21.0.46256.58264.app from Container
Copying Microsoft_Finnish language (Finland)_21.0.46256.58264.app from Container
Copying Microsoft_French language (Belgium)_21.0.46256.58264.app from Container
Copying Microsoft_French language (Canada)_21.0.46256.58264.app from Container
Copying Microsoft_French language (France)_21.0.46256.58264.app from Container
Copying Microsoft_French language (Switzerland)_21.0.46256.58264.app from Container
Copying Microsoft_German language (Austria)_21.0.46256.58264.app from Container
Copying Microsoft_German language (Germany)_21.0.46256.58264.app from Container
Copying Microsoft_German language (Switzerland)_21.0.46256.58264.app from Container
Copying Microsoft_Icelandic language (Iceland)_21.0.46256.58264.app from Container
Copying Microsoft_Image Analyzer_21.0.46256.58264.app from Container
Copying Microsoft_Import of QuickBooks Payroll Files_21.0.46256.58264.app from Container
Copying Microsoft_Intelligent Cloud Base_21.0.46256.58264.app from Container
Copying Microsoft_Italian language (Italy)_21.0.46256.58264.app from Container
Copying Microsoft_Italian language (Switzerland)_21.0.46256.58264.app from Container
Copying Microsoft_Late Payment Prediction_21.0.46256.58264.app from Container
Copying Microsoft_Library Assert_21.0.46256.58264.app from Container
Copying Microsoft_Library Variable Storage_21.0.46256.58264.app from Container
Copying Microsoft_Microsoft Pay Payments_21.0.46256.58264.app from Container
Copying Microsoft_Migration of QuickBooks Data_21.0.46256.58264.app from Container
Copying Microsoft_Norwegian language (Norway)_21.0.46256.58264.app from Container
Copying Microsoft_Payment Links to PayPal_21.0.46256.58264.app from Container
Copying Microsoft_Performance Toolkit_21.0.46256.58264.app from Container
Copying Microsoft_Permissions Mock_21.0.46256.58264.app from Container
Copying Microsoft_Recommended Apps_21.0.46256.58264.app from Container
Copying Microsoft_Russian language (Russia)_21.0.46256.58264.app from Container
Copying Microsoft_Sales and Inventory Forecast_21.0.46256.58264.app from Container
Copying Microsoft_Send remittance advice by email_21.0.46256.58264.app from Container
Copying Microsoft_Send To Email Printer_21.0.46256.58264.app from Container
Copying Microsoft_Shopify Connector_21.0.46256.58264.app from Container
Copying Microsoft_Simplified Bank Statement Import_21.0.46256.58264.app from Container
Copying Microsoft_Spanish language (Mexico)_21.0.46256.58264.app from Container
Copying Microsoft_Spanish language (Spain)_21.0.46256.58264.app from Container
Copying Microsoft_Swedish language (Sweden)_21.0.46256.58264.app from Container
Copying Microsoft_System Application_21.0.46256.58264.app from Container
Copying Microsoft_Test Runner_21.0.46256.58264.app from Container
Copying Microsoft_Troubleshoot FA Ledger Entries_21.0.46256.58264.app from Container
Copying Microsoft_Universal Print Integration_21.0.46256.58264.app from Container
Copying Microsoft__Exclude_AnonymizedDataSharing__21.0.46256.58264.app from Container
Copying Microsoft__Exclude_APIV1__21.0.46256.58264.app from Container
Copying Microsoft__Exclude_APIV2__21.0.46256.58264.app from Container
Copying Microsoft__Exclude_Bank Deposits_21.0.46256.58264.app from Container
Copying Microsoft__Exclude_ClientAddIns__21.0.46256.58264.app from Container
Copying Microsoft__Exclude_Connectivity Apps_21.0.46256.58264.app from Container
Copying Microsoft__Exclude_Email Logging Using Graph API_21.0.46256.58264.app from Container
Copying Microsoft__Exclude_Microsoft Dynamics 365 - SmartList_21.0.46256.58264.app from Container
Copying Microsoft__Exclude_PlanConfiguration__21.0.46256.58264.app from Container
Copying Microsoft__Exclude_ReportLayouts_21.0.46256.58264.app from Container
Copying Microsoft__Exclude_SyncBaseApp__21.0.46256.58264.app from Container
INFO: You have to specify AuthContext and Environment if you are compiling in a filesOnly container in order to download dependencies
Processing dependency Microsoft_Application_21.0.0.0 ()
Dependency App exists
Processing dependency Microsoft_System_21.0.0.0 ()
Dependency App exists
Compiling...
.\alc.exe /project:"C:\ProgramData\BcContainerHelper\d00a6213-2710-4571-9f16-19a4fb1f735a" /packagecachepath:"C:\ProgramData\BcContainerHelper\40e8896d-b138-4eda-b216-c4df60755a75" /out:"C:\ProgramData\BcContainerHelper\d00a6213-2710-4571-9f16-19a4fb1f735a\Dean Dorton_mConnect_1.0.0.16.app" /GenerateReportLayout- /analyzer:C:\build\vsix\extension\bin\Analyzers\Microsoft.Dynamics.Nav.AppSourceCop.dll /ruleset:C:\ProgramData\BcContainerHelper\d00a6213-2710-4571-9f16-19a4fb1f735a\ruleset.json /reportsuppresseddiagnostics /assemblyprobingpaths:"C:\Program Files\Microsoft Dynamics NAV\210\Service","C:\Program Files (x86)\Open XML SDK\V2.5\lib","c:\Windows\Microsoft.NET\Assembly","C:\Test Assemblies\Mock Assemblies"
Microsoft (R) AL Compiler version 10.0.10.35234
Copyright (C) Microsoft Corporation. All rights reserved

Compilation started for project 'mConnect' containing '21' files at '17:48:23.085'.

Compilation ended at '17:48:28.772'.

C:\ProgramData\BcContainerHelper\d00a6213-2710-4571-9f16-19a4fb1f735a\Dean Dorton_mConnect_1.0.0.16.app successfully created in 8 seconds
Ignoring warnings
Ignoring infos
Copy C:\ProgramData\BcContainerHelper\1989c902-bfe8-4752-902d-2af92eae8540\Dean Dorton_mConnect_1.0.0.16.app to C:\ProgramData\BcContainerHelper\40e8896d-b138-4eda-b216-c4df60755a75

Running AppSourceCop took 24 seconds

   _____                _   _                               _        _
  / ____|              | | (_)                             | |      (_)
 | |     _ __ ___  __ _| |_ _ _ __   __ _    ___ ___  _ __ | |_ __ _ _ _ __   ___ _ __
 | |    | '__/ _ \/ _` | __| | '_ \ / _` |  / __/ _ \| '_ \| __/ _` | | '_ \ / _ \ '__|
 | |____| | |  __/ (_| | |_| | | | | (_| | | (__ (_) | | | | |_ (_| | | | | |  __/ |
  \_____|_|  \___|\__,_|\__|_|_| |_|\__, |  \___\___/|_| |_|\__\__,_|_|_| |_|\___|_|
                                     __/ |
                                    |___/

Creating container for country au
BcContainerHelper is version 6.0.0
BcContainerHelper is running as administrator
HyperV is Enabled
UsePsSession is True
Host is Microsoft Windows 11 Pro - 10.0.22631.3737
Docker Client Version is 24.0.6
Docker Server Version is 24.0.6
Removing Session bcserver
Removing container bcserver
Removing entries from hosts
Removing bcserver from container hosts file
Removing bcserver-* from container hosts file
Removing Desktop shortcuts
Removing C:\ProgramData\BcContainerHelper\Extensions\bcserver
The CRONUS Demo License shipped in Version 21.0 artifacts doesn't contain sufficient rights to all Test Libraries objects. Patching the license file.
Fetching all docker images
Fetching all docker volumes
Using image mcr.microsoft.com/businesscentral:10.0.20348.2527-filesonly
Creating Container bcserver
Style: sandbox
Multitenant: Yes
Version: 21.0.46256.58264
Platform: 21.0.46384.58215
Generic Tag: 1.0.2.36
Container OS Version: 10.0.20348.2527 (ltsc2022)
Host OS Version: 10.0.22631.3737 (Unknown/Insider build)
Using process isolation
Using locale en-AU
Disabling the standard eventlog dump to container log every 2 seconds (use -dumpEventLog to enable)
Using license file https://bcartifacts.azureedge.net/prerequisites/21demolicense/au/3048953.bclicense
Downloading C:\ProgramData\BcContainerHelper\Extensions\bcserver\my\license.bclicense
Downloading using WebClient
Could not download from CDN..., retrying from blob storage in 4 seconds...
Downloading using WebClient
Additional Parameters:
--env customNavSettings=EnableTaskScheduler=True
Files in C:\ProgramData\BcContainerHelper\Extensions\bcserver\my:
- AdditionalOutput.ps1
- license.bclicense
- MainLoop.ps1
- SetupVariables.ps1
- updatehosts.ps1
Creating container bcserver from image mcr.microsoft.com/businesscentral:10.0.20348.2527-filesonly
539cc691ef1800f37fed6bed360df20a368e49d1e7b68e96bde48c4a23bcc0fa
Waiting for container bcserver to be ready
Using artifactUrl https://bcartifacts.azureedge.net/sandbox/21.0.46256.58264/au
Using installer from C:\Run\210-new
Installing Business Central: multitenant=True, installOnly=False, filesOnly=True, includeTestToolkit=False, includeTestLibrariesOnly=False, includeTestFrameworkOnly=False, includePerformanceToolkit=False, appArtifactPath=c:\dl\sandbox\21.0.46256.58264\au, platformArtifactPath=c:\dl\sandbox\21.0.46256.58264\platform, databasePath=c:\dl\sandbox\21.0.46256.58264\au\BusinessCentral-AU.bak, licenseFilePath=c:\dl\sandbox\21.0.46256.58264\au\Cronus.flf, rebootContainer=True
Installing from artifacts
Copying Service Tier Files
c:\dl\sandbox\21.0.46256.58264\platform\ServiceTier\Program Files
c:\dl\sandbox\21.0.46256.58264\platform\ServiceTier\System64Folder
Copying PowerShell Scripts
c:\dl\sandbox\21.0.46256.58264\platform\WindowsPowerShellScripts\Cloud\NAVAdministration
c:\dl\sandbox\21.0.46256.58264\platform\WindowsPowerShellScripts\WebSearch
Copying Web Client Files
c:\dl\sandbox\21.0.46256.58264\platform\WebClient\Microsoft Dynamics NAV
Copying ModernDev Files
c:\dl\sandbox\21.0.46256.58264\platform
c:\dl\sandbox\21.0.46256.58264\platform\ModernDev\program files\Microsoft Dynamics NAV
Copying additional files
Copying ConfigurationPackages
C:\dl\sandbox\21.0.46256.58264\au\ConfigurationPackages
Copying Test Assemblies
C:\dl\sandbox\21.0.46256.58264\platform\Test Assemblies
Copying Extensions
C:\dl\sandbox\21.0.46256.58264\au\Extensions
Copying Applications
C:\dl\sandbox\21.0.46256.58264\platform\Applications
Copying Applications.AU
C:\dl\sandbox\21.0.46256.58264\au\Applications.AU
Copying dependencies
Copying ReportBuilder
Importing PowerShell Modules
Skipping restore of Cronus database
Modifying Business Central Service Tier Config File for Docker
Installing SIP crypto provider: 'C:\Windows\System32\NavSip.dll'
Installation took 18 seconds
Installation complete
Ready for connections!
Reading CustomSettings.config from bcserver

Creating container took 34 seconds
  _____                   _                                    _____                           _____
 |  __ \                 (_)                 /\               / ____|                         / ____|
 | |__) |   _ _ __  _ __  _ _ __   __ _     /  \   _ __  _ __| (___   ___  _   _ _ __ ___ ___| |     ___  _ __
 |  _  / | | | '_ \| '_ \| | '_ \ / _` |   / /\ \ | '_ \| '_ \\___ \ / _ \| | | | '__/ __/ _ \ |    / _ \| '_ \
 | | \ \ |_| | | | | | | | | | | | (_| |  / ____ \| |_) | |_) |___) | (_) | |_| | | | (__  __/ |____ (_) | |_) |
 |_|  \_\__,_|_| |_|_| |_|_|_| |_|\__, | /_/    \_\ .__/| .__/_____/ \___/ \__,_|_|  \___\___|\_____\___/| .__/
                                   __/ |          | |   | |                                              | |
                                  |___/           |_|   |_|                                              |_|
Copying previous apps to packages folder
::WARNING::Dean Dorton_mConnect_1.0.0.15.app already exists, it looks like you have multiple app files with the same name. App filenames must be unique.
Extracting C:\ProgramData\BcContainerHelper\40e8896d-b138-4eda-b216-c4df60755a75\Dean Dorton_mConnect_1.0.0.15.app
Dean Dorton_mConnect = 1.0.0.15
Latest Supported Runtime Version: 10.0
Dean Dorton_mConnect_1.0.0.16.app is Signed with Authenticode certificate: CN="DEAN DORTON ALLEN FORD, PLLC", O="DEAN DORTON ALLEN FORD, PLLC", S=Kentucky, C=US
Extracting C:\ProgramData\BcContainerHelper\5ca190af-bf36-497e-b48b-587a76e4e6a8\Dean Dorton_mConnect_1.0.0.16.app
App Runtime Version is '10.0'
Excluding Runtime Version from app.json
Analyzing: Dean Dorton_mConnect_1.0.0.16.app
Using affixes: ddf
Using previous app: Dean Dorton_mConnect_1.0.0.15.app
Downloading C:\ProgramData\BcContainerHelper\53364733-780e-451e-90d9-10508c12de82\appsource.default.ruleset.json
Downloading using WebClient
Could not download from CDN..., retrying from blob storage in 2 seconds...
Downloading using WebClient
AppSourceCop.json content:
{
    "Publisher":  "Dean Dorton",
    "Name":  "mConnect",
    "mandatoryAffixes":  [
                             "ddf"
                         ],
    "Version":  "1.0.0.15"
}
Ruleset.json content:
{
    "name":  "Run-AlCops RuleSet",
    "description":  "Generated by Run-AlCops",
    "includedRuleSets":  [
                             {
                                 "path":  "C:\\ProgramData\\BcContainerHelper\\53364733-780e-451e-90d9-10508c12de82\\appsource.default.ruleset.json",
                                 "action":  "Default"
                             }
                         ]
}
Using Symbols Folder: C:\ProgramData\BcContainerHelper\40e8896d-b138-4eda-b216-c4df60755a75
Copying System.app from Container
Copying Microsoft_AMC Banking 365 Fundamentals_21.0.46256.58264.app from Container
Copying Microsoft_Any_21.0.46256.58264.app from Container
Copying Microsoft_API Reports - Finance_21.0.46256.58264.app from Container
Copying Microsoft_Application_21.0.46256.58264.app from Container
Copying Microsoft_Base Application_21.0.46256.58264.app from Container
Copying Microsoft_Basic Experience_21.0.46256.58264.app from Container
Copying Microsoft_Business Central Cloud Migration - Previous Release (AU)_21.0.46256.58264.app from Container
Copying Microsoft_Business Central Cloud Migration - Previous Release_21.0.46256.58264.app from Container
Copying Microsoft_Business Central Cloud Migration API_21.0.46256.58264.app from Container
Copying Microsoft_Business Central Intelligent Cloud_21.0.46256.58264.app from Container
Copying Microsoft_Company Hub_21.0.46256.58264.app from Container
Copying Microsoft_Contoso Coffee Demo Dataset (AU)_21.0.46256.58264.app from Container
Copying Microsoft_Contoso Coffee Demo Dataset_21.0.46256.58264.app from Container
Copying Microsoft_Czech language (Czechia)_21.0.46256.58264.app from Container
Copying Microsoft_Danish language (Denmark)_21.0.46256.58264.app from Container
Copying Microsoft_Data Archive_21.0.46256.58264.app from Container
Copying Microsoft_Data Search_21.0.46256.58264.app from Container
Copying Microsoft_Dutch language (Belgium)_21.0.46256.58264.app from Container
Copying Microsoft_Dutch language (Netherlands)_21.0.46256.58264.app from Container
Copying Microsoft_Dynamics GP History SmartLists_21.0.46256.58264.app from Container
Copying Microsoft_Dynamics GP Intelligent Cloud_21.0.46256.58264.app from Container
Copying Microsoft_Email - Current User Connector_21.0.46256.58264.app from Container
Copying Microsoft_Email - Microsoft 365 Connector_21.0.46256.58264.app from Container
Copying Microsoft_Email - Outlook REST API_21.0.46256.58264.app from Container
Copying Microsoft_Email - SMTP API_21.0.46256.58264.app from Container
Copying Microsoft_Email - SMTP Connector_21.0.46256.58264.app from Container
Copying Microsoft_English language (Australia)_21.0.46256.58264.app from Container
Copying Microsoft_English language (Canada)_21.0.46256.58264.app from Container
Copying Microsoft_English language (New Zealand)_21.0.46256.58264.app from Container
Copying Microsoft_English language (United Kingdom)_21.0.46256.58264.app from Container
Copying Microsoft_English language (United States)_21.0.46256.58264.app from Container
Copying Microsoft_Essential Business Headlines_21.0.46256.58264.app from Container
Copying Microsoft_Finnish language (Finland)_21.0.46256.58264.app from Container
Copying Microsoft_French language (Belgium)_21.0.46256.58264.app from Container
Copying Microsoft_French language (Canada)_21.0.46256.58264.app from Container
Copying Microsoft_French language (France)_21.0.46256.58264.app from Container
Copying Microsoft_French language (Switzerland)_21.0.46256.58264.app from Container
Copying Microsoft_German language (Austria)_21.0.46256.58264.app from Container
Copying Microsoft_German language (Germany)_21.0.46256.58264.app from Container
Copying Microsoft_German language (Switzerland)_21.0.46256.58264.app from Container
Copying Microsoft_Icelandic language (Iceland)_21.0.46256.58264.app from Container
Copying Microsoft_Image Analyzer_21.0.46256.58264.app from Container
Copying Microsoft_Intelligent Cloud Base_21.0.46256.58264.app from Container
Copying Microsoft_Italian language (Italy)_21.0.46256.58264.app from Container
Copying Microsoft_Italian language (Switzerland)_21.0.46256.58264.app from Container
Copying Microsoft_Late Payment Prediction_21.0.46256.58264.app from Container
Copying Microsoft_Library Assert_21.0.46256.58264.app from Container
Copying Microsoft_Library Variable Storage_21.0.46256.58264.app from Container
Copying Microsoft_Microsoft Pay Payments_21.0.46256.58264.app from Container
Copying Microsoft_Norwegian language (Norway)_21.0.46256.58264.app from Container
Copying Microsoft_Payment Links to PayPal_21.0.46256.58264.app from Container
Copying Microsoft_Performance Toolkit_21.0.46256.58264.app from Container
Copying Microsoft_Permissions Mock_21.0.46256.58264.app from Container
Copying Microsoft_Recommended Apps_21.0.46256.58264.app from Container
Copying Microsoft_Russian language (Russia)_21.0.46256.58264.app from Container
Copying Microsoft_Sales and Inventory Forecast_21.0.46256.58264.app from Container
Copying Microsoft_Send remittance advice by email_21.0.46256.58264.app from Container
Copying Microsoft_Send To Email Printer_21.0.46256.58264.app from Container
Copying Microsoft_Shopify Connector_21.0.46256.58264.app from Container
Copying Microsoft_Simplified Bank Statement Import_21.0.46256.58264.app from Container
Copying Microsoft_Spanish language (Mexico)_21.0.46256.58264.app from Container
Copying Microsoft_Spanish language (Spain)_21.0.46256.58264.app from Container
Copying Microsoft_Swedish language (Sweden)_21.0.46256.58264.app from Container
Copying Microsoft_System Application_21.0.46256.58264.app from Container
Copying Microsoft_Test Runner_21.0.46256.58264.app from Container
Copying Microsoft_Troubleshoot FA Ledger Entries_21.0.46256.58264.app from Container
Copying Microsoft_Universal Print Integration_21.0.46256.58264.app from Container
Copying Microsoft_WorldPay Payments Standard_21.0.46256.58264.app from Container
Copying Microsoft__Exclude_AnonymizedDataSharing__21.0.46256.58264.app from Container
Copying Microsoft__Exclude_APIV1__21.0.46256.58264.app from Container
Copying Microsoft__Exclude_APIV2__21.0.46256.58264.app from Container
Copying Microsoft__Exclude_Bank Deposits_21.0.46256.58264.app from Container
Copying Microsoft__Exclude_ClientAddIns__21.0.46256.58264.app from Container
Copying Microsoft__Exclude_Connectivity Apps_21.0.46256.58264.app from Container
Copying Microsoft__Exclude_Email Logging Using Graph API_21.0.46256.58264.app from Container
Copying Microsoft__Exclude_Microsoft Dynamics 365 - SmartList_21.0.46256.58264.app from Container
Copying Microsoft__Exclude_PlanConfiguration__21.0.46256.58264.app from Container
Copying Microsoft__Exclude_ReportLayouts_21.0.46256.58264.app from Container
Copying Microsoft__Exclude_SyncBaseApp__21.0.46256.58264.app from Container
INFO: You have to specify AuthContext and Environment if you are compiling in a filesOnly container in order to download dependencies
Processing dependency Microsoft_Application_21.0.0.0 ()
Dependency App exists
Processing dependency Microsoft_System_21.0.0.0 ()
Dependency App exists
Compiling...
.\alc.exe /project:"C:\ProgramData\BcContainerHelper\53364733-780e-451e-90d9-10508c12de82" /packagecachepath:"C:\ProgramData\BcContainerHelper\40e8896d-b138-4eda-b216-c4df60755a75" /out:"C:\ProgramData\BcContainerHelper\53364733-780e-451e-90d9-10508c12de82\Dean Dorton_mConnect_1.0.0.16.app" /GenerateReportLayout- /analyzer:C:\build\vsix\extension\bin\Analyzers\Microsoft.Dynamics.Nav.AppSourceCop.dll /ruleset:C:\ProgramData\BcContainerHelper\53364733-780e-451e-90d9-10508c12de82\ruleset.json /reportsuppresseddiagnostics /assemblyprobingpaths:"C:\Program Files\Microsoft Dynamics NAV\210\Service","C:\Program Files (x86)\Open XML SDK\V2.5\lib","c:\Windows\Microsoft.NET\Assembly","C:\Test Assemblies\Mock Assemblies"
Microsoft (R) AL Compiler version 10.0.10.35234
Copyright (C) Microsoft Corporation. All rights reserved

Compilation started for project 'mConnect' containing '21' files at '17:49:19.874'.

Compilation ended at '17:49:25.143'.

C:\ProgramData\BcContainerHelper\53364733-780e-451e-90d9-10508c12de82\Dean Dorton_mConnect_1.0.0.16.app successfully created in 8 seconds
Ignoring warnings
Ignoring infos
Copy C:\ProgramData\BcContainerHelper\5ca190af-bf36-497e-b48b-587a76e4e6a8\Dean Dorton_mConnect_1.0.0.16.app to C:\ProgramData\BcContainerHelper\40e8896d-b138-4eda-b216-c4df60755a75

Running AppSourceCop took 22 seconds

  _____                           _                _____            _        _
 |  __ \                         (_)              / ____|          | |      (_)
 | |__) |___ _ __ ___   _____   ___ _ __   __ _  | |     ___  _ __ | |_ __ _ _ _ __   ___ _ __
 |  _  // _ \ '_ ` _ \ / _ \ \ / / | '_ \ / _` | | |    / _ \| '_ \| __/ _` | | '_ \ / _ \ '__|
 | | \ \  __/ | | | | | (_) \ V /| | | | | (_| | | |____ (_) | | | | |_ (_| | | | | |  __/ |
 |_|  \_\___|_| |_| |_|\___/ \_/ |_|_| |_|\__, |  \_____\___/|_| |_|\__\__,_|_|_| |_|\___|_|
                                           __/ |
                                          |___/

Removing Session bcserver
Removing container bcserver
Removing entries from hosts
Removing bcserver from container hosts file
Removing bcserver-* from container hosts file
Removing Desktop shortcuts
Removing C:\ProgramData\BcContainerHelper\Extensions\bcserver

Removing container took 3 seconds

AL Validation finished in 224 seconds
 __      __   _ _     _       _   _               _____                _ _
 \ \    / /  | (_)   | |     | | (_)             |  __ \              | | |
  \ \  / /_ _| |_  __| | __ _| |_ _  ___  _ __   | |__) |___ ___ _   _| | |_ ___
   \ \/ / _` | | |/ _` |/ _` | __| |/ _ \| '_ \  |  _  // _ \ __| | | | | __/ __|
    \  / (_| | | | (_| | (_| | |_| | (_) | | | | | | \ \  __\__ \ |_| | | |_\__ \
     \/ \__,_|_|_|\__,_|\__,_|\__|_|\___/|_| |_| |_|  \_\___|___/\__,_|_|\__|___/

Unexpected error while validating app. Error is: Cannot add a member with the name "Version" because a member with that name already exists. To overwrite the member anyway, add the Force parameter to your command.
  _____                          ___      __   _ _     _       _   _               ______    _ _
 |  __ \                   /\   | \ \    / /  | (_)   | |     | | (_)             |  ____|  (_) |
 | |__) |   _ _ __ ______ /  \  | |\ \  / /_ _| |_  __| | __ _| |_ _  ___  _ __   | |__ __ _ _| |_   _ _ __ ___
 |  _  / | | | '_ \______/ /\ \ | | \ \/ / _` | | |/ _` |/ _` | __| |/ _ \| '_ \  |  __/ _` | | | | | | '__/ _ \
 | | \ \ |_| | | | |    / ____ \| |  \  / (_| | | | (_| | (_| | |_| | (_) | | | | | | | (_| | | | |_| | | |  __/
 |_|  \_\__,_|_| |_|   /_/    \_\_|   \/ \__,_|_|_|\__,_|\__,_|\__|_|\___/|_| |_| |_|  \__,_|_|_|\__,_|_|  \___|

Unexpected error while validating app. Error is: Cannot add a member with the name "Version" because a member with that name already exists. To overwrite the member anyway, add the Force parameter to your command.
...

Screenshots If applicable, add screenshots to help explain your problem.

Additional context

freddydk commented 4 months ago

You probably need to restart your PowerShell session and re-run, because your validation is not using the latest BcContainerHelper: image

If it still fails, please submit the new log, thanks.

GPetrites commented 4 months ago

Thanks for the quick response. That fixed it.