the type from assembly is built with an older version of blend sdk and is not supported in a windows presentation foundation 4 project

前端 未结 8 2032
半阙折子戏
半阙折子戏 2020-12-08 07:22

I created a WPF project in VS 2013. After upgrading to VS 2015, this error showed in the designer on types derived from the Blend SDK:

the type from a

8条回答
  •  忘掉有多难
    2020-12-08 08:06

    This also could be that you are mixing different versions of System.Windows.Interactivity.dll, especially if you are getting the SDK from nuget where several different packages provide it, e.g.:

    https://www.nuget.org/packages/Expression.Blend.Sdk/ https://www.nuget.org/packages/System.Windows.Interactivity.WPF/

    In this case, you'll have to synchronize these libraries among projects.

提交回复
热议问题