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


I have a WPF prism application that I am making. The application is at that point where I want to be able to add EventTrigger for control so that I can call commands on the built-in visual model. However, I can not reference the correct DLL to create the project run. Currently, I am referring to Microsoft.Expression.Interactions and System.Windows.Interactivity C: \ Program Files (x86) \ Microsoft SDKs \ Expression \ Blend \ NETFramework \ v4.0 \ Library \ directory

When I run the module, I get this error:

to file or assembly Could not load 'system. Windows Interactivity, public key token = 31bf3856ad364e35 'or one of its dependencies
The system can not find the file specified.

I checked the assembly in the System.Windows.Inactactivity reflector and can see that this reference

  • mscorlib < / Li>
  • Presenter
  • Presentation Framework
  • System
  • System.Core
  • System.Xaml
  • Windows

    point to all reference 4.0 structures. I have referred everyone to the .NET reference tab, to make sure that each one has a 4.0 version. All these references are being loaded from the reference C: \ Program Files (x86) \ reference assemblies \ Microsoft \ Framework \ .NETFramework \ v4.0 directory.

    Do I need assemblies for System.Windows.Interactivity and Microsoft.Expression.Interactions work in my environment?

    For some reasons that I still can not understand, my version of the Blend SDK assembly in Prism Includes. So you should reference Microsoft. Express. Interacts.dll and System.Windows.Interactivity.dll from the Lib \ Desktop folder of Prism Distribution (assuming you are using Prism V4) instead of Blend SDK installation.

Comments

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

c# - Using Vici cool Storage with monodroid -

python - referencing a variable in another function? -