普通用户
关闭项目再打开项目,点安装类库菜单报错 [复制链接]
wanglesm 发表于 2026-09-15 169 2

关闭项目再打开项目,点安装类库菜单报错。

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

************** 异常文本 **************
System.ObjectDisposedException: 无法访问已释放的对象。
对象名:“InstallPackage”。
   在 System.Windows.Forms.Control.CreateHandle()
   在 System.Windows.Forms.Form.CreateHandle()
   在 System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   在 System.Windows.Forms.Control.CreateControl()
   在 System.Windows.Forms.Control.SetVisibleCore(Boolean value)
   在 System.Windows.Forms.Form.SetVisibleCore(Boolean value)
   在 System.Windows.Forms.Control.set_Visible(Boolean value)
   在 WeifenLuo.WinFormsUI.Docking.DockContentHandler.SetVisible()
   在 WeifenLuo.WinFormsUI.Docking.DockPane.set_ActiveContent(IDockContent value)
   在 WeifenLuo.WinFormsUI.Docking.DockContentHandler.Activate()
   在 WeifenLuo.WinFormsUI.Docking.DockContentHandler.Show(DockPanel dockPanel, DockState dockState)
   在 WeifenLuo.WinFormsUI.Docking.DockContent.Show(DockPanel dockPanel, DockState dockState)
   在 VcnStudio.Core.Forms.AbstractDockContent.vIHM(Object , Object , DockState )
   在 VcnStudio.Core.Forms.AbstractDockContent.j9y(DockState  )
   在 VcnStudio.Core.Entity.AbstractMenuImpl.Hb1W()
   在 VcnStudio.Core.Entity.AbstractMenuImpl.bb1G(Object  , EventArgs  )
   在 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)


************** 已加载的程序集 **************
mscorlib
    程序集版本:4.0.0.0
    Win32 版本:4.8.9345.0 built by: NET481REL1LAST_25H2_C
    基本代码:file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
VcnStudio
    程序集版本:4.8.0.0
    Win32 版本:4.8.0.0
    基本代码:file:///D:/VcnStudio.4.8.0/VcnStudio.exe
----------------------------------------
System.Windows.Forms
    程序集版本:4.0.0.0
    Win32 版本:4.8.9325.0 built by: NET481REL1LAST_25H2_C
    基本代码:file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    程序集版本:4.0.0.0
    Win32 版本:4.8.9340.0 built by: NET481REL1LAST_25H2_B
    基本代码:file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    程序集版本:4.0.0.0
    Win32 版本:4.8.9221.0 built by: NET481REL1LAST_25H2
    基本代码:file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Core
    程序集版本:4.0.0.0
    Win32 版本:4.8.9347.0 built by: NET481REL1LAST_25H2_B
    基本代码:file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Configuration
    程序集版本:4.0.0.0
    Win32 版本:4.8.9221.0 built by: NET481REL1LAST_25H2
    基本代码:file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
    程序集版本:4.0.0.0
    Win32 版本:4.8.9340.0 built by: NET481REL1LAST_25H2_B
    基本代码:file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
WeifenLuo.WinFormsUI.Docking
    程序集版本:3.0.6.0
    Win32 版本:3.0.6.0
    基本代码:file:///D:/VcnStudio.4.8.0/WeifenLuo.WinFormsUI.Docking.DLL
----------------------------------------
7ae24c6a-209c-41db-b2b3-7e5d5fc3e05e
    程序集版本:1.0.0.0
    Win32 版本:4.8.0.0
    基本代码:file:///D:/VcnStudio.4.8.0/VcnStudio.exe
----------------------------------------
mscorlib.resources
    程序集版本:4.0.0.0
    Win32 版本:4.8.9032.0 built by: NET481REL1
    基本代码:file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_zh-Hans_b77a5c561934e089/mscorlib.resources.dll
----------------------------------------
System.Management
    程序集版本:4.0.0.0
    Win32 版本:4.8.9221.0 built by: NET481REL1LAST_25H2
    基本代码:file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Management/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Management.dll
----------------------------------------
VcnStudio.Sdk
    程序集版本:1.0.0.0
    Win32 版本:1.0.0.0
    基本代码:file:///D:/VcnStudio.4.8.0/VcnStudio.Sdk.DLL
----------------------------------------
System.Windows.Forms.resources
    程序集版本:4.0.0.0
    Win32 版本:4.8.9032.0 built by: NET481REL1
    基本代码:file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_zh-Hans_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------
VcnStudio.PinyinConvert
    程序集版本:1.0.0.0
    Win32 版本:1.0.0.0
    基本代码:file:///D:/VcnStudio.4.8.0/VcnStudio.PinyinConvert.DLL
----------------------------------------
System.Design
    程序集版本:4.0.0.0
    Win32 版本:4.8.9221.0 built by: NET481REL1LAST_25H2
    基本代码:file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Design/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Design.dll
----------------------------------------
ScintillaNET
    程序集版本:3.7.2.0
    Win32 版本:3.7.2.0
    基本代码:file:///D:/VcnStudio.4.8.0/ScintillaNET.DLL
----------------------------------------
Newtonsoft.Json
    程序集版本:4.0.3.0
    Win32 版本:4.0.3.14202
    基本代码:file:///D:/VcnStudio.4.8.0/Newtonsoft.Json.DLL
----------------------------------------
System.Net.Http
    程序集版本:4.0.0.0
    Win32 版本:4.8.9337.0 built by: NET481REL1LAST_25H2_C
    基本代码:file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Net.Http/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Net.Http.dll
----------------------------------------
System.resources
    程序集版本:4.0.0.0
    Win32 版本:4.8.9032.0 built by: NET481REL1
    基本代码:file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.resources/v4.0_4.0.0.0_zh-Hans_b77a5c561934e089/System.resources.dll
----------------------------------------

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

例如:

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

启用 JIT 调试后,任何未经处理的异常
都将被发送到在此计算机上注册的 JIT 调试程序,
而不是由此对话框处理。
wanglesm 2026-09-15
引用 @Course 的回复:

您好,这个是IDE的已知BUG,需要关闭IDE后重新打开安装类库。

好的

回复
官方技术组 2026-09-15

您好,这个是IDE的已知BUG,需要关闭IDE后重新打开安装类库。

回复
 作者信息
wanglesm
USB全栈+永久会员 云验证
专业开发指导服务

响应时间:5分钟

服务方式:官方1对1服务

工作时间:工作日 9:00 - 18:30

专业团队 · 开发指导 · 极速响应


官网 | 基础视频教程 | 在线文档 下载 VcnStudio IDE

© VcnStudio Inc All Rights Reserved

蜀ICP备17024229号