vb.net 无法加载文件或程序集。该系统找不到指定的文件
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/41872081/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Could not load file or assembly. The system cannot find the file specified
提问by Arie
I have solution and couple projects inside. I cannot figure out why i get this error. I cannot figure out where this is coming from so far. I was looking at all projects references and bin folders. At the end i do not see anything related to this.I tried also going to projects properties on references tab but didn't find anything related. Tried to clear/rebuild etc. What can i do more to found this and remove from the solution?
我有解决方案和几个项目。我不明白为什么我会收到这个错误。到目前为止,我无法弄清楚这是从哪里来的。我正在查看所有项目引用和 bin 文件夹。最后,我没有看到任何与此相关的内容。我也尝试在引用选项卡上查看项目属性,但没有找到任何相关内容。试图清除/重建等。我还能做些什么来找到它并从解决方案中删除?
Could not load file or assembly 'ZipTools, Version=4.0.0.1, Culture=neutral,
PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
回答by Sibiraj
Make sure you added reference to dll. Make sure you have referenced all the assemblies and they are with the same version. Delete the Bin and obj folders of the project manually, Clean and Rebuild it.
确保您添加了对 dll 的引用。确保您已引用所有程序集并且它们具有相同的版本。手动删除项目的 Bin 和 obj 文件夹,清理并重建它。

