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

Support of baselinePackageCachePath in Run-AlValidation #2339

Closed
ChrisBlankDe opened this issue Mar 8, 2022 · 3 comments
Closed

Support of baselinePackageCachePath in Run-AlValidation #2339

ChrisBlankDe opened this issue Mar 8, 2022 · 3 comments
Assignees

Comments

@ChrisBlankDe
Copy link
Contributor

Describe the issue
Run-AlValidation should support baselinePackageCachePath paramter.
We had an Issue around Breaking Changes where the solution was to configure the baselinePackageCachePath in AppSourceCop.json.

Run-AlValidation still fails so i think a parameter like baselinePackageCachePathArtifactUrl (or something like that) is required.

Scripts used to create container and cause the issue

Run-AlValidation `
  -apps "C:\Temp\Default publisher_BusinessChartBugDemo_2.0.0.0.app" `
  -previousApps "C:\Temp\Default publisher_BusinessChartBugDemo_1.0.0.0.app" `
  -countries "de" `
  -validateNextMajor `
  -sasToken $sasToken `
  -affixes 'PTE'

Demo Solution with Compiled Apps: BusinessChartBugDemo.zip

Full output of scripts

BcContainerHelper version 3.0.2
BcContainerHelper emits usage statistics telemetry to Microsoft
WARNUNG: Die Namen einiger importierter Befehle auf Modul "bccontainerhelper" enthalten nicht genehmigte Verben, sodass deren Auffindbarkeit erschwert werden kann. Wenn Sie die Befehle mit nicht genehmigten Verben finden möchten, führen Sie den Import-Module-Befehl erneut mit dem Verbose-Parameter aus. Sie können durch Eingeben von "Get-Verb" eine Liste der genehmigten Verben anzeigen.
  _____                               _                
 |  __ \                             | |               
 | |__) |_ _ _ __ __ _ _ __ ___   ___| |_ ___ _ __ ___ 
 |  ___/ _` | '__/ _` | '_ ` _ \ / _ \ __/ _ \ '__/ __|
 | |  | (_| | | | (_| | | | | | |  __/ |_  __/ |  \__ \
 |_|   \__,_|_|  \__,_|_| |_| |_|\___|\__\___|_|  |___/
Container name
bcserver
Credential
admin/Fany6545
MemoryLimit
8G
validateVersion

validateCurrent
False
validateNextMinor
False
validateNextMajor
True
SasToken
Specified
countries
de
validateCountries
de
affixes
PTE
supportedCountries

vsixFile

Install Apps
- None
Previous Apps
- C:\Temp\Default publisher_BusinessChartBugDemo_1.0.0.0.app
Apps
- C:\Temp\Default publisher_BusinessChartBugDemo_2.0.0.0.app

  _____       _ _ _                                          _        _                            
 |  __ \     | | (_)                                        (_)      (_)                           
 | |__) |   _| | |_ _ __   __ _    __ _  ___ _ __   ___ _ __ _  ___   _ _ __ ___   __ _  __ _  ___ 
 |  ___/ | | | | | | '_ \ / _` |  / _` |/ _ \ '_ \ / _ \ '__| |/ __| | | '_ ` _ \ / _` |/ _` |/ _ \
 | |   | |_| | | | | | | | (_| | | (_| |  __/ | | |  __/ |  | | (__  | | | | | | | (_| | (_| |  __/
 |_|    \__,_|_|_|_|_| |_|\__, |  \__, |\___|_| |_|\___|_|  |_|\___| |_|_| |_| |_|\__,_|\__, |\___|
                           __/ |   __/ |                                                 __/ |     
                          |___/   |___/                                                 |___/
Pulling mcr.microsoft.com/businesscentral:10.0.20348.524-filesonly

Pulling generic image took 1 seconds
  _____       _                      _                         _   _  __           _       
 |  __ \     | |                    (_)                       | | (_)/ _|         | |      
 | |  | | ___| |_ ___ _ __ _ __ ___  _ _ __   ___    __ _ _ __| |_ _| |_ __ _  ___| |_ ___ 
 | |  | |/ _ \ __/ _ \ '__| '_ ` _ \| | '_ \ / _ \  / _` | '__| __| |  _/ _` |/ __| __/ __|
 | |__| |  __/ |_  __/ |  | | | | | | | | | |  __/ | (_| | |  | |_| | || (_| | (__| |_\__ \
 |_____/ \___|\__\___|_|  |_| |_| |_|_|_| |_|\___|  \__,_|_|   \__|_|_| \__,_|\___|\__|___/
Found https://bcinsider.azureedge.net/sandbox/20.0.37060.0/de
Using https://bcinsider.azureedge.net/sandbox/20.0.37060.0/de

   _____                _   _                               _        _                 
  / ____|              | | (_)                             | |      (_)                
 | |     _ __ ___  __ _| |_ _ _ __   __ _    ___ ___  _ __ | |_ __ _ _ _ __   ___ _ __ 
 | |    | '__/ _ \/ _` | __| | '_ \ / _` |  / __/ _ \| '_ \| __/ _` | | '_ \ / _ \ '__|
 | |____| | |  __/ (_| | |_| | | | | (_| | | (__ (_) | | | | |_ (_| | | | | |  __/ |   
  \_____|_|  \___|\__,_|\__|_|_| |_|\__, |  \___\___/|_| |_|\__\__,_|_|_| |_|\___|_|   
                                     __/ |                                             
                                    |___/
Creating container for country de
Default parameter shortcuts = CommonDesktopFolder
BcContainerHelper is version 3.0.2
BcContainerHelper is running as administrator
Host is Microsoft Windows 11 Enterprise - 21H2
Docker Client Version is 20.10.12
Docker Server Version is 20.10.12
Fetching all docker images
Fetching all docker volumes
Using image mcr.microsoft.com/businesscentral:10.0.20348.524-filesonly
Creating Container bcserver
Style: sandbox
Multitenant: Yes
Version: 20.0.37060.0
Platform: 20.0.37043.0
Generic Tag: 1.0.2.1
Container OS Version: 10.0.20348.524 (ltsc2022)
Host OS Version: 10.0.22000.258 (21H2)
Using process isolation
Using locale de-DE
Disabling the standard eventlog dump to container log every 2 seconds (use -dumpEventLog to enable)
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.524-filesonly
5b4e280f25d13c29668ecb718a31baad37b640266de57b4dd1c11c3ef358cc3a
Waiting for container bcserver to be ready
Using artifactUrl https://bcinsider.azureedge.net/sandbox/20.0.37060.0/de
Using installer from C:\Run\150-new
Installing Business Central
Installing from artifacts
Copying Service Tier Files
c:\dl\sandbox\20.0.37060.0\platform\ServiceTier\Program Files
c:\dl\sandbox\20.0.37060.0\platform\ServiceTier\System64Folder
Copying PowerShell Scripts
c:\dl\sandbox\20.0.37060.0\platform\WindowsPowerShellScripts\Cloud\NAVAdministration

c:\dl\sandbox\20.0.37060.0\platform\WindowsPowerShellScripts\WebSearch

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'

Copying Web Client Files
c:\dl\sandbox\20.0.37060.0\platform\WebClient\Microsoft Dynamics NAV
Copying Client Files
c:\dl\sandbox\20.0.37060.0\platform\LegacyDlls\program files\Microsoft Dynamics NAV
c:\dl\sandbox\20.0.37060.0\platform\LegacyDlls\program files\Microsoft Dynamics NAV
c:\dl\sandbox\20.0.37060.0\platform\LegacyDlls\systemFolder
Copying ModernDev Files
c:\dl\sandbox\20.0.37060.0\platform
c:\dl\sandbox\20.0.37060.0\platform\ModernDev\program files\Microsoft Dynamics NAV
Copying additional files
Copying ConfigurationPackages
C:\dl\sandbox\20.0.37060.0\de\ConfigurationPackages
Copying Test Assemblies
C:\dl\sandbox\20.0.37060.0\platform\Test Assemblies
Copying Extensions
C:\dl\sandbox\20.0.37060.0\de\Extensions
Copying Applications
C:\dl\sandbox\20.0.37060.0\platform\Applications
Copying Applications.DE
C:\dl\sandbox\20.0.37060.0\de\Applications.DE
Installation took 18 seconds
Installation complete
Ready for connections!

Reading CustomSettings.config from bcserver

Creating container took 33 seconds
  _____                   _                                    _____                           _____            
 |  __ \                 (_)                 /\               / ____|                         / ____|           
 | |__) |   _ _ __  _ __  _ _ __   __ _     /  \   _ __  _ __| (___   ___  _   _ _ __ ___ ___| |     ___  _ __  
 |  _  / | | | '_ \| '_ \| | '_ \ / _` |   / /\ \ | '_ \| '_ \\___ \ / _ \| | | | '__/ __/ _ \ |    / _ \| '_ \ 
 | | \ \ |_| | | | | | | | | | | | (_| |  / ____ \| |_) | |_) |___) | (_) | |_| | | | (__  __/ |____ (_) | |_) |
 |_|  \_\__,_|_| |_|_| |_|_|_| |_|\__, | /_/    \_\ .__/| .__/_____/ \___/ \__,_|_|  \___\___|\_____\___/| .__/ 
                                   __/ |          | |   | |                                              | |    
                                  |___/           |_|   |_|                                              |_|
