Microsoft.VisualBasic.PowerPacks.Vs 报错处理

有关调用实时(JIT)调试而不是此对话框的详细信息,
请参见此消息的结尾。

************** 异常文本 **************
System.IO.FileNotFoundException: 未能加载文件或程序集“Microsoft.VisualBasic.PowerPacks.Vs, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a”或它的某一个依赖项。系统找不到指定的文件。
文件名:“Microsoft.VisualBasic.PowerPacks.Vs, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a”
   在 StockControl.frmAddSale.InitializeComponent()
   在 StockControl.frmAddSale..ctor()
   在 StockControl.frmMain.销售商品信息ToolStripMenuItem_Click(Object sender, EventArgs e)
   在 System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
   在 System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
   在 System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
   在 System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
   在 System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
   在 System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
   在 System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
   在 System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
   在 System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   在 System.Windows.Forms.Control.WndProc(Message& m)
   在 System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   在 System.Windows.Forms.ToolStrip.WndProc(Message& m)
   在 System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
   在 System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   在 System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   在 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

警告: 程序集绑定日志记录被关闭。
要启用程序集绑定失败日志记录,请将注册表值 [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD)设置为 1。
注意: 会有一些与程序集绑定失败日志记录关联的性能损失。
要关闭此功能,请移除注册表值 [HKLM\Software\Microsoft\Fusion!EnableLog]。

 

************** 已加载的程序集 **************
mscorlib
    程序集版本: 2.0.0.0
    Win32 版本: 2.0.50727.5420 (Win7SP1.050727-5400)
    基本代码: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
StockControl
    程序集版本: 1.0.0.0
    Win32 版本: 1.0.0.0
    基本代码: file:///C:/Program%20Files%20(x86)/Pan/StockControl/StockControl.exe
----------------------------------------
System.Windows.Forms
    程序集版本: 2.0.0.0
    Win32 版本: 2.0.50727.5420 (Win7SP1.050727-5400)
    基本代码: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    程序集版本: 2.0.0.0
    Win32 版本: 2.0.50727.5420 (Win7SP1.050727-5400)
    基本代码: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    程序集版本: 2.0.0.0
    Win32 版本: 2.0.50727.5420 (Win7SP1.050727-5400)
    基本代码: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
MainMethod
    程序集版本: 1.0.0.0
    Win32 版本: 1.0.0.0
    基本代码: file:///C:/Program%20Files%20(x86)/Pan/StockControl/MainMethod.DLL
----------------------------------------
System.Data
    程序集版本: 2.0.0.0
    Win32 版本: 2.0.50727.5420 (Win7SP1.050727-5400)
    基本代码: file:///C:/Windows/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.ServiceProcess
    程序集版本: 2.0.0.0
    Win32 版本: 2.0.50727.5420 (Win7SP1.050727-5400)
    基本代码: file:///C:/Windows/assembly/GAC_MSIL/System.ServiceProcess/2.0.0.0__b03f5f7f11d50a3a/System.ServiceProcess.dll
----------------------------------------
ClassInfo
    程序集版本: 1.0.0.0
    Win32 版本: 1.0.0.0
    基本代码: file:///C:/Program%20Files%20(x86)/Pan/StockControl/ClassInfo.DLL
----------------------------------------
System.Configuration
    程序集版本: 2.0.0.0
    Win32 版本: 2.0.50727.5420 (Win7SP1.050727-5400)
    基本代码: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
    程序集版本: 2.0.0.0
    Win32 版本: 2.0.50727.5420 (Win7SP1.050727-5400)
    基本代码: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Transactions
    程序集版本: 2.0.0.0
    Win32 版本: 2.0.50727.4927 (NetFXspW7.050727-4900)
    基本代码: file:///C:/Windows/assembly/GAC_32/System.Transactions/2.0.0.0__b77a5c561934e089/System.Transactions.dll
----------------------------------------
System.EnterpriseServices
    程序集版本: 2.0.0.0
    Win32 版本: 2.0.50727.5420 (Win7SP1.050727-5400)
    基本代码: file:///C:/Windows/assembly/GAC_32/System.EnterpriseServices/2.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll
