在vs 2010中使用用户控件 [英] using user control in vs 2010

查看:88
本文介绍了在vs 2010中使用用户控件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

hi
我在vs 2008中使用了一个控件而没有任何问题,但现在当我想在vs 2010中使用它时出现问题。我将遇到此错误:无法找到名称的类型。类型名称是:FreeControls.PersianDate,Version = 2.53.0.0,Culture = neutral,PublicKeyToken = null'请帮助我!

hi I used a control in vs 2008 without any problem,but now when i wanted to use it in vs 2010 a problem occured.I will have this error: Could not find a type for a name. The type name was ;FreeControls.PersianDate, Version=2.53.0.0, Culture=neutral, PublicKeyToken=null'Please help me!

推荐答案

你已经可能使用了在更新的项目中找不到的第三方控件。尝试在解决方案资源管理器中查看项目树中的引用。其中一个参考文献可能会标有黄色警告三角形,例如这个 [ ^ ] ,.



那是因为参考被打破了。如果您单击缺少的引用,您可以在属性资源管理器中看到它找不到的文件。



您需要删除损坏的引用并添加一个通过右键单击项目节点并选择添加引用来获取具有正确文件路径的新文件。



之后,项目应该像往常一样构建。



另外,这个 [ ^ ]可能对您有所帮助!
You've probably used a third party control that can't be found in your updated project. Try looking under "References" in the project tree in the Solution Explorer. One of the references will probably be marked with a yellow warning triangle, like THIS[^], .

That's because a reference is broken. If you click the missing reference, you can see in the property explorer what file it is it can't find.

You need to remove the broken reference and add a new one with the correct file path by right clicking the project node and selecting "Add reference".

After that, the project should build as usual.

Also, THIS[^] might be of help to you!


这篇关于在vs 2010中使用用户控件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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