Copying previous apps to packages folder
Extracting C:\ProgramData\BcContainerHelper\3b3338ab-317e-452b-86e3-82238d07eaa1\Default publisher_BusinessChartBugDemo_1.0.0.0.app
Default publisher_BusinessChartBugDemo = 1.0.0.0
Extracting C:\ProgramData\BcContainerHelper\060ef0f8-cd5c-4377-b403-890b713ea290\Default publisher_BusinessChartBugDemo_2.0.0.0.app
Analyzing: Default publisher_BusinessChartBugDemo_2.0.0.0.app
Using affixes: PTE
Using previous app: Default publisher_BusinessChartBugDemo_1.0.0.0.app
Downloading C:\ProgramData\BcContainerHelper\c89143d4-55cf-48c6-9022-de0886775705\appsource.default.ruleset.json
AppSourceCop.json content:
{
    "Publisher":  "Default publisher",
    "Name":  "BusinessChartBugDemo",
    "mandatoryAffixes":  [
                             "PTE"
                         ],
    "Version":  "1.0.0.0"
}
Ruleset.json content:
{
    "name":  "Run-AlCops RuleSet",
    "description":  "Generated by Run-AlCops",
    "includedRuleSets":  [
                             {
                                 "path":  "C:\\ProgramData\\BcContainerHelper\\c89143d4-55cf-48c6-9022-de0886775705\\appsource.default.ruleset.json",
                                 "action":  "Default"
                             }
                         ]
}
Using Symbols Folder: C:\ProgramData\BcContainerHelper\3b3338ab-317e-452b-86e3-82238d07eaa1
INFO: Copying System.app from Container
INFO: Copying Microsoft_AMC Banking 365 Fundamentals_20.0.37060.0.app from Container
INFO: Copying Microsoft_Any_20.0.37060.0.app from Container
INFO: Copying Microsoft_Application_20.0.37060.0.app from Container
INFO: Copying Microsoft_Base Application_20.0.37060.0.app from Container
INFO: Copying Microsoft_Business Central Cloud Migration - Previous Release (DE)_20.0.37060.0.app from Container
INFO: Copying Microsoft_Business Central Cloud Migration - Previous Release_20.0.37060.0.app from Container
INFO: Copying Microsoft_Business Central Cloud Migration API_20.0.37060.0.app from Container
INFO: Copying Microsoft_Business Central Intelligent Cloud_20.0.37060.0.app from Container
INFO: Copying Microsoft_Company Hub_20.0.37060.0.app from Container
INFO: Copying Microsoft_Contoso Coffee Demo Dataset (DE)_20.0.37060.0.app from Container
INFO: Copying Microsoft_Contoso Coffee Demo Dataset_20.0.37060.0.app from Container
INFO: Copying Microsoft_Czech language (Czechia)_20.0.37060.0.app from Container
INFO: Copying Microsoft_Danish language (Denmark)_20.0.37060.0.app from Container
INFO: Copying Microsoft_Data Archive_20.0.37060.0.app from Container
INFO: Copying Microsoft_Dutch language (Belgium)_20.0.37060.0.app from Container
INFO: Copying Microsoft_Dutch language (Netherlands)_20.0.37060.0.app from Container
INFO: Copying Microsoft_ELSTER VAT Localization for Germany_20.0.37060.0.app from Container
INFO: Copying Microsoft_Email - Current User Connector_20.0.37060.0.app from Container
INFO: Copying Microsoft_Email - Microsoft 365 Connector_20.0.37060.0.app from Container
INFO: Copying Microsoft_Email - Outlook REST API_20.0.37060.0.app from Container
INFO: Copying Microsoft_Email - SMTP API_20.0.37060.0.app from Container
INFO: Copying Microsoft_Email - SMTP Connector_20.0.37060.0.app from Container
INFO: Copying Microsoft_English language (Australia)_20.0.37060.0.app from Container
INFO: Copying Microsoft_English language (Canada)_20.0.37060.0.app from Container
INFO: Copying Microsoft_English language (New Zealand)_20.0.37060.0.app from Container
INFO: Copying Microsoft_English language (United Kingdom)_20.0.37060.0.app from Container
INFO: Copying Microsoft_English language (United States)_20.0.37060.0.app from Container
INFO: Copying Microsoft_Essential Business Headlines_20.0.37060.0.app from Container
INFO: Copying Microsoft_Finnish language (Finland)_20.0.37060.0.app from Container
INFO: Copying Microsoft_French language (Belgium)_20.0.37060.0.app from Container
INFO: Copying Microsoft_French language (Canada)_20.0.37060.0.app from Container
INFO: Copying Microsoft_French language (France)_20.0.37060.0.app from Container
INFO: Copying Microsoft_French language (Switzerland)_20.0.37060.0.app from Container
INFO: Copying Microsoft_German language (Austria)_20.0.37060.0.app from Container
INFO: Copying Microsoft_German language (Germany)_20.0.37060.0.app from Container
INFO: Copying Microsoft_German language (Switzerland)_20.0.37060.0.app from Container
INFO: Copying Microsoft_Icelandic language (Iceland)_20.0.37060.0.app from Container
INFO: Copying Microsoft_Intelligent Cloud Base_20.0.37060.0.app from Container
INFO: Copying Microsoft_Italian language (Italy)_20.0.37060.0.app from Container
INFO: Copying Microsoft_Italian language (Switzerland)_20.0.37060.0.app from Container
INFO: Copying Microsoft_Late Payment Prediction_20.0.37060.0.app from Container
INFO: Copying Microsoft_Library Assert_20.0.37060.0.app from Container
INFO: Copying Microsoft_Library Variable Storage_20.0.37060.0.app from Container
INFO: Copying Microsoft_Microsoft Pay Payments_20.0.37060.0.app from Container
INFO: Copying Microsoft_Norwegian language (Norway)_20.0.37060.0.app from Container
INFO: Copying Microsoft_Payment Links to PayPal_20.0.37060.0.app from Container
INFO: Copying Microsoft_Performance Toolkit_20.0.37060.0.app from Container
INFO: Copying Microsoft_Permissions Mock_20.0.37060.0.app from Container
INFO: Copying Microsoft_Recommended Apps_20.0.37060.0.app from Container
INFO: Copying Microsoft_Russian language (Russia)_20.0.37060.0.app from Container
INFO: Copying Microsoft_Sales and Inventory Forecast_20.0.37060.0.app from Container
INFO: Copying Microsoft_Send To Email Printer_20.0.37060.0.app from Container
INFO: Copying Microsoft_Simplified Bank Statement Import_20.0.37060.0.app from Container
INFO: Copying Microsoft_Spanish language (Mexico)_20.0.37060.0.app from Container
INFO: Copying Microsoft_Spanish language (Spain)_20.0.37060.0.app from Container
INFO: Copying Microsoft_Swedish language (Sweden)_20.0.37060.0.app from Container
INFO: Copying Microsoft_System Application_20.0.37060.0.app from Container
INFO: Copying Microsoft_Test Runner_20.0.37060.0.app from Container
INFO: Copying Microsoft_Troubleshoot FA Ledger Entries_20.0.37060.0.app from Container
INFO: Copying Microsoft_Universal Print Integration_20.0.37060.0.app from Container
INFO: Copying Microsoft_WorldPay Payments Standard_20.0.37060.0.app from Container
INFO: Copying Microsoft__Exclude_AnonymizedDataSharing__20.0.37060.0.app from Container
INFO: Copying Microsoft__Exclude_APIV1__20.0.37060.0.app from Container
INFO: Copying Microsoft__Exclude_APIV2__20.0.37060.0.app from Container
INFO: Copying Microsoft__Exclude_Bank Deposits_20.0.37060.0.app from Container
INFO: Copying Microsoft__Exclude_ClientAddIns__20.0.37060.0.app from Container
INFO: Copying Microsoft__Exclude_Email Logging Using Graph API_20.0.37060.0.app from Container
INFO: Copying Microsoft__Exclude_Microsoft Dynamics 365 - SmartList_20.0.37060.0.app from Container
INFO: Copying Microsoft__Exclude_PlanConfiguration__20.0.37060.0.app from Container
INFO: Copying Microsoft__Exclude_ReportLayouts_20.0.37060.0.app from Container
INFO: Copying Microsoft__Exclude_SyncBaseApp__20.0.37060.0.app from Container
WARNING: You have to specify AuthContext and Environment if you are compiling in a filesOnly container in order to download dependencies
INFO: Compiling...
INFO: .\alc.exe /project:"C:\ProgramData\BcContainerHelper\c89143d4-55cf-48c6-9022-de0886775705" /packagecachepath:"C:\ProgramData\BcContainerHelper\3b3338ab-317e-452b-86e3-82238d07eaa1" /out:"C:\ProgramData\BcContainerHelper\c89143d4-55cf-48c6-9022-de0886775705\Default publisher_BusinessChartBugDemo_2.0.0.0.app" /GenerateReportLayout- /analyzer:C:\build\vsix\extension\bin\Analyzers\Microsoft.Dynamics.Nav.AppSourceCop.dll /ruleset:C:\ProgramData\BcContainerHelper\c89143d4-55cf-48c6-9022-de0886775705\ruleset.json /assemblyprobingpaths:"C:\Program Files (x86)\Microsoft Dynamics NAV\200\RoleTailored Client","C:\Program Files\Microsoft Dynamics NAV\200\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 9.0.8.63666
Copyright (C) Microsoft Corporation. All rights reserved

