A community member has associated this post with a similar question:
Use AsyncPackage to load native c++ VSPackages in the background

Only moderators can edit this content.

VSIX extension in C++

Kamlesh Mishra 6 Reputation points
2023-03-31T09:39:02.36+00:00

Hello

We have an VS extension package written on C++. Recently, we have been notified that Visual Studio 2019 is going to stop supporting packages that use synchronous loading and encourages users to use AsyncPackage method in their extensions.

Can you share some examples or analogue for the "IAsyncLoadablePackageInitialize" and "IAsyncServiceProvider" in C++. I got a reference of the above from "https://learn.microsoft.com/en-us/dotnet/api/microsoft.visualstudio.shell.interop.iasyncloadablepackageinitialize?view=visualstudiosdk-2015"

Visual Studio Extensions
Visual Studio Extensions
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Extensions: A program or program module that adds functionality to or extends the effectiveness of a program.
171 questions
0 comments No comments
{count} votes