Open StijnBt opened 1 month ago
As you see, it takes v24 because you're doing the check outside of docker, so ALOps doesn't know which version you're building against.
We are including a global variable for you to be able to overrule this. The idea is you'll be able to set this in a pipeline (just create is a variable of your pipeline, or include it in your variable group) so your steps will prefer that version to use within the pipeline.
So - solutions is coming up!
Released in v1.465. Can you confirm?
2024-06-19T19:05:42.7065019Z ##[section]Starting: Check License AT
2024-06-19T19:05:42.7180058Z ==============================================================================
2024-06-19T19:05:42.7180321Z Task : ALOps App License Check
2024-06-19T19:05:42.7180524Z Description : Check App files agains a license
2024-06-19T19:05:42.7180719Z Version : 1.465.6167
2024-06-19T19:05:42.7180879Z Author : Hodor
2024-06-19T19:05:42.7181075Z Help : Check App files agains a license.
2024-06-19T19:05:42.7181308Z ==============================================================================
2024-06-19T19:05:43.5186777Z *** Validate configuration
2024-06-19T19:05:43.5706518Z *** Task Inputs:
2024-06-19T19:05:43.5768769Z
2024-06-19T19:05:43.5888501Z name value
2024-06-19T19:05:43.5894205Z ---- -----
2024-06-19T19:05:43.5897797Z usedocker False
2024-06-19T19:05:43.5900576Z fixed_tag
2024-06-19T19:05:43.5903487Z licensefile C:\Agent\_work\24\s\ISV\License\AT\7396021.bclicense
2024-06-19T19:05:43.5905861Z artifact_path C:\Agent\_work\24\a
2024-06-19T19:05:43.5908556Z artifact_filter *.app
2024-06-19T19:05:43.5911120Z artifact_include
2024-06-19T19:05:43.5913984Z artifact_exclude
2024-06-19T19:05:43.5916904Z exclude_ranges
2024-06-19T19:05:43.5919312Z exclude_tables False
2024-06-19T19:05:43.5921566Z exclude_codeunits False
2024-06-19T19:05:43.5923855Z exclude_pages False
2024-06-19T19:05:43.5926592Z exclude_reports False
2024-06-19T19:05:43.5929017Z exclude_xmlports False
2024-06-19T19:05:43.5931285Z exclude_queries False
2024-06-19T19:05:43.5933754Z warning_only False
2024-06-19T19:05:43.5937036Z pwsh False
2024-06-19T19:05:43.5937507Z
2024-06-19T19:05:43.5961211Z
2024-06-19T19:05:43.5970056Z
2024-06-19T19:05:43.6134768Z True
2024-06-19T19:05:43.6320234Z *** For documentation, please visit : https://www.alops.be/documentation
2024-06-19T19:05:43.6325315Z
2024-06-19T19:05:43.8299240Z *** ALOps License:
2024-06-19T19:05:43.8324255Z * Licensed To: Broad Horizon Belgie (Per Run License)
2024-06-19T19:05:43.8328945Z
2024-06-19T19:05:43.8448942Z *** Imported required PS-Functions
2024-06-19T19:05:43.9831891Z *** Parse Task Parameters
2024-06-19T19:05:44.0408984Z *** Load Management DLL's
2024-06-19T19:05:44.0541435Z *** Import NAV/BC Management DLL's [True]
2024-06-19T19:05:44.0608349Z *** ServiceTier not specified, loading default assemblies.
2024-06-19T19:05:44.0704607Z *** Default Assemblies not found. Load via BC-Artifacts
2024-06-19T19:05:44.0804208Z *** Install/Update BCContainerHelper [https://github.com/microsoft/navcontainerhelper]
2024-06-19T19:05:44.0850701Z *** Check BcContainerHelper
2024-06-19T19:05:44.3777114Z *** Load BcContainerHelper
2024-06-19T19:05:44.4717948Z BcContainerHelper version 6.0.15
2024-06-19T19:05:44.7563009Z BC.HelperFunctions emits usage statistics telemetry to Microsoft
2024-06-19T19:05:44.8862214Z Running on Windows, PowerShell 5.1.17763.5696
2024-06-19T19:05:47.9067231Z
2024-06-19T19:05:47.9068067Z ModuleType Version Name ExportedCommands
2024-06-19T19:05:47.9068798Z ---------- ------- ---- ----------------
2024-06-19T19:05:47.9071353Z Script 6.0.15 BcContainerHelper {Add-FontsToBcContainer, Add-GitToAlProjectFolder, AddTele...
2024-06-19T19:05:47.9071560Z
2024-06-19T19:05:47.9071639Z
2024-06-19T19:05:47.9071724Z
2024-06-19T19:05:47.9073747Z
2024-06-19T19:05:47.9110901Z ##[command]"Get-BCArtifactUrl"
2024-06-19T19:05:47.9112047Z Name Value
2024-06-19T19:05:47.9113028Z ---- -----
2024-06-19T19:05:47.9113456Z select Weekly
2024-06-19T19:05:47.9113866Z type Sandbox
2024-06-19T19:05:47.9114290Z country W1
2024-06-19T19:05:47.9114489Z
2024-06-19T19:05:47.9114564Z
2024-06-19T19:05:47.9114825Z -select: Weekly -type: Sandbox -country: W1
2024-06-19T19:06:08.8751145Z *** Platform: C:\bcartifacts.cache\sandbox\24.2.20227.20808\platform
2024-06-19T19:06:08.8783223Z *** Localisation: C:\bcartifacts.cache\sandbox\24.2.20227.20808\w1
2024-06-19T19:06:09.0229976Z *** BC Management DLL: C:\bcartifacts.cache\sandbox\24.2.20227.20808\platform\ServiceTier\program files\Microsoft Dynamics NAV\240\Service\Management\Microsoft.Dynamics.Nav.Management.dll
2024-06-19T19:06:09.0322219Z *** Selected module: [C:\bcartifacts.cache\sandbox\24.2.20227.20808\platform\ServiceTier\program files\Microsoft Dynamics NAV\240\Service\Management\Microsoft.Dynamics.Nav.Management.dll]
2024-06-19T19:06:09.0333239Z *** Loading module: [C:\bcartifacts.cache\sandbox\24.2.20227.20808\platform\ServiceTier\program files\Microsoft Dynamics NAV\240\Service\Management\Microsoft.Dynamics.Nav.Management.dll]
2024-06-19T19:06:09.1064537Z *** Module [Microsoft.Dynamics.Nav.Ncl.dll] not available
2024-06-19T19:06:09.1099408Z *** BC Types DLL: C:\bcartifacts.cache\sandbox\24.2.20227.20808\platform\ServiceTier\program files\Microsoft Dynamics NAV\240\Service\Management\Microsoft.Dynamics.Nav.Types.dll
2024-06-19T19:06:09.1117661Z *** Selected module: [C:\bcartifacts.cache\sandbox\24.2.20227.20808\platform\ServiceTier\program files\Microsoft Dynamics NAV\240\Service\Management\Microsoft.Dynamics.Nav.Types.dll]
2024-06-19T19:06:09.1128299Z *** Loading module: [C:\bcartifacts.cache\sandbox\24.2.20227.20808\platform\ServiceTier\program files\Microsoft Dynamics NAV\240\Service\Management\Microsoft.Dynamics.Nav.Types.dll]
2024-06-19T19:06:09.3603295Z ##[error]Could not load file or assembly 'System.Reflection.DispatchProxy, Version=4.0.6.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
2024-06-19T19:06:09.4046581Z ##[section]Finishing: Check License AT
Still appearing in 1.465.6167
Describe the bug The ALOps App License Check fails on System.Reflection.DispatchProxy error for BC18.
the used yaml
the output
Expected behavior It works as before :)
Screenshots
Additional context It seems this started happening begin may.