MSN: pfengk@hotmail.com
更多文章请访问:http://www.cnblogs.com/pfengk/
编译错误
说明: 在编译向该请求提供服务所需资源的过程中出现错误。请检查下列特定错误详细信息并适当地修改源代码。编译器错误信息: CS0234: 类型或命名空间名称“Shared”在类或命名空间“Infragistics.WebUI”中不存在(是否缺少程序集引用?)
源错误:
|
从错误信息看,是因为程序在运行时没有找到dll。将Infragistics.WebUI.Shared.v2.1.dll,Infragistics.WebUI.UltraWebChart.v4.1.dll,Infragistics.WebUI.UltraWebGrid.v3.1.dll三个文件拷贝到程序的bin目录下即可解决这个问题。但是微软的控件还有其他厂商的控件都没有出现这个问题呢!这是什么原因呢,带着这个问题察看帮助,发现上面有一句话解答了我的疑虑:
UltraWebGrid requires a reference to the Infragistics.WebUI.Shared Elements. Check to be sure that this DLL has been added to the project's references and that its CopyLocal property has been set to True. If you would like help on how to do this, click the heading below.
搜索一下相关内容 |