Upgrade v17 -> v17.2 Publish-NAVApp : Extension compilation failed

ArmondsArmonds Member Posts: 63
Bit stuck with v17 upgrade to v17.2

PS C:\Windows\system32> Get-NAVAppInfo -ServerInstance BC170 -SymbolsOnly

Id : 8874ed3a-0643-4247-9ced-7a7002f7135d
Name : System
Version : 17.0.19353.19730
Publisher : Microsoft
ExtensionType : ModernDev
Scope : Global

When publishing Base App:
Publish-NAVApp -ServerInstance BC170 -Path "C:\Install\Dynamics.365.BC.19735.W1.DVD\Applications\Application\Source\Microsoft_Application.app"

getting error:
Publish-NAVApp : Extension compilation failed
error AL1024: A package with publisher 'Microsoft', name 'System Application', and a version compatible with '17.2.0.0' could not be loaded.
Symbols for the requested app System Application by Microsoft 17.2.0.0 could not be found in the database
error AL1024: A package with publisher 'Microsoft', name 'Base Application', and a version compatible with '17.2.0.0' could not be loaded. Symbols
for the requested app Base Application by Microsoft 17.2.0.0 could not be found in the database

Best Answer

  • ArmondsArmonds Member Posts: 63
    Accepted Answer
    yes,
    ..\Applications\Application\Source\Microsoft_Application.app isn't base app, so before publishing Microsoft_Application.app you obviously must publish system and base apps :)

    ..\Applications\System Application\Source\Microsoft_System Application.app

    and

    ..\Applications\BaseApp\Source\Microsoft_Base Application.app

Answers

  • FirasFiras Member Posts: 20
    Hello Armonds

    i am facing the same error , did you get theproblem solvd?

    Best rgs.
    Firas

    Ms. dynamics NAV / Dynamics 365 Business Central Development Consultant
  • ArmondsArmonds Member Posts: 63
    Accepted Answer
    yes,
    ..\Applications\Application\Source\Microsoft_Application.app isn't base app, so before publishing Microsoft_Application.app you obviously must publish system and base apps :)

    ..\Applications\System Application\Source\Microsoft_System Application.app

    and

    ..\Applications\BaseApp\Source\Microsoft_Base Application.app

  • FirasFiras Member Posts: 20
    edited 2021-03-11
    -
    Firas

    Ms. dynamics NAV / Dynamics 365 Business Central Development Consultant
Sign In or Register to comment.