VS 2012 WPF

Oct 13, 2012 at 5:59 PM


I'm starting with MVVMLight right now and i have the folowing problem in VS 2012:

When i create a WPF project and right after adding MVVM light with Nuget i'm losting the behaviors in expression blend... Just created an empty project added the MVVMLight and in blend i only have 2 behaviors. If i add the behavior by hand in xaml VS gives me the error:

"The type 'DataStateBehavior' from assembly 'Microsoft.Expression.Interactions' is built with an older version of the Blend SDK, and is not supported in a Windows Presentation Framework 4 project."

If i dont add the MVVMLight the error does not occur.

I hope you can help me,

Thanks in advance

Oct 15, 2012 at 11:58 PM

This only happens when i create WPF application with .NET framework 4.5... Anyone?

Oct 21, 2012 at 8:06 PM

Good news, I fixed it by creating a specific version for .NET 4.5. I am in the process of updating the Nuget package, will report when it is ready.