I coded an addin for EPDM in C#.
In this addin, there is a feature pretty long. So I' would like display the feature progress.
To report the progressing, I use IProgress. The long task run async and the UI still responsive.
If I do a sandalone programme, referenced to PDM, it works like a charm. But I run it via IEdmAddIn5. It doesn't.
So before to go deeper, is it possible to run async stuff with pdm addin ?
Thank you
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.