Visual Studio 2022 SDK removed APIs
Applies to: Visual Studio Visual Studio for Mac Visual Studio Code
The APIs below have been removed from the Visual Studio SDK and can no longer be used, please see each section for details on how to update your code.
- Asynchronous solution load and lightweight solution load
- Open from source safe
- New WPF XAML Designer for .NET Framework
IVsImageService is being removed in Visual Studio 2022. All users of
IVsImageService should move to
If you use
IVsImageService, replace calls to its methods with calls to equivalent methods on
|IVsImageService Method||Equivalent IVsImageService2 Method|
IVsImageService’s Add and Get methods referred to custom images by name (a string), rather than a moniker. It is preferable that you switch your code to use only monikers to refer to custom images, but if this proves impractical
IVsImageService2 has a couple of methods that will allow you to associate a name with a moniker:
Using those two methods, you can continue to reference images by name.
IBlockContextProvider and related types are being removed in Visual Studio 2022. All users of
IBlockContextProvider should move to
IBlockContextProvider should use
IStructureContextSourceProvider instead (documentation).
IToolTipProvider and related types are being removed in Visual Studio 2022. All users of
IToolTipProvider should move to
IToolTipProvider should use
IToolTipService instead (documentation).
IVsTextScanner and IVsFullTextScanner
IVsFullTextScanner are being removed in Visual Studio 2022. All users of
IVsFullTextScanner should move to
IVsFullTextScanner should use
IVsTextLines instead (documentation.
Asynchronous solution load and lightweight solution load
The Asynchronous solution load (ASL) and lightweight solution load (LSL) features are being removed in Visual Studio 2022, as such the following methods are being removed:
IVsSolutionLoadManagerSupport- Entire interface
IVsSolutionLoadManager- Entire interface
IVsSccManager3- Entire interface
IVsAsynchronousProjectCreate- Entire interface
IVsAsynchronousProjectCreateUI- Entire interface
Enums, properties, and UI contexts
IVsDummy is being removed in Visual Studio 2022 and will not be replaced.
None. But, it should have no impact as the API did nothing.
Microsoft.VisualStudio.Shell.Task class has been renamed to
so as to not conflict with the very popular
Open from source safe
Support for opening a solution from source safe is being removed, as such the following methods, events, and, constants are being removed.
IVsSCCProvider3- Entire interface
New WPF XAML Designer for .NET Framework
The current WPF XAML Designer for .NET Framework has been deprecated and will be replaced with a new WPF XAML Designer for .NET Framework, based on the same architecture used for the WPF XAML Designer for .NET (.NET Core). This also means that the WPF .NET Framework control extensibility model based on .design.dll and Microsoft.Windows.Design.Extensibility is no longer supported. The new WPF XAML Designer for .NET Framework will provide the same extensibility model as the WPF XAML Designer for .NET (.NET Core). If you already created a .designtools.dll extension for .NET (.NET Core), that same extension will work for the new WPF XAML Designer for .NET Framework. Please refer to the migration link below for further information about how to migrate to the new extensibility model for WPF platforms (.NET Framework and .NET Core) and UWP platforms moving forward.
Submit and view feedback for