Microsoft addresses Visual Studio extension woes

New Visual Studio extensions model would make APIs easier to discover and extensions easier to write

Microsoft addresses Visual Studio extension woes
Getty Images

Microsoft is working on a new extensibility model for its signature Visual Studio IDE, with the goals of improving the reliability of extensions and making them easier to write. Extensions are to be supported locally and in the cloud as part of the plan.

Elaborating on the effort October 28, Microsoft cited an issue in which Visual Studio would crash because of an extension. Current in-proc extensions are subject to few restrictions over how they can influence the IDE and other extensions, allowing them to corrupt the IDE if an extension crashes or experiences an error.

A big change to the extensions model is that extensions will be made out-of-proc, helping to increase isolation between external and internal extension APIs and prevent a buggy extension from causing other extensions or the IDE to crash, slow down, or hang. Designing a new out-of-proc extension model allows Microsoft to completely redesign the Visual Studio extension APIs. 

Copyright © 2020 IDG Communications, Inc.