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


  • Multi-Class Classification Using PyTorch: Model Accuracy

    Dr. James McCaffrey of Microsoft Research continues his four-part series on multi-class classification, designed to predict a value that can be one of three or more possible discrete values, by explaining model accuracy.

  • Python in VS Code Adds Data Viewer for Debugging

    The January 2021 update to the Python Extension for Visual Studio Code is out with a short list of new features headed by a data viewer used while debugging.

  • GitHub Ships Enterprise Server 3.0 Release Candidate

    It's described as "the biggest ever change to Enterprise Server," with improvements to Actions, Packages, mobile, security and more.

  • Attacks on .NET Apps Grow in Number, Severity, Says Security Firm

    .NET apps were found to have more serious vulnerabilities and suffer more attacks last year, according to data gathered by Contrast Labs.

Upcoming Events