microsoft / VSSDK-Extensibility-Samples

Samples for building your own Visual Studio extensions
http://aka.ms/extendvs
MIT License
1.22k stars 452 forks source link

Porting C++ syncronous extension to asyncronous #283

Open kamlmishvsextension opened 1 year ago

kamlmishvsextension commented 1 year ago

Installed products

Description

We have a C++ extension that uses Syncronous way to load using SetSite. Need a sample code to port it to asyncronous using "IAsyncServiceProvider" and "IAsyncLoadablePackageInitialize"

Steps to recreate

  1. Replace this
  2. text with
  3. the steps
  4. to recreate

Current behavior

Explain what it's doing and why it's wrong

Expected behavior

Explain what it should be doing after it's fixed.