vb.net 无法加载 Microsoft.visualBasic.PowerPAcks(即使 dll 在 exe 旁边)

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/17143128/
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

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-17 13:56:04  来源:igfitidea点击:

Could not load Microsoft.visualBasic.PowerPAcks (even though dll is next to exe)

vb.netvisual-studio-2010powerpackspowerpack

提问by LemonCat

I've developped an application on VS2010, in Vb.net. All is working well on some computers, but some are throwing this error :

我在 Vb.net 中的 VS2010 上开发了一个应用程序。在某些计算机上一切正常,但有些计算机会抛出此错误:

Could not load Microsoft.visualBasic.PowerPacks.

无法加载 Microsoft.visualBasic.PowerPacks。

I've already encounter this eror, and copying the Microsoft.VisualBasic.PowerPacks.Vs.dll next to my .exe fixed the problem. Still, some users can't use the application, despite the dll next to the exe.

我已经遇到过这个错误,在我的 .exe 旁边复制 Microsoft.VisualBasic.PowerPacks.Vs.dll 解决了这个问题。尽管如此,尽管 exe 旁边有 dll,但仍有一些用户无法使用该应用程序。

Any ideas ?

有任何想法吗 ?

Ps: I'm in a AD domain, and i'm not one of the administrators, so no installation possible whatsoever. The framework 4.0 is all I got installed.

Ps:我在AD域中,而且我不是管理员之一,因此无法进行任何安装。我只安装了框架 4.0。

回答by LemonCat

Deleted all from \bin Went through a full recompilation.

从 \bin 中删除了所有内容 进行了完整的重新编译。

It's now working. I don't know why.

它现在正在工作。我不知道为什么。

But it's working.

但它正在起作用。

回答by bluish

I think your case (which was my case too) is connected with this one, which has a good accepted solution.

我认为你的情况(这也是我的情况)与这个有一个很好的公认解决方案有关。