应用程序不支持实时(JIT)调试。
有关详细信息,请参见此消息的结尾。************** 异常文本 **************
System.Exception: 组件“Autodesk.AutoCAD.AcInfoCenterConn.MyAutoCADBalloon”不具有由 URI“/AcWindows;component/infocenteracconn/myautocadballoon.xaml”识别的资源。
  在 System.Windows.Application.LoadComponent(Object component, Uri resourceLocator)
  在 Autodesk.AutoCAD.AcInfoCenterConn.MyAutoCADBalloon.InitializeComponent()
  在 Autodesk.AutoCAD.AcInfoCenterConn.MyAutoCADBalloon..ctor()
  在 Autodesk.AutoCAD.AcInfoCenterConn.MyAutoCADBalloon.ShowInfoBalloon()
  在 Autodesk.AutoCAD.AcInfoCenterConn.InfoCenterManager.AcadApplication_Idle(Object sender, EventArgs e)
  在 System.EventHandler.Invoke(Object sender, EventArgs e)
  在 Autodesk.AutoCAD.ApplicationServices.Application.raise_Idle(Object value0, EventArgs value1)
  在 Autodesk.AutoCAD.ApplicationServices.Application.OnIdle()
************** 已加载的程序集 **************
mscorlib
   程序集版本: 2.0.0.0
   Win32 版本: 2.0.50727.3620 (GDR.050727-3600)
   基本代码: file:///c:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
acdbmgd
   程序集版本: 18.0.0.0
   Win32 版本: 18.0.55.0.0
   基本代码: file:///C:/Program%20Files/AutoCAD%202010/AcdbMgd.DLL
----------------------------------------
System
   程序集版本: 2.0.0.0
   Win32 版本: 2.0.50727.3614 (GDR.050727-3600)
   基本代码: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
msvcm90
   程序集版本: 9.0.30729.4148
   Win32 版本: 9.00.30729.4148
   基本代码: file:///C:/WINDOWS/WinSxS/x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.4148_x-ww_d495ac4e/msvcm90.dll
----------------------------------------
mscorlib.resources
   程序集版本: 2.0.0.0
   Win32 版本: 2.0.50727.3620 (GDR.050727-3600)
   基本代码: file:///c:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
System.Xml
   程序集版本: 2.0.0.0
   Win32 版本: 2.0.50727.3053 (netfxsp.050727-3000)
   基本代码: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Drawing
   程序集版本: 2.0.0.0
   Win32 版本: 2.0.50727.3053 (netfxsp.050727-3000)
   基本代码: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
PresentationFramework
   程序集版本: 3.0.0.0
   Win32 版本: 3.0.6920.4016 built by: GDR
   基本代码: file:///C:/WINDOWS/assembly/GAC_MSIL/PresentationFramework/3.0.0.0__31bf3856ad364e35/PresentationFramework.dll
----------------------------------------
WindowsBase
   程序集版本: 3.0.0.0
   Win32 版本: 3.0.6920.4016 built by: GDR
   基本代码: file:///C:/WINDOWS/assembly/GAC_MSIL/WindowsBase/3.0.0.0__31bf3856ad364e35/WindowsBase.dll
----------------------------------------
PresentationCore
   程序集版本: 3.0.0.0
   Win32 版本: 3.0.6920.4016 built by: GDR
   基本代码: file:///C:/WINDOWS/assembly/GAC_32/PresentationCore/3.0.0.0__31bf3856ad364e35/PresentationCore.dll
----------------------------------------
System.Configuration
   程序集版本: 2.0.0.0
   Win32 版本: 2.0.50727.3053 (netfxsp.050727-3000)
   基本代码: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
AdWindowsInterop
   程序集版本: 0.0.0.0
   Win32 版本: 18.0.55.0.0
   基本代码: file:///C:/Program%20Files/AutoCAD%202010/AdWindowsInterop.DLL
----------------------------------------
AdWindows
   程序集版本: 2.1.0.0
   Win32 版本: 2.1.123.55
   基本代码: file:///C:/Program%20Files/AutoCAD%202010/AdWindows.DLL
----------------------------------------
AdWindows.resources
   程序集版本: 2.1.0.0
   Win32 版本: 18.0.55.0.0
   基本代码: file:///C:/Program%20Files/AutoCAD%202010/zh-CN/AdWindows.resources.DLL
----------------------------------------
acmgd
   程序集版本: 18.0.0.0
   Win32 版本: 18.0.55.0.0
   基本代码: file:///C:/Program%20Files/AutoCAD%202010/acmgd.DLL
----------------------------------------
System.Core
   程序集版本: 3.5.0.0
   Win32 版本: 3.5.30729.1 built by: SP
   基本代码: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
AcWindows
   程序集版本: 18.0.0.0
   Win32 版本: 18.0.55.0.0
   基本代码: file:///C:/Program%20Files/AutoCAD%202010/AcWindows.DLL
