Skip to main content

Notifications

Announcements

No record found.

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

Speedup extension deployment

Posted on by 210

Hi 

  when i deploy a extension with VSC, it can take lot of time (several minutes), specially with 'big' customers (about 500 .al files, 50 GB size database)

So it's hard to develop in these conditions.

What can speed up deployement (aside from using bigger servers...) ?

(compilation is fast)

  • Suggested answer
    Govinda Kumar Profile Picture
    Govinda Kumar 2,203 Super User 2024 Season 1 on at
    RE: Speedup extension deployment

    Hi,

    One thing you can try is breaking up your extension into many as NAV_with_Narang suggested. Beside that you can try optimize your code by using best practices, making your .al files smaller, and using less objects and dependencies in your extension which I think can also speed up deployment

    Regards

  • Suggested answer
    NAV_with_Narang Profile Picture
    NAV_with_Narang 2,236 Super User 2024 Season 1 on at
    RE: Speedup extension deployment

    Instead of having one monolithic giant extension, you can divide it into maybe 2 extensions or more. There have been numerous discussions on this and I think you can reference 1 extension from another quite easily. Some blogs for your reference

    learn.microsoft.com/.../devenv-work-workspace-projects-references

    demiliani.com/.../

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans