且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

编译器错误消息:CS0246:找不到类型或名称空间名称'Type/Namespace'(是否缺少using指令或程序集引用?)

更新时间:2023-11-17 13:31:46

您是否使用任何第三方DLL?

检查以确保将任何DLL复制到您的输出目录.看来服务器无法找到dotne.DBconnection类.

您是否正在使用本地Web服务器或计算机上的IIS进行开发?我会尝试部署到另一个IIS机器上,***是在您具有管理员权限的地方,以便您可以更好地解决这个问题.

最后(或也许首先),清理并重建整个解决方案,然后尝试另一种部署.

干杯.
Are you using any third-party DLLs?

Check to make sure that any DLLs are being copied to your output directory. It looks like the server isn''t able to find the dotne.DBconnection class.

Are you using the local web server, or IIS on your machine for development? I would try deploying to another IIS box, preferably where you have admin rights, so that you can work through this a little better.

Finally (or maybe firstly), clean and rebuild your entire solution, then try another deployment.

Cheers.