views:

215

answers:

1

Hi All,

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?

regards,

Pavan

+2  A: 

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.

Cedrik
Thanks Cedrik. I think thats probably is the reason.
rauts
Glad it helped.
Cedrik