Question

I am building a visual Studio 2008 add-in. That Add-in needs a UI for user inputs. I was planning to use WPF for that UI. But i am not able to find a way to make that working. Is there any way to have a WPF form in Visual-studio add-in project?

Was it helpful?

Solution

I think it crashes because WPF is MTA and Addins are STA. MTA vs STA more explanation available here...

Try with winforms to confirm this hypothesis.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top