I\'ve used the System.Windows.Interactivity DLL in several projects without any problem. Now in my latest project I can\'t get it to work. I always get the following error:
Remove any project reference to Microsoft.Expression.Interactions
and System.Windows.Interactivity
.
Install through Nuget the newer Microsoft.Xaml.Behaviors.Wpf, which replaces the aforementioned references, i.e. open the Package Manager console and type:
Install-Package Microsoft.Xaml.Behaviors.Wpf
ProjectName
In the Xaml-files, replace the xmlns namespaces http://schemas.microsoft.com/expression/2010/interactivity
and http://schemas.microsoft.com/expression/2010/interactions
with http://schemas.microsoft.com/xaml/behaviors