News

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

Featured

  • GitHub Copilot for Azure Gets Preview Glitches

    This reporter, recently accepted to preview GitHub Copilot for Azure, has thus far found the tool to be, well, glitchy.

  • New .NET 9 Templates for Blazor Hybrid, .NET MAUI

    Microsoft's fifth preview of .NET 9 nods at AI development while also introducing new templates for some of the more popular project types, including Blazor Hybrid and .NET MAUI.

  • What's Next for ASP.NET Core and Blazor

    Since its inception as an intriguing experiment in leveraging WebAssembly to enable dynamic web development with C#, Blazor has evolved into a mature, fully featured framework. Integral to the ASP.NET Core ecosystem, Blazor offers developers a unique combination of server-side rendering and rich client-side interactivity.

  • Nearest Centroid Classification for Numeric Data Using C#

    Here's a complete end-to-end demo of what Dr. James McCaffrey of Microsoft Research says is arguably the simplest possible classification technique.

  • .NET MAUI in VS Code Goes GA

    Visual Studio Code's .NET MAUI workload, which evolves the former Xamarin.Forms mobile-centric framework by adding support for creating desktop applications, has reached general availability.

Subscribe on YouTube