IAsyncLoadablePackageInitialize :: initialize fails with background loading error

Kamlesh Mishra 0 Reputation points
2023-05-24T09:35:44.1166667+00:00

While porting a C++ Syncronous extension to Asyncronous for VS2019 and later versions. The class is derived from “IAsyncLoadablePackageInitialize” and “IAsyncServiceProvider” . The interfaces “initialize” and “QueryServiceAsync” have been written , but while loading the package an error is thrown in the “ActivityLog.xml”

Autoload request for package “{}” for UI context “{}” is ignored because package does not support background loading. See https://aka.ms/AA52xzw for more details.

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.
192 questions
{count} votes