Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Suggested answer

Extension version issue on Production deployment

(1) ShareShare
ReportReport
Posted on by 149

Hi All,

Greetings of the day!

I am working on an On-Premises Business Central environment, and we have two development teams working on the same instance of BC. My team’s extension references the other team’s extension as part of the project.

Initially, during development, the other team’s extension version on the UAT server was 1.0.0.76 and we referenced this version in our work. However, when we attempted to deploy our code to production using the BC Admin Shell with the following command:

Publish-NAVApp -ServerInstance BhavnaProduction -Path "<.app file path>" -SkipVerification

We encountered issues due to version mismatches:

  • In UAT, the latest version of the other team’s extension is now 1.0.0.98.
  • In production, the version available is 1.0.0.90.
  • In our code, we still reference version 1.0.0.76.

Could anyone suggest how we can resolve this issue? The version discrepancies are blocking our production deployment, and I am currently stuck. Any guidance or suggestions would be greatly appreciated.

Thank you so much for your help!

  • Suggested answer
    Inkey Solutions Profile Picture
    Inkey Solutions 1,807 on at
    Extension version issue on Production deployment
    To resolve the version mismatch, verify that the correct version of the other team’s extension is installed in both UAT and production. Update your code to reference the production version (v1.0.0.90), then re-publish using Publish-NAVApp. Finally, coordinate with the other team to establish a versioning strategy for smoother future deployments
     
    Thanks
  • Suggested answer
    Kamal Khakhkhar Profile Picture
    Kamal Khakhkhar 303 on at
    Extension version issue on Production deployment
    Hii there,
    as per there its showing missing dependency with its version, so please check all the dependency is published or not with its required version. 
    then you can retry to publish.
     
    if you found reference, please mark it answered.
    Thank You.
    Kamal Khakhkhar
  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 75,802 Super User 2024 Season 2 on at
    Extension version issue on Production deployment
    From the error message, it seems that your dependent extensions are not installed in your production environment. Please check the Extension Management page first.
     
    Thanks.
    ZHU
     
  • gdrenteria Profile Picture
    gdrenteria 13,011 Most Valuable Professional on at
    Extension version issue on Production deployment
    Hi
    Do the different versions represent different functionality and code?
    If so, shouldn't you consider the new production version in your development? Or am I missing something?
    Best
    GR

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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,703 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,433 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans