web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

Extension compilation failed error AL1024: A package with Publisher xxx, name, and a version compatible with '14.1.0.20191114' could not be loaded.

(0) ShareShare
ReportReport
Posted on by 5

Hi,

I try to run GET-NAVAPPRUNTIMEPACKAGE for an Extension in BC14 with a dependency to another published Base Extension.

        {
        "appId""b477b376-a9c8-47fc-b1ce-9999882c1643",
        "name""yyy"
        "publisher""xxx"
        "version""14.1.0.20191114"
        }

In VS Code the modification of the Base Extension are available and I can publish it without any Problems.

But when I try to run GET-NAVAPPRUNTIMEPACKAGE the following error appears:

"Extension compilation failed error AL1024: A package with Publisher xxx, Name yyy, and a version compatible with '14.1.0.20191114' could not be loaded.
(16,16): error AL0271: The action 'ZZZ' is not found in the target"

I check all versions but they seems to be correct.

Any idea what I am doing wrong?

Many thanks

Johannes

I have the same question (0)
  • Suggested answer
    Stefano Demiliani Profile Picture
    37,172 Most Valuable Professional on at

    Do you have the downloaded symbols for the two extensions?

  • Johannes B. Profile Picture
    5 on at

    Hi Stefano,

    what do you mean exactly?

    In VS Code I can download Symbols for the base extenstion with Name yyy. In VS Code I can see the modifications of this Extension and can work with them. A publish via VS Code works. Only GET-NAVAPPRUNTIMEPACKAGE outside of VS Code doesn't work.

    Do I need to run download Symbols when executing GET-NAVAPPRUNTIMEPACKAGE somehow?

    Thanks

    Johannes

  • Suggested answer
    Stefano Demiliani Profile Picture
    37,172 Most Valuable Professional on at

    No. If you have symbols previously downloaded and you can correctly compile from VS Code and obtaining the .app file, you should be able to execute that command. Can you post the exact error message you have?

  • Johannes B. Profile Picture
    5 on at

    Hi Stefano,

    I have created a very simple example with to extensions:

    1. HelloWorld wihtout dependencies.

    2. HelloWorld2 with a dependency to HelloWorld

     "dependencies": [

       {

         "appId": "ddfb9faf-9388-4b02-a30c-e054fb24df3b",

         "publisher": "Default publisher",

         "name": "HelloWorld",

         "version": "1.0.0.0"

       }

    I could publish both Extensions via VS Code without any Problems:

    pastedimage1582707678966v1.png

    When running GET-NAVAPPRUNTIMEPACKAGE I get the following error:

    "Extension compilation failed

    error AL1024: A package with publisher 'Default publisher', name 'HelloWorld', and a version compatible with '1.0.0.0' could not be loaded."

    Thanks

    Johannes

  • Johannes B. Profile Picture
    5 on at

    I found a similar issue.

    github.com/.../5286

    I will try to add the tenant to GET-NAVAPPRUNTIMEPACKAGE

  • Suggested answer
    Stefano Demiliani Profile Picture
    37,172 Most Valuable Professional on at

    I'll test later because I'm out of office now.

    Let me know if tenant id (or publishing the extensions with Powershell) will solve.

  • Johannes B. Profile Picture
    5 on at

    The error already occurs if publishing with PowerShell.

    But it works to run GET-NAVAPPRUNTIMEPACKAGE with Parameter tenant. :-)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 626 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 425 Super User 2026 Season 2

#3
Grigorios Mavrogeorgis Profile Picture

Grigorios Mavrogeorgis 384 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans