Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/powerbi/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Vb.net Dll与程序集不匹配_Vb.net - Fatal编程技术网

Vb.net Dll与程序集不匹配

Vb.net Dll与程序集不匹配,vb.net,Vb.net,在C应用程序中添加.dll文件作为引用时,会显示一个错误: A reference to the "....dll" could not be added. Please make sure that the file is accessible and that it is a valid assembly or COM component. 您确定dll不在受保护的文件夹中吗?例如,您需要某些文件夹的管理员权限。。尝试将dll移动到另一个文件夹中,然后尝试添加并编译它99.9%的几率是消息

在C应用程序中添加.dll文件作为引用时,会显示一个错误:

A reference to the "....dll" could not be added.
Please make sure that the file is accessible and that it is a valid assembly
or COM component.

您确定dll不在受保护的文件夹中吗?例如,您需要某些文件夹的管理员权限。。尝试将dll移动到另一个文件夹中,然后尝试添加并编译它

99.9%的几率是消息是准确的。您选择的DLL必须是托管程序集或包含类型库的COM服务器。不能添加对包含非托管代码的常规DLL的引用。这需要品沃克。