C:\ProgramData\BcContainerHelper\c89143d4-55cf-48c6-9022-de0886775705\app.json(17,5): warning AL0667: 'Extension' is being deprecated in the versions: '4.0' or greater. The Extension compilation target is being deprecated. Use Cloud instead. This warning will become an error in a future release.
C:\ProgramData\BcContainerHelper\c89143d4-55cf-48c6-9022-de0886775705\app.json(10,5): warning AL0667: 'showMyCode' is being deprecated in the versions: '8.0' or greater. This property is being deprecated in favor of 'resourceExposurePolicy'. This warning will become an error in a future release.
Compilation started for project 'BusinessChartBugDemo' containing '1' files at '13:49:33.136'.

C:\ProgramData\BcContainerHelper\c89143d4-55cf-48c6-9022-de0886775705\app.json(1,1): warning AS0092: The app.json file must specify an Azure Application Insights resource with the property 'applicationInsightsConnectionString' for monitoring operations related to this extension. See https://docs.microsoft.com/dynamics365/business-central/dev-itpro/administration/telemetry-overview for additional information.
C:\ProgramData\BcContainerHelper\c89143d4-55cf-48c6-9022-de0886775705\src\HelloWorld.al(10,21): error AS0026: The type or subtype of 'bct' has been modified from '__MissingTypeSymbol__' to 'Enum "Business Chart Type"'. This is not allowed in events and external procedures because it will break dependent extensions.

