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

前端 未结 2 1147
旧巷少年郎
旧巷少年郎 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: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.

提交回复
热议问题