Silverlight 4 中缺少 System.Windows.Interactivity - mvvm light 教程
我正在尝试遵循此 MVVM Light Toolkit V3 Alpha 2:EventToCommand 行为 教程。
我正在使用 vs2010 和 silverlight 4。我没有表情混合。
该教程指出
此外,您还需要 System.Windows.Interactivity.dll
我似乎没有这个:当我尝试添加引用时我看不到这个。 有人知道我应该如何获取/添加它吗?
提前致谢!
I'm trying to follow this MVVM Light Toolkit V3 Alpha 2: EventToCommand behavior tutorial.
I'm using vs2010 with silverlight 4. I dont have expression blend.
The tutorial states that
In addition, you need the System.Windows.Interactivity.dll
I don't seem to have this: I can't see this when I try to add a reference.
Anyone know how I should get / add it?
Thanks in advance!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
通常它位于此处:
C:\Program Files\Microsoft SDKs\Expression\Blend 3\Interactivity\Libraries\Silverlight\System.Windows.Interactivity.dll
但如果您没有表达式混合,那么...
如@Dan Auclair指出,您可以下载 SDK 并访问这些 dll。从 http://www 下载.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=d197f51a-de07-4edf-9cba-1f1b4a22110d
Usually it is located here:
C:\Program Files\Microsoft SDKs\Expression\Blend 3\Interactivity\Libraries\Silverlight\System.Windows.Interactivity.dll
But if you don't have expression blend then...
As @Dan Auclair points out, you can download the SDK and gain access to these dll. Download from http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=d197f51a-de07-4edf-9cba-1f1b4a22110d
刚刚注意到该 dll 包含在教程的下载 zip 中。
Just noticed that the dll is included the download zip from the tutorial.
http://www.microsoft.com /downloads/en/details.aspx?FamilyID=D197F51A-DE07-4EDF-9CBA-1F1B4A22110D
下载并安装此SDK,然后您可以在文件夹中找到此dll
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=D197F51A-DE07-4EDF-9CBA-1F1B4A22110D
download and install this SDK, then you can find this dll in the folder
对于 Silverlight 5 版本:5.0.5.0 运行时版本:v4.0.30319
我需要从此安装中获得 System.Windows.Interactivity.dll http://www.microsoft.com/en-gb/download/details.aspx?id=9503
它允许您选择安装位置,但安装完成后,它会出现在“添加引用”下的 .NET 选项卡中...
For Silverlight 5 Version: 5.0.5.0 runtime Version: v4.0.30319
I needed the System.Windows.Interactivity.dll available from this install http://www.microsoft.com/en-gb/download/details.aspx?id=9503
It lets you choose where to install it but once it had finished it came up in the .NET tab under Add References...
或者您可以只安装 Blend 4 的 60 天评估版。当您使用 MVVM light 时,非常适合使用。
Or you could just install a 60 days evaluation of blend 4. Nice to use when you are using MVVM light.