Compilation ended at '13:49:40.118'.

App generation failed with exit code 1
PS C:\WINDOWS\system32> TerminatingError(): "App generation failed with exit code 1"
Compile-AppInBcContainer Telemetry Correlation Id: 6d222b0c-a18d-4a46-8abf-3fb14344e800
PS C:\WINDOWS\system32> TerminatingError(): "App generation failed with exit code 1"
>> TerminatingError(): "App generation failed with exit code 1"
ERROR App generation failed with exit code 1
Ignoring warnings
Ignoring infos
INFO: Copy C:\ProgramData\BcContainerHelper\060ef0f8-cd5c-4377-b403-890b713ea290\Default publisher_BusinessChartBugDemo_2.0.0.0.app to C:\ProgramData\BcContainerHelper\3b3338ab-317e-452b-86e3-82238d07eaa1

Running AppSourceCop took 29 seconds

  _____                           _                _____            _        _                 
 |  __ \                         (_)              / ____|          | |      (_)                
 | |__) |___ _ __ ___   _____   ___ _ __   __ _  | |     ___  _ __ | |_ __ _ _ _ __   ___ _ __ 
 |  _  // _ \ '_ ` _ \ / _ \ \ / / | '_ \ / _` | | |    / _ \| '_ \| __/ _` | | '_ \ / _ \ '__|
 | | \ \  __/ | | | | | (_) \ V /| | | | | (_| | | |____ (_) | | | | |_ (_| | | | | |  __/ |   
 |_|  \_\___|_| |_| |_|\___/ \_/ |_|_| |_|\__, |  \_____\___/|_| |_|\__\__,_|_|_| |_|\___|_|   
                                           __/ |                                               
                                          |___/
Removing container bcserver
Removing bcserver from container hosts file
Removing bcserver-* from container hosts file
Removing C:\ProgramData\BcContainerHelper\Extensions\bcserver

Removing container took 2 seconds

AL Validation finished in 121 seconds
 __      __   _ _     _       _   _               _____                _ _       
 \ \    / /  | (_)   | |     | | (_)             |  __ \              | | |      
  \ \  / /_ _| |_  __| | __ _| |_ _  ___  _ __   | |__) |___ ___ _   _| | |_ ___ 
   \ \/ / _` | | |/ _` |/ _` | __| |/ _ \| '_ \  |  _  // _ \ __| | | | | __/ __|
    \  / (_| | | | (_| | (_| | |_| | (_) | | | | | | \ \  __\__ \ |_| | | |_\__ \
     \/ \__,_|_|_|\__,_|\__,_|\__|_|\___/|_| |_| |_|  \_\___|___/\__,_|_|\__|___/
2 errors found in Default publisher_BusinessChartBugDemo_2.0.0.0.app on https://bcinsider.azureedge.net/sandbox/20.0.37060.0/de:
src\HelloWorld.al(10,21): error AS0026: The type or subtype of 'bct' has been modified from '__MissingTypeSymbol__' to 'Enum "Business Chart Type"'. This is not allowed in events and external procedures because it will break dependent extensions.
App generation failed with exit code 1

  _____                          ___      __   _ _     _       _   _               ______    _ _                
 |  __ \                   /\   | \ \    / /  | (_)   | |     | | (_)             |  ____|  (_) |               
 | |__) |   _ _ __ ______ /  \  | |\ \  / /_ _| |_  __| | __ _| |_ _  ___  _ __   | |__ __ _ _| |_   _ _ __ ___ 
 |  _  / | | | '_ \______/ /\ \ | | \ \/ / _` | | |/ _` |/ _` | __| |/ _ \| '_ \  |  __/ _` | | | | | | '__/ _ \
 | | \ \ |_| | | | |    / ____ \| |  \  / (_| | | | (_| | (_| | |_| | (_) | | | | | | | (_| | | | |_| | | |  __/
 |_|  \_\__,_|_| |_|   /_/    \_\_|   \/ \__,_|_|_|\__,_|\__,_|\__|_|\___/|_| |_| |_|  \__,_|_|_|\__,_|_|  \___|
2 errors found in Default publisher_BusinessChartBugDemo_2.0.0.0.app on https://bcinsider.azureedge.net/sandbox/20.0.37060.0/de:
src\HelloWorld.al(10,21): error AS0026: The type or subtype of 'bct' has been modified from '__MissingTypeSymbol__' to 'Enum "Business Chart Type"'. This is not allowed in events and external procedures because it will break dependent extensions.
App generation failed with exit code 1

Additional context

  • does it happen all the time?
    • yes
  • did it use to work?
    • no
@freddydk
Copy link
Contributor

I can definitely repro this.
I will talk to Quentin to figure out why this should be needed
All packages are downloaded to the packageCachePath - which I think should work.

@freddydk
Copy link
Contributor

freddydk commented May 6, 2023

Going through all issues, stumbling over this one - was this problem ever resolved?

@ChrisBlankDe
Copy link
Contributor Author

the underlying problem no longer exists. thus, this problem can also no longer be reproduced.
I think we can close the ticket and just hope that msft does not move objects from one app to another again. :)

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