Share via


Restore extensions if publishing from Visual Studio Code fails

Enabled for Public preview General availability
Admins, makers, marketers, or analysts, automatically Oct 1, 2024 Oct 1, 2024

Business value

If publishing an extension from within Visual Studio Code fails, the publishing process tries to restore previously installed extensions that the process uninstalls and unpublishes. If the process can't fully restore extensions, it shows which extensions it restored and which ones it couldn't restore. This information gives you a clearer view of the issue.

Feature details

When you deploy an extension from Visual Studio Code, you deploy a graph of installed extensions on the target environment. The deployment process uninstalls and unpublishes first-level dependent extensions so it can recompile them after deploying the extension. If deployment from Visual Studio Code fails (for example, due to a compilation issue on the server), the server ends up with an incomplete graph of installed extensions. You must manually redeploy the previously installed extensions in the correct order. With this release, Visual Studio Code tries to restore the previous extension state, so you usually don't need to do any manual work.

Geographic areas

Visit the Explore Feature Geography report for Microsoft Azure areas where this feature is planned or available.

Language availability

Visit the Explore Feature Language report for information on this feature's availability.

Tell us what you think

Help us improve Dynamics 365 Business Central by discussing ideas, providing suggestions, and giving feedback. Use the forum at https://aka.ms/bcideas.

Additional resources

Recovery from publishing failures (docs)