If you are using async/await I suppose your are on Framework 4.5 (unless you are using this package: NuGet Gallery | Microsoft Async 1.0.168). If I'm not mistaken PDM is still on 4.0 framework so this might be the reason. You may switch to BackgroundWorker or Threading to implement async operations in PDM add-in.