如何使用 System.Windows.Interactivity windows phone 8.1
How to use System.Windows.Interactivity windows phone 8.1
我已经按照 MVVM 模式为 windows phone 8.1 创建了一个 wpf C# 项目。
我想安装 System.Windows.Interactivity dll,这样我就可以使用事件触发器和 EventToCommand 等等。
问题是,一旦我在我的项目中引用 dll,我就收到一条错误消息:
Unable to find the type System.Windows.DependencyObjectCollection`1 in system.windows.dll module
我从 :
获得了 DLL
C:\Program Files (x86)\Microsoft SDKs\Expression\Blend\Windows Phone\v8.0\Libraries
我认为存在不兼容性,但是当我在互联网上查看时,我可以看到有些人使用该库,所以我添加它时可能做错了..
不是很懂
感谢您的阅读和帮助,
纪尧姆。
兼容的 v8.1 System.Windows.Interactivity
与 Windows Phone SDK 一起分发。如果我没记错的话,它应该在通过转到 Assemblies > Extensions 添加引用时显示,但如果没有,请查看
C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\ExtensionSDKs\BehaviorsXamlSDK*
我已经按照 MVVM 模式为 windows phone 8.1 创建了一个 wpf C# 项目。
我想安装 System.Windows.Interactivity dll,这样我就可以使用事件触发器和 EventToCommand 等等。
问题是,一旦我在我的项目中引用 dll,我就收到一条错误消息:
Unable to find the type System.Windows.DependencyObjectCollection`1 in system.windows.dll module
我从 :
获得了 DLLC:\Program Files (x86)\Microsoft SDKs\Expression\Blend\Windows Phone\v8.0\Libraries
我认为存在不兼容性,但是当我在互联网上查看时,我可以看到有些人使用该库,所以我添加它时可能做错了..
不是很懂
感谢您的阅读和帮助,
纪尧姆。
兼容的 v8.1 System.Windows.Interactivity
与 Windows Phone SDK 一起分发。如果我没记错的话,它应该在通过转到 Assemblies > Extensions 添加引用时显示,但如果没有,请查看
C:\Program Files (x86)\Microsoft SDKs\WindowsPhoneApp\v8.1\ExtensionSDKs\BehaviorsXamlSDK*