相关疑难解决方法(0)

应用程序在启动时崩溃 - 缺少Microsoft.VisualBasic.PowerPacks

我写了一个简单的VB.NET应用程序,它在开发机器上运行良好.

但是在另一台机器上,即使安装了.NET Framework,它也会在启动时因System.InvalidOperationException而崩溃.

它找到Visual Basic程序集似乎有问题.

这是失败之一(我用三个点代替敏感信息):

*** Assembly Binder Log Entry  (16/06/2013 @ 15:45:12) ***

The operation failed.
Bind result: hr = 0x80070002. The system cannot find the file specified.

Assembly manager loaded from:  C:\Windows\Microsoft.NET\Framework\v4.0.30319\clr.dll
Running under executable  C:\Users\....
--- A detailed error log follows.

=== Pre-bind state information ===
LOG: User = ...
LOG: DisplayName = Microsoft.VisualBasic.PowerPacks.Vs, Version=10.0.0.0,    Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a
(Fully-specified)
LOG: Appbase = file:///C:/Users/......
LOG: Initial PrivatePath = NULL
LOG: Dynamic Base = NULL
LOG: Cache Base = …
Run Code Online (Sandbox Code Playgroud)

vb.net

9
推荐指数
2
解决办法
5万
查看次数

标签 统计

vb.net ×1