Microsoft to Nix Synchronous Auto Loading of Visual Studio Extensions

Microsoft will phase out the synchronous auto loading of Visual Studio extensions, along with delaying async auto loading until startup is finished.

The company said it's making the changes -- in response to developer feedback -- to improve performance, especially during IDE startup and the opening of solutions.

"Changes are coming to start the process of turning off synchronous auto load support," Mads Kristensen, senior program manager on the Visual Studio Extensibility Team, said in a blog post earlier this month. "This will improve the user experience and guarantees a consistent startup and solution load experience, providing a responsive IDE."

The VS team is moving completely to asynchronous auto loading that was actually introduced in Visual Studio 2015. While noting that some extensions have switched to the async model, Kristensen bemoaned the continuing use of synchronous auto loading by some extensions, which he said are "negatively impacting the performance of Visual Studio."

So support for that option will be removed completely in an upcoming, not-yet-specified update.

Visual Studio 2017 15.8, meanwhile, will see the asynchronous background auto loading of extensions delayed until after Visual Studio startup and solution load are completed.

Before 15.8 ships, however, developers will be able to test out the new timing by enabling the new async load manager in v15.6 and v15.7 via the setting of a feature flag. Starting with v15.8 Preview 2, this feature flag will be enabled by default.

"With this feature flag enabled, Visual Studio will defer auto-loading of async, background loadable packages until startup and solution load complete and Visual Studio is idle for some time," Kristensen said. "Synchronous auto-loading packages will have no change in behavior." But, as noted, those will stop working altogether in a subsequent update.

About the Author

David Ramel is an editor and writer for Converge360.

comments powered by Disqus


  • Top 3 Blazor Extensions for Visual Studio Code

    Some developers prefer to create applications with Microsoft's open-source Blazor tooling from within the open-source, cross-platform Visual Studio Code editor. Here are the top tools in the VS Code Marketplace for those folk, as measured by the number of installations.

  • How to Invert a Machine Learning Matrix Using C#

    VSM Senior Technical Editor Dr. James McCaffrey, of Microsoft Research, explains why inverting a matrix -- one of the more common tasks in data science and machine learning -- is difficult and presents code that you can use as-is, or as a starting point for custom matrix inversion scenarios.

  • Microsoft Engineer: 'It's Time to Move OData to .NET 5'

    Microsoft engineer Sam Xu says "it’s time to move OData to .NET 5" and in a new blog post he shows how to do just that.

  • Microsoft Goes Virtual with Developer Education in Face of COVID-19

    Like many organizations that host developer educational events, Microsoft has gone virtual amid shelter-in-place directives and a surge in remote work stemming from the COVID-19 pandemic.

  • Microsoft Enhances Low-Code Power Apps

    Microsoft's nod to the low-code movement, Power Apps, has been enhanced with a bevy of new features, including mixed reality, canvas/model support in a new mobile app, UX improvements and more.

.NET Insight

Sign up for our newsletter.

Terms and Privacy Policy consent

I agree to this site's Privacy Policy.

Upcoming Events