Referencing the correct System.Windows.Interactivity dll from Prism application

前端 未结 2 1143
旧巷少年郎
旧巷少年郎 2020-12-16 17:35

I have a WPF Prism application that I\'m building. The application is to the point where I want to be able to add EventTriggers to controls so I can call commands on the u

相关标签:
2条回答
  • 2020-12-16 18:08

    For people landing on this page experiencing this problem but where the above given solution isn't working, you might have a look at: Prism assembly reference failure: System.Windows.Interactivity

    0 讨论(0)
  • 2020-12-16 18:11

    For some reason that I still cannot fathom, Prism includes it's own version of the Blend SDK assemblies. So you should reference Microsoft.Expression.Interactions.dll and System.Windows.Interactivity.dll from the Lib\Desktop folder of the Prism distribution (assuming you're using Prism v4) rather than from the Blend SDK installation.

    0 讨论(0)
提交回复
热议问题