我在 VS 2013 中创建了一个 WPF 项目。升级到 VS 2015 后,设计器中从 Blend SDK 派生的类型上显示此错误:
the type from assembly is built with an older version of blend sdk and is not supported in a windows presentation foundation 4 project
最佳答案
以管理员身份运行命令提示符
将目录更改为 Blend SDK:
/li>cd C:\Program Files (x86)\Microsoft SDKs\Expression\Blend\.NETFramework\v4.5\Libraries\
注册 DLL:
gacutil -i System.Windows.Interactivity.dll
重新启动 Visual Studio
关于c# - assembly 中的类型是使用旧版本的 blend sdk 构建的,在 Windows presentation Foundation 4 项目中不受支持,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32024034/