明经CAD社区

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 1673|回复: 1

[基础] 用AutoCAD.net开始调试的时候,CAD打开了,一直报这个错误。

[复制链接]
发表于 2015-11-12 10:27 | 显示全部楼层 |阅读模式
本帖最后由 226best 于 2015-11-12 10:34 编辑

求大神指导:错误信息如下。

我只是建了一个空的项目,然后设置调试里的启动外部程序到CAD,然后start,CAD就会报错了。(注:我直接打开CAD程序是不会报这个错误的)
CAD版本:2010
VS2013,.net Framework 4.0.


详细信息:应用程序不支持实时(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
    程序集版本:4.0.0.0
    Win32 版本:4.0.30319.18408 built by: FX451RTMGREL
    基本代码:file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
acdbmgd
    程序集版本:18.0.0.0
    Win32 版本:18.0.55.0.0
    基本代码:file:///C:/Program%20Files/AutoCAD%202010/AcdbMgd.DLL
----------------------------------------
msvcm90
    程序集版本:9.0.30729.4940
    Win32 版本:9.00.30729.4940
    基本代码:file:///C:/Windows/WinSxS/amd64_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.4940_none_08e4299fa83d7e3c/msvcm90.dll
----------------------------------------
System
    程序集版本:4.0.0.0
    Win32 版本:4.0.30319.34238 built by: FX452RTMGDR
    基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Xml
    程序集版本:4.0.0.0
    Win32 版本:4.0.30319.34234 built by: FX452RTMGDR
    基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Drawing
    程序集版本:4.0.0.0
    Win32 版本:4.0.30319.34270 built by: FX452RTMGDR
    基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
PresentationFramework
    程序集版本:4.0.0.0
    Win32 版本:4.0.30319.18408
    基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework/v4.0_4.0.0.0__31bf3856ad364e35/PresentationFramework.dll
----------------------------------------
WindowsBase
    程序集版本:4.0.0.0
    Win32 版本:4.0.30319.18408 built by: FX451RTMGREL
    基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/WindowsBase/v4.0_4.0.0.0__31bf3856ad364e35/WindowsBase.dll
----------------------------------------
PresentationCore
    程序集版本:4.0.0.0
    Win32 版本:4.0.30319.18408 built by: FX451RTMGREL
    基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_64/PresentationCore/v4.0_4.0.0.0__31bf3856ad364e35/PresentationCore.dll
----------------------------------------
System.Xaml
    程序集版本:4.0.0.0
    Win32 版本:4.0.30319.18408 built by: FX451RTMGREL
    基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xaml/v4.0_4.0.0.0__b77a5c561934e089/System.Xaml.dll
----------------------------------------
System.Configuration
    程序集版本:4.0.0.0
    Win32 版本:4.0.30319.18408 built by: FX451RTMGREL
    基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
PresentationCore.resources
    程序集版本:4.0.0.0
    Win32 版本:4.0.30319.18408 built by: FX451RTMGREL
    基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/PresentationCore.resources/v4.0_4.0.0.0_zh-Hans_31bf3856ad364e35/PresentationCore.resources.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
----------------------------------------
AcWindows
    程序集版本:18.0.0.0
    Win32 版本:18.0.55.0.0
    基本代码:file:///C:/Program%20Files/AutoCAD%202010/AcWindows.DLL
----------------------------------------
System.Core
    程序集版本:4.0.0.0
    Win32 版本:4.0.30319.18408 built by: FX451RTMGREL
    基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.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:///E:/WinWall/Project/WinDesk/Test/bin/Debug/acmgd.dll
----------------------------------------
System.Windows.Forms
    程序集版本:4.0.0.0
    Win32 版本:4.0.30319.34251 built by: FX452RTMGDR
    基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.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:///E:/WinWall/Project/WinDesk/Test/bin/Debug/AcWindows.dll
----------------------------------------
PresentationFramework-SystemXml
    程序集版本:4.0.0.0
    Win32 版本:4.0.30319.18408
    基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework-SystemXml/v4.0_4.0.0.0__b77a5c561934e089/PresentationFramework-SystemXml.dll
----------------------------------------
PresentationFramework.Aero
    程序集版本:4.0.0.0
    Win32 版本:4.0.30319.18408 built by: FX451RTMGREL
    基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework.Aero/v4.0_4.0.0.0__31bf3856ad364e35/PresentationFramework.Aero.dll
----------------------------------------
PresentationFramework.resources
    程序集版本:4.0.0.0
    Win32 版本:4.0.30319.18408
    基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework.resources/v4.0_4.0.0.0_zh-Hans_31bf3856ad364e35/PresentationFramework.resources.dll
----------------------------------------
PresentationFramework-SystemCore
    程序集版本:4.0.0.0
    Win32 版本:4.0.30319.18408
    基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework-SystemCore/v4.0_4.0.0.0__b77a5c561934e089/PresentationFramework-SystemCore.dll
----------------------------------------
WindowsFormsIntegration
    程序集版本:4.0.0.0
    Win32 版本:4.0.30319.18408 built by: FX451RTMGREL
    基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/WindowsFormsIntegration/v4.0_4.0.0.0__31bf3856ad364e35/WindowsFormsIntegration.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.Web.Services
    程序集版本:4.0.0.0
    Win32 版本:4.0.30319.18408 built by: FX451RTMGREL
    基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Web.Services/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Web.Services.dll
----------------------------------------
ManagedMC3
    程序集版本:2.20.0.0
    Win32 版本:3.14.1
    基本代码:file:///C:/Program%20Files/AutoCAD%202010/ManagedMC3.DLL
----------------------------------------
System.Windows.Forms.resources
    程序集版本:4.0.0.0
    Win32 版本:4.0.30319.18408 built by: FX451RTMGREL
    基本代码: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
----------------------------------------
mscorlib.resources
    程序集版本:4.0.0.0
    Win32 版本:4.0.30319.18408 built by: FX451RTMGREL
    基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_zh-Hans_b77a5c561934e089/mscorlib.resources.dll
----------------------------------------

************** JIT 调试 **************
应用程序不支持 Windows 窗体实时(JIT)
调试。有关更多
信息,请与应用程序的作者联系。


本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

x
发表于 2015-11-14 23:03 | 显示全部楼层
cad2010 支持到 Framework 3.5,好像是这样。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|CAD论坛|CAD教程|CAD下载|联系我们|关于明经|明经通道 ( 粤ICP备05003914号 )  
©2000-2023 明经通道 版权所有 本站代码,在未取得本站及作者授权的情况下,不得用于商业用途

GMT+8, 2024-3-29 09:20 , Processed in 0.250778 second(s), 24 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表