Message 1 of 18
Problem with AutoCAD 2010 and C#
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have created an application in Visual Studio 2008 (it's not SP1) with C# and it worked perfectly with AutoCAD 2009. But, now, with 2010 I get this error:
Application does not support just-in-time (JIT)
debugging. See the end of this message for details.
************** Exception Text **************
System.Exception: The component 'Autodesk.AutoCAD.AcInfoCenterConn.MyAutoCADBalloon' does not have a resource identified by the URI '/AcWindows;component/infocenteracconn/myautocadballoon.xaml'.
at System.Windows.Application.LoadComponent(Object component, Uri resourceLocator)
at Autodesk.AutoCAD.AcInfoCenterConn.MyAutoCADBalloon.InitializeComponent()
at Autodesk.AutoCAD.AcInfoCenterConn.MyAutoCADBalloon.ShowInfoBalloon()
at Autodesk.AutoCAD.AcInfoCenterConn.InfoCenterManager.AcadApplication_Idle(Object sender, EventArgs e)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at Autodesk.AutoCAD.ApplicationServices.Application.raise_Idle(Object value0, EventArgs value1)
at Autodesk.AutoCAD.ApplicationServices.Application.OnIdle()
************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
acdbmgd
Assembly Version: 18.0.0.0
Win32 Version: 18.0.55.0.0
CodeBase: file:///C:/Program%20Files/AutoCAD%202010/AcdbMgd.DLL
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
msvcm90
Assembly Version: 9.0.30729.1
Win32 Version: 9.00.30729.1
CodeBase: file:///C:/Windows/WinSxS/x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.1_none_e163563597edeada/msvcm90.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
PresentationFramework
Assembly Version: 3.0.0.0
Win32 Version: 3.0.6920.1109 (lh_tools_devdiv_wpf.071009-1109)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/PresentationFramework/3.0.0.0__31bf3856ad364e35/PresentationFramework.dll
----------------------------------------
PresentationCore
Assembly Version: 3.0.0.0
Win32 Version: 3.0.6920.1109 (lh_tools_devdiv_wpf.071009-1109)
CodeBase: file:///C:/Windows/assembly/GAC_32/PresentationCore/3.0.0.0__31bf3856ad364e35/PresentationCore.dll
----------------------------------------
WindowsBase
Assembly Version: 3.0.0.0
Win32 Version: 3.0.6920.1109 (lh_tools_devdiv_wpf.071009-1109)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/WindowsBase/3.0.0.0__31bf3856ad364e35/WindowsBase.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
AdWindowsInterop
Assembly Version: 0.0.0.0
Win32 Version: 18.0.55.0.0
CodeBase: file:///C:/Program%20Files/AutoCAD%202010/AdWindowsInterop.DLL
----------------------------------------
AdWindows
Assembly Version: 2.1.0.0
Win32 Version: 2.1.123.55
CodeBase: file:///C:/Program%20Files/AutoCAD%202010/AdWindows.DLL
----------------------------------------
acmgd
Assembly Version: 18.0.0.0
Win32 Version: 18.0.55.0.0
CodeBase: file:///C:/Program%20Files/AutoCAD%202010/acmgd.DLL
----------------------------------------
System.Core
Assembly Version: 3.5.0.0
Win32 Version: 3.5.21022.8 built by: RTM
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
AcWindows
Assembly Version: 18.0.0.0
Win32 Version: 18.0.55.0.0
CodeBase: file:///C:/Program%20Files/AutoCAD%202010/AcWindows.DLL
----------------------------------------
AcWindows.resources
Assembly Version: 18.0.0.0
Win32 Version: 18.0.55.0.0
CodeBase: file:///C:/Program%20Files/AutoCAD%202010/en-US/AcWindows.resources.DLL
----------------------------------------
acmgd
Assembly Version: 18.0.0.0
Win32 Version: 18.0.55.0.0
CodeBase: file:///D:/Central%20Plexus/VB%20Projects/Carpentry/Carpentry/bin/Debug/acmgd.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
AcTcMgd
Assembly Version: 18.0.0.0
Win32 Version: 18.0.55.0.0
CodeBase: file:///C:/Program%20Files/AutoCAD%202010/AcTcMgd.DLL
----------------------------------------
AcCui
Assembly Version: 18.0.0.0
Win32 Version: 18.0.55.0.0
CodeBase: file:///C:/Program%20Files/AutoCAD%202010/AcCui.DLL
----------------------------------------
Carpentry
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///D:/Central%20Plexus/VB%20Projects/Carpentry/Carpentry/bin/debug/Carpentry.dll
----------------------------------------
ContextualTabSelectorRules
Assembly Version: 0.0.0.0
Win32 Version: 18.0.55.0.0
CodeBase: file:///C:/Program%20Files/AutoCAD%202010/AcWindows.dll
----------------------------------------
PresentationFramework.Aero
Assembly Version: 3.0.0.0
Win32 Version: 3.0.6920.1109 (lh_tools_devdiv_wpf.071009-1109)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/PresentationFramework.Aero/3.0.0.0__31bf3856ad364e35/PresentationFramework.Aero.dll
----------------------------------------
ManagedMC3
Assembly Version: 2.20.0.0
Win32 Version: 3.14.1
CodeBase: file:///C:/Program%20Files/AutoCAD%202010/ManagedMC3.DLL
----------------------------------------
AcWindows
Assembly Version: 18.0.0.0
Win32 Version: 18.0.55.0.0
CodeBase: file:///D:/Central%20Plexus/VB%20Projects/Carpentry/Carpentry/bin/Debug/AcWindows.dll
----------------------------------------
System.Web.Services
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Web.Services/2.0.0.0__b03f5f7f11d50a3a/System.Web.Services.dll
----------------------------------------
AcLayer
Assembly Version: 18.0.0.0
Win32 Version: 18.0.55.0.0
CodeBase: file:///C:/Program%20Files/AutoCAD%202010/AcLayer.DLL
----------------------------------------
AcLayer.resources
Assembly Version: 18.0.0.0
Win32 Version: 18.0.55.0.0
CodeBase: file:///C:/Program%20Files/AutoCAD%202010/en-US/AcLayer.resources.DLL
----------------------------------------
************** JIT Debugging **************
Application does not support Windows Forms just-in-time (JIT)
debugging. Contact the application author for more
information.
I referenced all necessary files in autocad 2010, and I don't understand what's the problem?
Application does not support just-in-time (JIT)
debugging. See the end of this message for details.
************** Exception Text **************
System.Exception: The component 'Autodesk.AutoCAD.AcInfoCenterConn.MyAutoCADBalloon' does not have a resource identified by the URI '/AcWindows;component/infocenteracconn/myautocadballoon.xaml'.
at System.Windows.Application.LoadComponent(Object component, Uri resourceLocator)
at Autodesk.AutoCAD.AcInfoCenterConn.MyAutoCADBalloon.InitializeComponent()
at Autodesk.AutoCAD.AcInfoCenterConn.MyAutoCADBalloon.ShowInfoBalloon()
at Autodesk.AutoCAD.AcInfoCenterConn.InfoCenterManager.AcadApplication_Idle(Object sender, EventArgs e)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at Autodesk.AutoCAD.ApplicationServices.Application.raise_Idle(Object value0, EventArgs value1)
at Autodesk.AutoCAD.ApplicationServices.Application.OnIdle()
************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
acdbmgd
Assembly Version: 18.0.0.0
Win32 Version: 18.0.55.0.0
CodeBase: file:///C:/Program%20Files/AutoCAD%202010/AcdbMgd.DLL
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
msvcm90
Assembly Version: 9.0.30729.1
Win32 Version: 9.00.30729.1
CodeBase: file:///C:/Windows/WinSxS/x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.1_none_e163563597edeada/msvcm90.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
PresentationFramework
Assembly Version: 3.0.0.0
Win32 Version: 3.0.6920.1109 (lh_tools_devdiv_wpf.071009-1109)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/PresentationFramework/3.0.0.0__31bf3856ad364e35/PresentationFramework.dll
----------------------------------------
PresentationCore
Assembly Version: 3.0.0.0
Win32 Version: 3.0.6920.1109 (lh_tools_devdiv_wpf.071009-1109)
CodeBase: file:///C:/Windows/assembly/GAC_32/PresentationCore/3.0.0.0__31bf3856ad364e35/PresentationCore.dll
----------------------------------------
WindowsBase
Assembly Version: 3.0.0.0
Win32 Version: 3.0.6920.1109 (lh_tools_devdiv_wpf.071009-1109)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/WindowsBase/3.0.0.0__31bf3856ad364e35/WindowsBase.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
AdWindowsInterop
Assembly Version: 0.0.0.0
Win32 Version: 18.0.55.0.0
CodeBase: file:///C:/Program%20Files/AutoCAD%202010/AdWindowsInterop.DLL
----------------------------------------
AdWindows
Assembly Version: 2.1.0.0
Win32 Version: 2.1.123.55
CodeBase: file:///C:/Program%20Files/AutoCAD%202010/AdWindows.DLL
----------------------------------------
acmgd
Assembly Version: 18.0.0.0
Win32 Version: 18.0.55.0.0
CodeBase: file:///C:/Program%20Files/AutoCAD%202010/acmgd.DLL
----------------------------------------
System.Core
Assembly Version: 3.5.0.0
Win32 Version: 3.5.21022.8 built by: RTM
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
AcWindows
Assembly Version: 18.0.0.0
Win32 Version: 18.0.55.0.0
CodeBase: file:///C:/Program%20Files/AutoCAD%202010/AcWindows.DLL
----------------------------------------
AcWindows.resources
Assembly Version: 18.0.0.0
Win32 Version: 18.0.55.0.0
CodeBase: file:///C:/Program%20Files/AutoCAD%202010/en-US/AcWindows.resources.DLL
----------------------------------------
acmgd
Assembly Version: 18.0.0.0
Win32 Version: 18.0.55.0.0
CodeBase: file:///D:/Central%20Plexus/VB%20Projects/Carpentry/Carpentry/bin/Debug/acmgd.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
AcTcMgd
Assembly Version: 18.0.0.0
Win32 Version: 18.0.55.0.0
CodeBase: file:///C:/Program%20Files/AutoCAD%202010/AcTcMgd.DLL
----------------------------------------
AcCui
Assembly Version: 18.0.0.0
Win32 Version: 18.0.55.0.0
CodeBase: file:///C:/Program%20Files/AutoCAD%202010/AcCui.DLL
----------------------------------------
Carpentry
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///D:/Central%20Plexus/VB%20Projects/Carpentry/Carpentry/bin/debug/Carpentry.dll
----------------------------------------
ContextualTabSelectorRules
Assembly Version: 0.0.0.0
Win32 Version: 18.0.55.0.0
CodeBase: file:///C:/Program%20Files/AutoCAD%202010/AcWindows.dll
----------------------------------------
PresentationFramework.Aero
Assembly Version: 3.0.0.0
Win32 Version: 3.0.6920.1109 (lh_tools_devdiv_wpf.071009-1109)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/PresentationFramework.Aero/3.0.0.0__31bf3856ad364e35/PresentationFramework.Aero.dll
----------------------------------------
ManagedMC3
Assembly Version: 2.20.0.0
Win32 Version: 3.14.1
CodeBase: file:///C:/Program%20Files/AutoCAD%202010/ManagedMC3.DLL
----------------------------------------
AcWindows
Assembly Version: 18.0.0.0
Win32 Version: 18.0.55.0.0
CodeBase: file:///D:/Central%20Plexus/VB%20Projects/Carpentry/Carpentry/bin/Debug/AcWindows.dll
----------------------------------------
System.Web.Services
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Web.Services/2.0.0.0__b03f5f7f11d50a3a/System.Web.Services.dll
----------------------------------------
AcLayer
Assembly Version: 18.0.0.0
Win32 Version: 18.0.55.0.0
CodeBase: file:///C:/Program%20Files/AutoCAD%202010/AcLayer.DLL
----------------------------------------
AcLayer.resources
Assembly Version: 18.0.0.0
Win32 Version: 18.0.55.0.0
CodeBase: file:///C:/Program%20Files/AutoCAD%202010/en-US/AcLayer.resources.DLL
----------------------------------------
************** JIT Debugging **************
Application does not support Windows Forms just-in-time (JIT)
debugging. Contact the application author for more
information.
I referenced all necessary files in autocad 2010, and I don't understand what's the problem?