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
I removed the missing references Microsoft.Expression.Interactions AND System.Windows.Interactivity. Then I installed Nuget package Microsoft.SDK.Expression.Blend by Hansan Pringle. This is installed the missing references.
I had the same problem. What I did was:
Microsoft.Expression.Interactions
and
System.Windows.Interactivity
from the project in Visual Studio while keeping the xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity"
namespace.Microsoft.Expression.Interactions
and
System.Windows.Interactivity
back in Blend (in my case it was
4.5).