The type or namespace name '****' could not be found (are you missing a using directive or an assemb...(项目已引用过dll了)

https://blog.csdn.net/weixin_34049948/article/details/86463617

虽然已经引用过dll,还是提示未引用,移除重新引用后,还是报同样的错。

右击项目,点属性,将目标框架改下就可以了。

 

目标框架:

在 Visual Studio 中,可以指定希望项目面向的 .NET 版本。 框架定位有助于确保应用程序仅使用指定框架版本中可用的功能。 对于在另一台计算机上运行的 .NET Framework 应用,应用程序面向的 Framework 版本必须与计算机上安装的 Framework 版本兼容。

posted @ 2022-08-18 17:41  yinghualeihenmei  阅读(1711)  评论(0编辑  收藏  举报