From 663e9c14faf7a7941997097368a2a11208413e65 Mon Sep 17 00:00:00 2001 From: Thaddeus Loke Date: Wed, 24 Jun 2026 15:15:36 +0900 Subject: [PATCH] Add System Application dependency to Test Framework apps Declare an explicit dependency on System Application (63ca2fa4) in the Test Framework library apps (Any, Library Assert, Test Runner, Library Variable Storage). Previously these apps declared no application-level dependency (platform only), so the dependency resolver treated them as compatible across application builds. Tying them to System Application version-gates them to the application, modelling the dependency the same way other first-party apps (e.g. Business Foundation) do. No circular dependency is introduced: the System Application umbrella app declares no dependencies and none of its 111 runtime sub-apps depend on the Test Framework; only the separate System Application Test/Test Library packages consume it, and they sit above the framework in the graph. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- src/Tools/Test Framework/Test Libraries/Any/app.json | 9 ++++++++- src/Tools/Test Framework/Test Libraries/Assert/app.json | 9 ++++++++- .../Test Libraries/Variable Storage/app.json | 6 ++++++ src/Tools/Test Framework/Test Runner/app.json | 9 ++++++++- 4 files changed, 30 insertions(+), 3 deletions(-) diff --git a/src/Tools/Test Framework/Test Libraries/Any/app.json b/src/Tools/Test Framework/Test Libraries/Any/app.json index 69e6a79687..89671d5116 100644 --- a/src/Tools/Test Framework/Test Libraries/Any/app.json +++ b/src/Tools/Test Framework/Test Libraries/Any/app.json @@ -11,7 +11,14 @@ "url": "https://go.microsoft.com/fwlink/?LinkId=724011", "contextSensitiveHelpUrl": "https://learn.microsoft.com/dynamics365/business-central/dev-itpro/developer/devenv-testing-application/", "logo": "ExtensionLogo.png", - "dependencies": [], + "dependencies": [ + { + "id": "63ca2fa4-4f03-4f2b-a480-172fef340d3f", + "name": "System Application", + "publisher": "Microsoft", + "version": "29.0.0.0" + } + ], "screenshots": [], "platform": "29.0.0.0", "idRanges": [ diff --git a/src/Tools/Test Framework/Test Libraries/Assert/app.json b/src/Tools/Test Framework/Test Libraries/Assert/app.json index 686139699e..3b5eac5ca2 100644 --- a/src/Tools/Test Framework/Test Libraries/Assert/app.json +++ b/src/Tools/Test Framework/Test Libraries/Assert/app.json @@ -11,7 +11,14 @@ "url": "https://go.microsoft.com/fwlink/?LinkId=724011", "contextSensitiveHelpUrl": "https://learn.microsoft.com/dynamics365/business-central/dev-itpro/developer/devenv-testing-application/", "logo": "ExtensionLogo.png", - "dependencies": [], + "dependencies": [ + { + "id": "63ca2fa4-4f03-4f2b-a480-172fef340d3f", + "name": "System Application", + "publisher": "Microsoft", + "version": "29.0.0.0" + } + ], "screenshots": [], "platform": "29.0.0.0", "idRanges": [ diff --git a/src/Tools/Test Framework/Test Libraries/Variable Storage/app.json b/src/Tools/Test Framework/Test Libraries/Variable Storage/app.json index 7b5bf7b6a3..c2dbe7a3b8 100644 --- a/src/Tools/Test Framework/Test Libraries/Variable Storage/app.json +++ b/src/Tools/Test Framework/Test Libraries/Variable Storage/app.json @@ -12,6 +12,12 @@ "contextSensitiveHelpUrl": "https://learn.microsoft.com/dynamics365/business-central/dev-itpro/developer/devenv-testing-application/", "logo": "ExtensionLogo.png", "dependencies": [ + { + "id": "63ca2fa4-4f03-4f2b-a480-172fef340d3f", + "name": "System Application", + "publisher": "Microsoft", + "version": "29.0.0.0" + }, { "id": "dd0be2ea-f733-4d65-bb34-a28f4624fb14", "publisher": "Microsoft", diff --git a/src/Tools/Test Framework/Test Runner/app.json b/src/Tools/Test Framework/Test Runner/app.json index 22cf0ed891..f580d73254 100644 --- a/src/Tools/Test Framework/Test Runner/app.json +++ b/src/Tools/Test Framework/Test Runner/app.json @@ -11,7 +11,14 @@ "url": "https://go.microsoft.com/fwlink/?LinkId=724011", "contextSensitiveHelpUrl": "https://learn.microsoft.com/dynamics365/business-central/dev-itpro/developer/devenv-testing-application/", "logo": "ExtensionLogo.png", - "dependencies": [], + "dependencies": [ + { + "id": "63ca2fa4-4f03-4f2b-a480-172fef340d3f", + "name": "System Application", + "publisher": "Microsoft", + "version": "29.0.0.0" + } + ], "screenshots": [], "platform": "29.0.0.0", "idRanges": [