COMPUTER_LZY

要输就输给追求,要嫁就嫁给幸福

导航

2011年8月10日 #

菜鸟写给菜鸟——The type or namespace name '****' could not be found (are you missing a using directive or an assembly reference

摘要: 在项目中引用了一个外部的动态链接库dll,在编写代码的过程中都很顺利,就是编译时报错如下:Error101The type or namespace name '****' could not be found (are you missing a using directive or an assembly reference?)因为我程序的运行环境是.net4.0,而dll是2.0的,起初我怀疑是版本冲突的问题,为此我还专门把这个dll拿到vs2005上试了下,结果是可以正确运行。但是,回过头来想一下就会觉得版本冲突的想法有些扯淡,哪有高版本的.net不能调用低版本的?这明 阅读全文

posted @ 2011-08-10 15:52 CANYOUNG 阅读(42210) 评论(6) 推荐(5) 编辑