rauts
rauts

Reputation: 1018

WPF form in Visual Studio Add-in Project

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

Answers (1)

Cédric Guillemette
Cédric Guillemette

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

Related Questions