在我的第一个silverlight应用程序中获取引用错误 [英] getting reference error in my first silverlight application

查看:54
本文介绍了在我的第一个silverlight应用程序中获取引用错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



我收到参考错误,

Hello all,

I have getting reference error,

The type or namespace name 'ContextMenu' does not exist in the namespace 'System.Windows.Controls' (are you missing an assembly reference?)



但是我已经添加了引用,


but i have already add reference from,

C:\Program Files (x86)\Microsoft SDKs\Silverlight\v4.0\Libraries\Client\System.Windows.Controls.dll





请帮我解决这个问题



谢谢



please help me to solve this problem

Thanks

推荐答案

请通过此链接



http://stackoverflow.com/questions/4514388/the-tag-menuitem-does-not-exist-in- xml-namespace-clr-namespacesystem-window [ ^ ]


你必须参考下面的dll。

You have to give reference of following dll.
System.Windows.Controls.Input.Toolkit.dll
System.Windows.Controls.Toolkit.dll





此链接将为您提供更好的建议

http://www.c-sharpcorner.com/uploadfile/dpatra/right-click-and-context-menu-in -silverlight-4 / [ ^ ]


这篇关于在我的第一个silverlight应用程序中获取引用错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