----------------------------------------
Interop.grproLib
    程序集版本: 5.0.0.0
    Win32 版本: 5.0.0.0
    基本代码: file:///C:/Program%20Files%20(x86)/Pan/StockControl/Interop.grproLib.DLL
----------------------------------------
System.Windows.Forms.resources
    程序集版本: 2.0.0.0
    Win32 版本: 2.0.50727.4927 (NetFXspW7.050727-4900)
    基本代码: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_zh-CHS_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------
mscorlib.resources
    程序集版本: 2.0.0.0
    Win32 版本: 2.0.50727.5420 (Win7SP1.050727-5400)
    基本代码: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------

************** JIT 调试 **************
要启用实时(JIT)调试,
该应用程序或计算机的 .config 文件(machine.config)的 system.windows.forms 节中必须设置
jitDebugging 值。
编译应用程序时还必须启用
调试。

例如:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

启用 JIT 调试后,任何无法处理的异常
都将被发送到在此计算机上注册的 JIT 调试器,
而不是由此对话框处理。

 

 

缺少DLL

Microsoft.VisualBasic.PowerPacks.Vs.dll

Microsoft.VisualBasic.PowerPacks.Vs.resources.dll

 

位置于C:\Program Files (x86)\Reference Assemblies\Microsoft\VBPowerPacks\v10.0\ 处
 

  • 0
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
### 回答1: 所谓的 ovalshape 是指 Visual Basic 中的图形控件之一,可以用来在窗体中创建椭圆形的图形展示。而 microsoft.visualbasic.powerpacks.vs.dll 则是 Visual Studio 中的一个程序集(Assembly),它包含了一系列的控件和工具,用于帮助开发者更方便地进行 Visual Basic 的开发工作。 其中,microsoft.visualbasic.powerpacks.vs.dll 是 Visual Basic Power Packs 的一部分,这是一个由 Microsoft 提供的免费的组件库,它包含了一系列非常实用的控件和工具,可以帮助开发者更容易地实现常见的功能。 而其中的 ovalshape 控件就是其中之一,它可以让开发者在窗体中轻松地创建出椭圆形的图形,可以拖动和调整大小。当然,除了 ovalshape 之外,Power Packs 还有许多其他类型的控件,比如 ShapeContainer、LineShape、RectangleShape 等等,都可以帮助开发者实现各种各样的图形展示。 总之,microsoft.visualbasic.powerpacks.vs.dll 主要是用来提供 Visual Basic Power Packs 组件库中的控件和工具。而 ovalshape 是其中一个实用的图形控件,可以帮助开发者实现各种各样的椭圆形展示。 ### 回答2: ovalshape是Visual Basic PowerPacks工具箱中的一个控件,主要用于绘制椭圆形状。此控件可用于Windows窗体应用程序中,以绘制椭圆形状、圆形或类似于标志的形状。同时,它也提供了各种属性,例如大小和颜色,可用于个性化形状。Microsoft.visualbasic.powerpacks.vs.dll是一个包含Visual Basic PowerPacks工具箱的动态链接库。此库提供了一些额外的控件,可以用于增强和加强Windows窗体应用程序的开发。 Visual Basic PowerPacks工具箱是一个免费的组件,可用于Visual Studio 2010及更高版本中,以简化Windows应用程序的设计和开发。使用这些工具,可以节省您的时间和努力,帮助您创建更好、更准确的应用程序。 ### 回答3: ovalshape是一个用于在Visual Basic程序中创建椭圆形对象的类库。而microsoft.visualbasic.powerpacks.vs.dll则是一种用于Visual Studio开发环境的DLL动态链接库,提供可视化控件和工具,可供Microsoft Visual Basic程序员使用。在使用这个控件库的时候,我们可以很方便地设计和调整椭圆形对象的属性,如位置、大小、背景和边框等。同时,我们也可以利用这个库中的其他控件,如绘图控件等,来更好地实现我们的编程需求。通过使用这些控件库,我们可以减少手动编写代码的工作量,提高程序开发的效率和质量。因此,对于Visual Basic程序员来说,学习和掌握这些控件库的使用,将会在实际编程中起到很重要的作用。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值