Reputation: 1018
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?
Upvotes: 2
Views: 985
Reputation: 2408
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.
Upvotes: 2