----------------------------------------
AcWindows.resources
   程序集版本: 18.0.0.0
   Win32 版本: 18.0.55.0.0
   基本代码: file:///C:/Program%20Files/AutoCAD%202010/zh-CN/AcWindows.resources.DLL
----------------------------------------
acmgd
   程序集版本: 18.0.0.0
   Win32 版本: 18.0.55.0.0
   基本代码: file:///C:/Documents%20and%20Settings/GIS(YY)/My%20Documents/Visual%20Studio%202008/Projects/DotNETBarTest/CADTests/bin/Debug/acmgd.dll
----------------------------------------
System.Windows.Forms
   程序集版本: 2.0.0.0
   Win32 版本: 2.0.50727.3053 (netfxsp.050727-3000)
   基本代码: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
AcTcMgd
   程序集版本: 18.0.0.0
   Win32 版本: 18.0.55.0.0
   基本代码: file:///C:/Program%20Files/AutoCAD%202010/AcTcMgd.DLL
----------------------------------------
AcCui
   程序集版本: 18.0.0.0
   Win32 版本: 18.0.55.0.0
   基本代码: file:///C:/Program%20Files/AutoCAD%202010/AcCui.DLL
----------------------------------------
AcWindows
   程序集版本: 18.0.0.0
   Win32 版本: 18.0.55.0.0
   基本代码: file:///C:/Documents%20and%20Settings/GIS(YY)/My%20Documents/Visual%20Studio%202008/Projects/DotNETBarTest/CADTests/bin/Debug/AcWindows.dll
----------------------------------------
PresentationFramework.Aero
   程序集版本: 3.0.0.0
   Win32 版本: 3.0.6920.1427 built by: SP
   基本代码: file:///C:/WINDOWS/assembly/GAC_MSIL/PresentationFramework.Aero/3.0.0.0__31bf3856ad364e35/PresentationFramework.Aero.dll
----------------------------------------
PresentationFramework.Luna
   程序集版本: 3.0.0.0
   Win32 版本: 3.0.6920.1427 built by: SP
   基本代码: file:///C:/WINDOWS/assembly/GAC_MSIL/PresentationFramework.Luna/3.0.0.0__31bf3856ad364e35/PresentationFramework.Luna.dll
----------------------------------------
PresentationFramework.resources
   程序集版本: 3.0.0.0
   Win32 版本: 3.0.6920.1427 built by: SP
   基本代码: file:///C:/WINDOWS/assembly/GAC_MSIL/PresentationFramework.resources/3.0.0.0_zh-CHS_31bf3856ad364e35/PresentationFramework.resources.dll
----------------------------------------
ContextualTabSelectorRules
   程序集版本: 0.0.0.0
   Win32 版本: 18.0.55.0.0
   基本代码: file:///C:/Program%20Files/AutoCAD%202010/AcWindows.dll
----------------------------------------
ManagedMC3
   程序集版本: 2.20.0.0
   Win32 版本: 3.14.1
   基本代码: file:///C:/Program%20Files/AutoCAD%202010/ManagedMC3.DLL
----------------------------------------
AcLayer
   程序集版本: 18.0.0.0
   Win32 版本: 18.0.55.0.0
   基本代码: file:///C:/Program%20Files/AutoCAD%202010/AcLayer.DLL
----------------------------------------
AcLayer.resources
   程序集版本: 18.0.0.0
   Win32 版本: 18.0.55.0.0
   基本代码: file:///C:/Program%20Files/AutoCAD%202010/zh-CN/AcLayer.resources.DLL
----------------------------------------
System.Windows.Forms.resources
   程序集版本: 2.0.0.0
   Win32 版本: 2.0.50727.3053 (netfxsp.050727-3000)
   基本代码: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_zh-CHS_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------
Accessibility
   程序集版本: 2.0.0.0
   Win32 版本: 2.0.50727.3053 (netfxsp.050727-3000)
   基本代码: file:///C:/WINDOWS/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
WindowsFormsIntegration
   程序集版本: 3.0.0.0
   Win32 版本: 3.0.6920.1427 built by: SP
   基本代码: file:///C:/WINDOWS/assembly/GAC_MSIL/WindowsFormsIntegration/3.0.0.0__31bf3856ad364e35/WindowsFormsIntegration.dll
----------------------------------------
System.Web.Services
   程序集版本: 2.0.0.0
   Win32 版本: 2.0.50727.3053 (netfxsp.050727-3000)
   基本代码: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Web.Services/2.0.0.0__b03f5f7f11d50a3a/System.Web.Services.dll
----------------------------------------************** JIT 调试 **************
应用程序不支持 Windows 窗体实时(JIT)调试。有关更多信息,请与应用程序的作者联系。原因:我将CAD的组件引用(acmgd、acdbmgd、AcWindows、AdWindows等)设置为复制到本地。解决方案:将他们的 "复制本地" 属性设置为 false就可以了。