<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic exception error in autocad 2013 .net api with visual studio in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/exception-error-in-autocad-2013-net-api-with-visual-studio/m-p/6928280#M32404</link>
    <description>&lt;P&gt;hi there , i'm having this exception when attemp to test a &amp;nbsp;visual studio class library . in this class i'm using autocad 2013 c# API , &amp;nbsp;the error is as following &amp;nbsp;..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Application does not support just-in-time (JIT)&lt;BR /&gt;debugging. See the end of this message for details.&lt;/P&gt;&lt;P&gt;************** Exception Text **************&lt;BR /&gt;System.TypeInitializationException: The type initializer for 'Xbim.IO.Memory.MemoryModel' threw an exception. ---&amp;gt; System.IO.FileNotFoundException: Could not load file or assembly 'log4net, Version=1.2.15.0, Culture=neutral, PublicKeyToken=669e0ddf0bb1aa2a' or one of its dependencies. The system cannot find the file specified.&lt;BR /&gt;at Xbim.IO.Memory.MemoryModel..cctor()&lt;BR /&gt;--- End of inner exception stack trace ---&lt;BR /&gt;at Xbim.IO.Memory.MemoryModel.GetFileHeader(String fileName)&lt;BR /&gt;at Xbim.Ifc.IfcStore.GetIfcSchemaVersion(String path, String&amp;amp; schemaIdentifier) in C:\BuildAgent\work\77d7b8e93613846d\Xbim.Ifc\IfcStore.cs:line 378&lt;BR /&gt;at Xbim.Ifc.IfcStore.Open(String path, XbimEditorCredentials editorDetails, Nullable`1 ifcDatabaseSizeThreshHold, ReportProgressDelegate progDelegate, XbimDBAccess accessMode) in C:\BuildAgent\work\77d7b8e93613846d\Xbim.Ifc\IfcStore.cs:line 285&lt;BR /&gt;at CadLibrary.Class1.DrawModel() in c:\Users\lenovo\Desktop\CadLibrary\CadLibrary\Class1.cs:line 267&lt;BR /&gt;at Autodesk.AutoCAD.Runtime.CommandClass.InvokeWorker(MethodInfo mi, Object commandObject, Boolean bLispFunction)&lt;BR /&gt;at Autodesk.AutoCAD.Runtime.CommandClass.InvokeWorkerWithExceptionFilter(MethodInfo mi, Object commandObject, Boolean bLispFunction)&lt;BR /&gt;at Autodesk.AutoCAD.Runtime.CommandClass.CommandThunk.Invoke()&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;************** Loaded Assemblies **************&lt;BR /&gt;mscorlib&lt;BR /&gt;Assembly Version: 4.0.0.0&lt;BR /&gt;Win32 Version: 4.0.30319.34011 built by: FX45W81RTMGDR&lt;BR /&gt;CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll&lt;BR /&gt;----------------------------------------&lt;BR /&gt;Acdbmgd&lt;BR /&gt;Assembly Version: 19.0.0.0&lt;BR /&gt;Win32 Version: 19.0.55.0.0&lt;BR /&gt;CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202013/AcdbMgd.DLL&lt;BR /&gt;----------------------------------------&lt;BR /&gt;System&lt;BR /&gt;Assembly Version: 4.0.0.0&lt;BR /&gt;Win32 Version: 4.0.30319.34003 built by: FX45W81RTMGDR&lt;BR /&gt;CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll&lt;BR /&gt;----------------------------------------&lt;BR /&gt;System.Core&lt;BR /&gt;Assembly Version: 4.0.0.0&lt;BR /&gt;Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL&lt;BR /&gt;CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll&lt;BR /&gt;----------------------------------------&lt;BR /&gt;AdApplicationFrame&lt;BR /&gt;Assembly Version: 0.0.0.0&lt;BR /&gt;Win32 Version: 3.5.19.0&lt;BR /&gt;CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202013/AdApplicationFrame.DLL&lt;BR /&gt;----------------------------------------&lt;BR /&gt;AdWindows&lt;BR /&gt;Assembly Version: 3.5.21.0&lt;BR /&gt;Win32 Version: 3.5.21.0&lt;BR /&gt;CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202013/AdWindows.DLL&lt;BR /&gt;----------------------------------------&lt;BR /&gt;PresentationFramework&lt;BR /&gt;Assembly Version: 4.0.0.0&lt;BR /&gt;Win32 Version: 4.0.30319.34003&lt;BR /&gt;CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework/v4.0_4.0.0.0__31bf3856ad364e35/PresentationFramework.dll&lt;BR /&gt;----------------------------------------&lt;BR /&gt;WindowsBase&lt;BR /&gt;Assembly Version: 4.0.0.0&lt;BR /&gt;Win32 Version: 4.0.30319.34003 built by: FX45W81RTMGDR&lt;BR /&gt;CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/WindowsBase/v4.0_4.0.0.0__31bf3856ad364e35/WindowsBase.dll&lt;BR /&gt;----------------------------------------&lt;BR /&gt;PresentationCore&lt;BR /&gt;Assembly Version: 4.0.0.0&lt;BR /&gt;Win32 Version: 4.0.30319.34003 built by: FX45W81RTMGDR&lt;BR /&gt;CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/PresentationCore/v4.0_4.0.0.0__31bf3856ad364e35/PresentationCore.dll&lt;BR /&gt;----------------------------------------&lt;BR /&gt;System.Xaml&lt;BR /&gt;Assembly Version: 4.0.0.0&lt;BR /&gt;Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL&lt;BR /&gt;CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xaml/v4.0_4.0.0.0__b77a5c561934e089/System.Xaml.dll&lt;BR /&gt;----------------------------------------&lt;BR /&gt;System.Configuration&lt;BR /&gt;Assembly Version: 4.0.0.0&lt;BR /&gt;Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL&lt;BR /&gt;CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll&lt;BR /&gt;----------------------------------------&lt;BR /&gt;System.Xml&lt;BR /&gt;Assembly Version: 4.0.0.0&lt;BR /&gt;Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL&lt;BR /&gt;CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll&lt;BR /&gt;----------------------------------------&lt;BR /&gt;PresentationFramework.Aero2&lt;BR /&gt;Assembly Version: 4.0.0.0&lt;BR /&gt;Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL&lt;BR /&gt;CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework.Aero2/v4.0_4.0.0.0__31bf3856ad364e35/PresentationFramework.Aero2.dll&lt;BR /&gt;----------------------------------------&lt;BR /&gt;System.Drawing&lt;BR /&gt;Assembly Version: 4.0.0.0&lt;BR /&gt;Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL&lt;BR /&gt;CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll&lt;BR /&gt;----------------------------------------&lt;BR /&gt;accoremgd&lt;BR /&gt;Assembly Version: 19.0.0.0&lt;BR /&gt;Win32 Version: 19.0.55.0.0&lt;BR /&gt;CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202013/accoremgd.DLL&lt;BR /&gt;----------------------------------------&lt;BR /&gt;Acmgd&lt;BR /&gt;Assembly Version: 19.0.0.0&lt;BR /&gt;Win32 Version: 19.0.55.0.0&lt;BR /&gt;CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202013/Acmgd.DLL&lt;BR /&gt;----------------------------------------&lt;BR /&gt;AcWindows&lt;BR /&gt;Assembly Version: 19.0.0.0&lt;BR /&gt;Win32 Version: 19.0.55.0.0&lt;BR /&gt;CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202013/AcWindows.DLL&lt;BR /&gt;----------------------------------------&lt;BR /&gt;AcCui&lt;BR /&gt;Assembly Version: 19.0.0.0&lt;BR /&gt;Win32 Version: 19.0.55.0.0&lt;BR /&gt;CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202013/AcCui.DLL&lt;BR /&gt;----------------------------------------&lt;BR /&gt;PresentationFramework-SystemXml&lt;BR /&gt;Assembly Version: 4.0.0.0&lt;BR /&gt;Win32 Version: 4.0.30319.33440&lt;BR /&gt;CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework-SystemXml/v4.0_4.0.0.0__b77a5c561934e089/PresentationFramework-SystemXml.dll&lt;BR /&gt;----------------------------------------&lt;BR /&gt;PresentationFramework.Aero&lt;BR /&gt;Assembly Version: 4.0.0.0&lt;BR /&gt;Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL&lt;BR /&gt;CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework.Aero/v4.0_4.0.0.0__31bf3856ad364e35/PresentationFramework.Aero.dll&lt;BR /&gt;----------------------------------------&lt;BR /&gt;WindowsFormsIntegration&lt;BR /&gt;Assembly Version: 4.0.0.0&lt;BR /&gt;Win32 Version: 4.0.30319.34003 built by: FX45W81RTMGDR&lt;BR /&gt;CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/WindowsFormsIntegration/v4.0_4.0.0.0__31bf3856ad364e35/WindowsFormsIntegration.dll&lt;BR /&gt;----------------------------------------&lt;BR /&gt;AcWindows.resources&lt;BR /&gt;Assembly Version: 19.0.0.0&lt;BR /&gt;Win32 Version: 19.0.55.0.0&lt;BR /&gt;CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202013/en-US/AcWindows.resources.DLL&lt;BR /&gt;----------------------------------------&lt;BR /&gt;PresentationUI&lt;BR /&gt;Assembly Version: 4.0.0.0&lt;BR /&gt;Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL&lt;BR /&gt;CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/PresentationUI/v4.0_4.0.0.0__31bf3856ad364e35/PresentationUI.dll&lt;BR /&gt;----------------------------------------&lt;BR /&gt;System.Xml.Linq&lt;BR /&gt;Assembly Version: 4.0.0.0&lt;BR /&gt;Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL&lt;BR /&gt;CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml.Linq/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.Linq.dll&lt;BR /&gt;----------------------------------------&lt;BR /&gt;PresentationFramework-SystemXmlLinq&lt;BR /&gt;Assembly Version: 4.0.0.0&lt;BR /&gt;Win32 Version: 4.0.30319.33440&lt;BR /&gt;CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework-SystemXmlLinq/v4.0_4.0.0.0__b77a5c561934e089/PresentationFramework-SystemXmlLinq.dll&lt;BR /&gt;----------------------------------------&lt;BR /&gt;System.Windows.Forms&lt;BR /&gt;Assembly Version: 4.0.0.0&lt;BR /&gt;Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL&lt;BR /&gt;CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll&lt;BR /&gt;----------------------------------------&lt;BR /&gt;RibbonSample&lt;BR /&gt;Assembly Version: 1.0.0.0&lt;BR /&gt;Win32 Version: 1.0.0.0&lt;BR /&gt;CodeBase: file:///C:/ProgramData/Autodesk/ApplicationPlugins/myApp.bundle/Application/RibbonSample.dll&lt;BR /&gt;----------------------------------------&lt;BR /&gt;ContextualTabSelectorRules&lt;BR /&gt;Assembly Version: 0.0.0.0&lt;BR /&gt;Win32 Version: 19.0.55.0.0&lt;BR /&gt;CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202013/AcWindows.dll&lt;BR /&gt;----------------------------------------&lt;BR /&gt;ManagedMC3&lt;BR /&gt;Assembly Version: 6.4.0.0&lt;BR /&gt;Win32 Version: 6.4.0.0&lt;BR /&gt;CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202013/ManagedMC3.DLL&lt;BR /&gt;----------------------------------------&lt;BR /&gt;PresentationFramework-SystemCore&lt;BR /&gt;Assembly Version: 4.0.0.0&lt;BR /&gt;Win32 Version: 4.0.30319.33440&lt;BR /&gt;CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework-SystemCore/v4.0_4.0.0.0__b77a5c561934e089/PresentationFramework-SystemCore.dll&lt;BR /&gt;----------------------------------------&lt;BR /&gt;UIAutomationTypes&lt;BR /&gt;Assembly Version: 4.0.0.0&lt;BR /&gt;Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL&lt;BR /&gt;CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/UIAutomationTypes/v4.0_4.0.0.0__31bf3856ad364e35/UIAutomationTypes.dll&lt;BR /&gt;----------------------------------------&lt;BR /&gt;AcLivePreviewContext&lt;BR /&gt;Assembly Version: 0.0.0.0&lt;BR /&gt;Win32 Version: 19.0.55.0.0&lt;BR /&gt;CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202013/AcWindows.dll&lt;BR /&gt;----------------------------------------&lt;BR /&gt;AcLayer&lt;BR /&gt;Assembly Version: 19.0.0.0&lt;BR /&gt;Win32 Version: 19.0.55.0.0&lt;BR /&gt;CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202013/AcLayer.DLL&lt;BR /&gt;----------------------------------------&lt;BR /&gt;AcLayer.resources&lt;BR /&gt;Assembly Version: 19.0.0.0&lt;BR /&gt;Win32 Version: 19.0.55.0.0&lt;BR /&gt;CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202013/en-US/AcLayer.resources.DLL&lt;BR /&gt;----------------------------------------&lt;BR /&gt;PresentationFramework.Luna&lt;BR /&gt;Assembly Version: 4.0.0.0&lt;BR /&gt;Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL&lt;BR /&gt;CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework.Luna/v4.0_4.0.0.0__31bf3856ad364e35/PresentationFramework.Luna.dll&lt;BR /&gt;----------------------------------------&lt;BR /&gt;UIAutomationProvider&lt;BR /&gt;Assembly Version: 4.0.0.0&lt;BR /&gt;Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL&lt;BR /&gt;CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/UIAutomationProvider/v4.0_4.0.0.0__31bf3856ad364e35/UIAutomationProvider.dll&lt;BR /&gt;----------------------------------------&lt;BR /&gt;CadLibrary&lt;BR /&gt;Assembly Version: 1.0.0.0&lt;BR /&gt;Win32 Version: 1.0.0.0&lt;BR /&gt;CodeBase: file:///C:/Users/lenovo/Desktop/CadLibrary/CadLibrary/bin/Debug/CadLibrary.dll&lt;BR /&gt;----------------------------------------&lt;BR /&gt;AcMrUi&lt;BR /&gt;Assembly Version: 19.0.0.0&lt;BR /&gt;Win32 Version: 19.0.55.0.0&lt;BR /&gt;CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202013/AcMrUI.DLL&lt;BR /&gt;----------------------------------------&lt;BR /&gt;AcMrUi.resources&lt;BR /&gt;Assembly Version: 19.0.0.0&lt;BR /&gt;Win32 Version: 19.0.55.0.0&lt;BR /&gt;CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202013/en-US/AcMrUi.resources.DLL&lt;BR /&gt;----------------------------------------&lt;BR /&gt;Xbim.Ifc&lt;BR /&gt;Assembly Version: 4.0.0.0&lt;BR /&gt;Win32 Version: 4.0.1701.17250&lt;BR /&gt;CodeBase: file:///C:/Users/lenovo/Desktop/CadLibrary/CadLibrary/bin/Debug/Xbim.Ifc.DLL&lt;BR /&gt;----------------------------------------&lt;BR /&gt;Xbim.Common&lt;BR /&gt;Assembly Version: 4.0.0.0&lt;BR /&gt;Win32 Version: 4.0.1701.17250&lt;BR /&gt;CodeBase: file:///C:/Users/lenovo/Desktop/CadLibrary/CadLibrary/bin/Debug/Xbim.Common.DLL&lt;BR /&gt;----------------------------------------&lt;BR /&gt;Xbim.Ifc4&lt;BR /&gt;Assembly Version: 4.0.0.0&lt;BR /&gt;Win32 Version: 4.0.1701.17250&lt;BR /&gt;CodeBase: file:///C:/Users/lenovo/Desktop/CadLibrary/CadLibrary/bin/Debug/Xbim.Ifc4.DLL&lt;BR /&gt;----------------------------------------&lt;BR /&gt;Xbim.IO&lt;BR /&gt;Assembly Version: 4.0.0.0&lt;BR /&gt;Win32 Version: 4.0.1701.17250&lt;BR /&gt;CodeBase: file:///C:/Users/lenovo/Desktop/CadLibrary/CadLibrary/bin/Debug/Xbim.IO.DLL&lt;BR /&gt;----------------------------------------&lt;BR /&gt;ICSharpCode.SharpZipLib&lt;BR /&gt;Assembly Version: 0.86.0.518&lt;BR /&gt;Win32 Version: 0.86.0.518&lt;BR /&gt;CodeBase: file:///C:/Users/lenovo/Desktop/CadLibrary/CadLibrary/bin/Debug/ICSharpCode.SharpZipLib.DLL&lt;BR /&gt;----------------------------------------&lt;BR /&gt;Xbim.Ifc2x3&lt;BR /&gt;Assembly Version: 4.0.0.0&lt;BR /&gt;Win32 Version: 4.0.1701.17250&lt;BR /&gt;CodeBase: file:///C:/Users/lenovo/Desktop/CadLibrary/CadLibrary/bin/Debug/Xbim.Ifc2x3.DLL&lt;BR /&gt;----------------------------------------&lt;/P&gt;&lt;P&gt;************** JIT Debugging **************&lt;BR /&gt;Application does not support Windows Forms just-in-time (JIT)&lt;BR /&gt;debugging. Contact the application author for more&lt;BR /&gt;information.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;=================== and here is my code ===============================&lt;/P&gt;&lt;P&gt;using (Transaction trans = acDb.TransactionManager.StartTransaction())&lt;BR /&gt;{&lt;BR /&gt;&lt;BR /&gt;BlockTable BlkTbl;&lt;BR /&gt;BlkTbl = trans.GetObject(acDb.BlockTableId, OpenMode.ForRead) as BlockTable;&lt;BR /&gt;&lt;BR /&gt;BlockTableRecord BlkTblRec;&lt;BR /&gt;BlkTblRec = trans.GetObject(BlkTbl[BlockTableRecord.ModelSpace], OpenMode.ForWrite) as BlockTableRecord;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;using (var model = IfcStore.Open("model.ifc"))&lt;BR /&gt;{&lt;/P&gt;&lt;P&gt;//some logic&amp;nbsp;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;trans.Commit();&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;</description>
    <pubDate>Wed, 08 Mar 2017 00:21:43 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-03-08T00:21:43Z</dc:date>
    <item>
      <title>exception error in autocad 2013 .net api with visual studio</title>
      <link>https://forums.autodesk.com/t5/net-forum/exception-error-in-autocad-2013-net-api-with-visual-studio/m-p/6928280#M32404</link>
      <description>&lt;P&gt;hi there , i'm having this exception when attemp to test a &amp;nbsp;visual studio class library . in this class i'm using autocad 2013 c# API , &amp;nbsp;the error is as following &amp;nbsp;..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Application does not support just-in-time (JIT)&lt;BR /&gt;debugging. See the end of this message for details.&lt;/P&gt;&lt;P&gt;************** Exception Text **************&lt;BR /&gt;System.TypeInitializationException: The type initializer for 'Xbim.IO.Memory.MemoryModel' threw an exception. ---&amp;gt; System.IO.FileNotFoundException: Could not load file or assembly 'log4net, Version=1.2.15.0, Culture=neutral, PublicKeyToken=669e0ddf0bb1aa2a' or one of its dependencies. The system cannot find the file specified.&lt;BR /&gt;at Xbim.IO.Memory.MemoryModel..cctor()&lt;BR /&gt;--- End of inner exception stack trace ---&lt;BR /&gt;at Xbim.IO.Memory.MemoryModel.GetFileHeader(String fileName)&lt;BR /&gt;at Xbim.Ifc.IfcStore.GetIfcSchemaVersion(String path, String&amp;amp; schemaIdentifier) in C:\BuildAgent\work\77d7b8e93613846d\Xbim.Ifc\IfcStore.cs:line 378&lt;BR /&gt;at Xbim.Ifc.IfcStore.Open(String path, XbimEditorCredentials editorDetails, Nullable`1 ifcDatabaseSizeThreshHold, ReportProgressDelegate progDelegate, XbimDBAccess accessMode) in C:\BuildAgent\work\77d7b8e93613846d\Xbim.Ifc\IfcStore.cs:line 285&lt;BR /&gt;at CadLibrary.Class1.DrawModel() in c:\Users\lenovo\Desktop\CadLibrary\CadLibrary\Class1.cs:line 267&lt;BR /&gt;at Autodesk.AutoCAD.Runtime.CommandClass.InvokeWorker(MethodInfo mi, Object commandObject, Boolean bLispFunction)&lt;BR /&gt;at Autodesk.AutoCAD.Runtime.CommandClass.InvokeWorkerWithExceptionFilter(MethodInfo mi, Object commandObject, Boolean bLispFunction)&lt;BR /&gt;at Autodesk.AutoCAD.Runtime.CommandClass.CommandThunk.Invoke()&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;************** Loaded Assemblies **************&lt;BR /&gt;mscorlib&lt;BR /&gt;Assembly Version: 4.0.0.0&lt;BR /&gt;Win32 Version: 4.0.30319.34011 built by: FX45W81RTMGDR&lt;BR /&gt;CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll&lt;BR /&gt;----------------------------------------&lt;BR /&gt;Acdbmgd&lt;BR /&gt;Assembly Version: 19.0.0.0&lt;BR /&gt;Win32 Version: 19.0.55.0.0&lt;BR /&gt;CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202013/AcdbMgd.DLL&lt;BR /&gt;----------------------------------------&lt;BR /&gt;System&lt;BR /&gt;Assembly Version: 4.0.0.0&lt;BR /&gt;Win32 Version: 4.0.30319.34003 built by: FX45W81RTMGDR&lt;BR /&gt;CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll&lt;BR /&gt;----------------------------------------&lt;BR /&gt;System.Core&lt;BR /&gt;Assembly Version: 4.0.0.0&lt;BR /&gt;Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL&lt;BR /&gt;CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll&lt;BR /&gt;----------------------------------------&lt;BR /&gt;AdApplicationFrame&lt;BR /&gt;Assembly Version: 0.0.0.0&lt;BR /&gt;Win32 Version: 3.5.19.0&lt;BR /&gt;CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202013/AdApplicationFrame.DLL&lt;BR /&gt;----------------------------------------&lt;BR /&gt;AdWindows&lt;BR /&gt;Assembly Version: 3.5.21.0&lt;BR /&gt;Win32 Version: 3.5.21.0&lt;BR /&gt;CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202013/AdWindows.DLL&lt;BR /&gt;----------------------------------------&lt;BR /&gt;PresentationFramework&lt;BR /&gt;Assembly Version: 4.0.0.0&lt;BR /&gt;Win32 Version: 4.0.30319.34003&lt;BR /&gt;CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework/v4.0_4.0.0.0__31bf3856ad364e35/PresentationFramework.dll&lt;BR /&gt;----------------------------------------&lt;BR /&gt;WindowsBase&lt;BR /&gt;Assembly Version: 4.0.0.0&lt;BR /&gt;Win32 Version: 4.0.30319.34003 built by: FX45W81RTMGDR&lt;BR /&gt;CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/WindowsBase/v4.0_4.0.0.0__31bf3856ad364e35/WindowsBase.dll&lt;BR /&gt;----------------------------------------&lt;BR /&gt;PresentationCore&lt;BR /&gt;Assembly Version: 4.0.0.0&lt;BR /&gt;Win32 Version: 4.0.30319.34003 built by: FX45W81RTMGDR&lt;BR /&gt;CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/PresentationCore/v4.0_4.0.0.0__31bf3856ad364e35/PresentationCore.dll&lt;BR /&gt;----------------------------------------&lt;BR /&gt;System.Xaml&lt;BR /&gt;Assembly Version: 4.0.0.0&lt;BR /&gt;Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL&lt;BR /&gt;CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xaml/v4.0_4.0.0.0__b77a5c561934e089/System.Xaml.dll&lt;BR /&gt;----------------------------------------&lt;BR /&gt;System.Configuration&lt;BR /&gt;Assembly Version: 4.0.0.0&lt;BR /&gt;Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL&lt;BR /&gt;CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll&lt;BR /&gt;----------------------------------------&lt;BR /&gt;System.Xml&lt;BR /&gt;Assembly Version: 4.0.0.0&lt;BR /&gt;Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL&lt;BR /&gt;CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll&lt;BR /&gt;----------------------------------------&lt;BR /&gt;PresentationFramework.Aero2&lt;BR /&gt;Assembly Version: 4.0.0.0&lt;BR /&gt;Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL&lt;BR /&gt;CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework.Aero2/v4.0_4.0.0.0__31bf3856ad364e35/PresentationFramework.Aero2.dll&lt;BR /&gt;----------------------------------------&lt;BR /&gt;System.Drawing&lt;BR /&gt;Assembly Version: 4.0.0.0&lt;BR /&gt;Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL&lt;BR /&gt;CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll&lt;BR /&gt;----------------------------------------&lt;BR /&gt;accoremgd&lt;BR /&gt;Assembly Version: 19.0.0.0&lt;BR /&gt;Win32 Version: 19.0.55.0.0&lt;BR /&gt;CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202013/accoremgd.DLL&lt;BR /&gt;----------------------------------------&lt;BR /&gt;Acmgd&lt;BR /&gt;Assembly Version: 19.0.0.0&lt;BR /&gt;Win32 Version: 19.0.55.0.0&lt;BR /&gt;CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202013/Acmgd.DLL&lt;BR /&gt;----------------------------------------&lt;BR /&gt;AcWindows&lt;BR /&gt;Assembly Version: 19.0.0.0&lt;BR /&gt;Win32 Version: 19.0.55.0.0&lt;BR /&gt;CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202013/AcWindows.DLL&lt;BR /&gt;----------------------------------------&lt;BR /&gt;AcCui&lt;BR /&gt;Assembly Version: 19.0.0.0&lt;BR /&gt;Win32 Version: 19.0.55.0.0&lt;BR /&gt;CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202013/AcCui.DLL&lt;BR /&gt;----------------------------------------&lt;BR /&gt;PresentationFramework-SystemXml&lt;BR /&gt;Assembly Version: 4.0.0.0&lt;BR /&gt;Win32 Version: 4.0.30319.33440&lt;BR /&gt;CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework-SystemXml/v4.0_4.0.0.0__b77a5c561934e089/PresentationFramework-SystemXml.dll&lt;BR /&gt;----------------------------------------&lt;BR /&gt;PresentationFramework.Aero&lt;BR /&gt;Assembly Version: 4.0.0.0&lt;BR /&gt;Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL&lt;BR /&gt;CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework.Aero/v4.0_4.0.0.0__31bf3856ad364e35/PresentationFramework.Aero.dll&lt;BR /&gt;----------------------------------------&lt;BR /&gt;WindowsFormsIntegration&lt;BR /&gt;Assembly Version: 4.0.0.0&lt;BR /&gt;Win32 Version: 4.0.30319.34003 built by: FX45W81RTMGDR&lt;BR /&gt;CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/WindowsFormsIntegration/v4.0_4.0.0.0__31bf3856ad364e35/WindowsFormsIntegration.dll&lt;BR /&gt;----------------------------------------&lt;BR /&gt;AcWindows.resources&lt;BR /&gt;Assembly Version: 19.0.0.0&lt;BR /&gt;Win32 Version: 19.0.55.0.0&lt;BR /&gt;CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202013/en-US/AcWindows.resources.DLL&lt;BR /&gt;----------------------------------------&lt;BR /&gt;PresentationUI&lt;BR /&gt;Assembly Version: 4.0.0.0&lt;BR /&gt;Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL&lt;BR /&gt;CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/PresentationUI/v4.0_4.0.0.0__31bf3856ad364e35/PresentationUI.dll&lt;BR /&gt;----------------------------------------&lt;BR /&gt;System.Xml.Linq&lt;BR /&gt;Assembly Version: 4.0.0.0&lt;BR /&gt;Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL&lt;BR /&gt;CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml.Linq/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.Linq.dll&lt;BR /&gt;----------------------------------------&lt;BR /&gt;PresentationFramework-SystemXmlLinq&lt;BR /&gt;Assembly Version: 4.0.0.0&lt;BR /&gt;Win32 Version: 4.0.30319.33440&lt;BR /&gt;CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework-SystemXmlLinq/v4.0_4.0.0.0__b77a5c561934e089/PresentationFramework-SystemXmlLinq.dll&lt;BR /&gt;----------------------------------------&lt;BR /&gt;System.Windows.Forms&lt;BR /&gt;Assembly Version: 4.0.0.0&lt;BR /&gt;Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL&lt;BR /&gt;CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll&lt;BR /&gt;----------------------------------------&lt;BR /&gt;RibbonSample&lt;BR /&gt;Assembly Version: 1.0.0.0&lt;BR /&gt;Win32 Version: 1.0.0.0&lt;BR /&gt;CodeBase: file:///C:/ProgramData/Autodesk/ApplicationPlugins/myApp.bundle/Application/RibbonSample.dll&lt;BR /&gt;----------------------------------------&lt;BR /&gt;ContextualTabSelectorRules&lt;BR /&gt;Assembly Version: 0.0.0.0&lt;BR /&gt;Win32 Version: 19.0.55.0.0&lt;BR /&gt;CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202013/AcWindows.dll&lt;BR /&gt;----------------------------------------&lt;BR /&gt;ManagedMC3&lt;BR /&gt;Assembly Version: 6.4.0.0&lt;BR /&gt;Win32 Version: 6.4.0.0&lt;BR /&gt;CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202013/ManagedMC3.DLL&lt;BR /&gt;----------------------------------------&lt;BR /&gt;PresentationFramework-SystemCore&lt;BR /&gt;Assembly Version: 4.0.0.0&lt;BR /&gt;Win32 Version: 4.0.30319.33440&lt;BR /&gt;CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework-SystemCore/v4.0_4.0.0.0__b77a5c561934e089/PresentationFramework-SystemCore.dll&lt;BR /&gt;----------------------------------------&lt;BR /&gt;UIAutomationTypes&lt;BR /&gt;Assembly Version: 4.0.0.0&lt;BR /&gt;Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL&lt;BR /&gt;CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/UIAutomationTypes/v4.0_4.0.0.0__31bf3856ad364e35/UIAutomationTypes.dll&lt;BR /&gt;----------------------------------------&lt;BR /&gt;AcLivePreviewContext&lt;BR /&gt;Assembly Version: 0.0.0.0&lt;BR /&gt;Win32 Version: 19.0.55.0.0&lt;BR /&gt;CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202013/AcWindows.dll&lt;BR /&gt;----------------------------------------&lt;BR /&gt;AcLayer&lt;BR /&gt;Assembly Version: 19.0.0.0&lt;BR /&gt;Win32 Version: 19.0.55.0.0&lt;BR /&gt;CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202013/AcLayer.DLL&lt;BR /&gt;----------------------------------------&lt;BR /&gt;AcLayer.resources&lt;BR /&gt;Assembly Version: 19.0.0.0&lt;BR /&gt;Win32 Version: 19.0.55.0.0&lt;BR /&gt;CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202013/en-US/AcLayer.resources.DLL&lt;BR /&gt;----------------------------------------&lt;BR /&gt;PresentationFramework.Luna&lt;BR /&gt;Assembly Version: 4.0.0.0&lt;BR /&gt;Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL&lt;BR /&gt;CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework.Luna/v4.0_4.0.0.0__31bf3856ad364e35/PresentationFramework.Luna.dll&lt;BR /&gt;----------------------------------------&lt;BR /&gt;UIAutomationProvider&lt;BR /&gt;Assembly Version: 4.0.0.0&lt;BR /&gt;Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL&lt;BR /&gt;CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/UIAutomationProvider/v4.0_4.0.0.0__31bf3856ad364e35/UIAutomationProvider.dll&lt;BR /&gt;----------------------------------------&lt;BR /&gt;CadLibrary&lt;BR /&gt;Assembly Version: 1.0.0.0&lt;BR /&gt;Win32 Version: 1.0.0.0&lt;BR /&gt;CodeBase: file:///C:/Users/lenovo/Desktop/CadLibrary/CadLibrary/bin/Debug/CadLibrary.dll&lt;BR /&gt;----------------------------------------&lt;BR /&gt;AcMrUi&lt;BR /&gt;Assembly Version: 19.0.0.0&lt;BR /&gt;Win32 Version: 19.0.55.0.0&lt;BR /&gt;CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202013/AcMrUI.DLL&lt;BR /&gt;----------------------------------------&lt;BR /&gt;AcMrUi.resources&lt;BR /&gt;Assembly Version: 19.0.0.0&lt;BR /&gt;Win32 Version: 19.0.55.0.0&lt;BR /&gt;CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%202013/en-US/AcMrUi.resources.DLL&lt;BR /&gt;----------------------------------------&lt;BR /&gt;Xbim.Ifc&lt;BR /&gt;Assembly Version: 4.0.0.0&lt;BR /&gt;Win32 Version: 4.0.1701.17250&lt;BR /&gt;CodeBase: file:///C:/Users/lenovo/Desktop/CadLibrary/CadLibrary/bin/Debug/Xbim.Ifc.DLL&lt;BR /&gt;----------------------------------------&lt;BR /&gt;Xbim.Common&lt;BR /&gt;Assembly Version: 4.0.0.0&lt;BR /&gt;Win32 Version: 4.0.1701.17250&lt;BR /&gt;CodeBase: file:///C:/Users/lenovo/Desktop/CadLibrary/CadLibrary/bin/Debug/Xbim.Common.DLL&lt;BR /&gt;----------------------------------------&lt;BR /&gt;Xbim.Ifc4&lt;BR /&gt;Assembly Version: 4.0.0.0&lt;BR /&gt;Win32 Version: 4.0.1701.17250&lt;BR /&gt;CodeBase: file:///C:/Users/lenovo/Desktop/CadLibrary/CadLibrary/bin/Debug/Xbim.Ifc4.DLL&lt;BR /&gt;----------------------------------------&lt;BR /&gt;Xbim.IO&lt;BR /&gt;Assembly Version: 4.0.0.0&lt;BR /&gt;Win32 Version: 4.0.1701.17250&lt;BR /&gt;CodeBase: file:///C:/Users/lenovo/Desktop/CadLibrary/CadLibrary/bin/Debug/Xbim.IO.DLL&lt;BR /&gt;----------------------------------------&lt;BR /&gt;ICSharpCode.SharpZipLib&lt;BR /&gt;Assembly Version: 0.86.0.518&lt;BR /&gt;Win32 Version: 0.86.0.518&lt;BR /&gt;CodeBase: file:///C:/Users/lenovo/Desktop/CadLibrary/CadLibrary/bin/Debug/ICSharpCode.SharpZipLib.DLL&lt;BR /&gt;----------------------------------------&lt;BR /&gt;Xbim.Ifc2x3&lt;BR /&gt;Assembly Version: 4.0.0.0&lt;BR /&gt;Win32 Version: 4.0.1701.17250&lt;BR /&gt;CodeBase: file:///C:/Users/lenovo/Desktop/CadLibrary/CadLibrary/bin/Debug/Xbim.Ifc2x3.DLL&lt;BR /&gt;----------------------------------------&lt;/P&gt;&lt;P&gt;************** JIT Debugging **************&lt;BR /&gt;Application does not support Windows Forms just-in-time (JIT)&lt;BR /&gt;debugging. Contact the application author for more&lt;BR /&gt;information.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;=================== and here is my code ===============================&lt;/P&gt;&lt;P&gt;using (Transaction trans = acDb.TransactionManager.StartTransaction())&lt;BR /&gt;{&lt;BR /&gt;&lt;BR /&gt;BlockTable BlkTbl;&lt;BR /&gt;BlkTbl = trans.GetObject(acDb.BlockTableId, OpenMode.ForRead) as BlockTable;&lt;BR /&gt;&lt;BR /&gt;BlockTableRecord BlkTblRec;&lt;BR /&gt;BlkTblRec = trans.GetObject(BlkTbl[BlockTableRecord.ModelSpace], OpenMode.ForWrite) as BlockTableRecord;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;using (var model = IfcStore.Open("model.ifc"))&lt;BR /&gt;{&lt;/P&gt;&lt;P&gt;//some logic&amp;nbsp;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;trans.Commit();&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;</description>
      <pubDate>Wed, 08 Mar 2017 00:21:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/exception-error-in-autocad-2013-net-api-with-visual-studio/m-p/6928280#M32404</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-03-08T00:21:43Z</dc:date>
    </item>
    <item>
      <title>Re: exception error in autocad 2013 .net api with visual studio</title>
      <link>https://forums.autodesk.com/t5/net-forum/exception-error-in-autocad-2013-net-api-with-visual-studio/m-p/6929688#M32405</link>
      <description>The exception says that the runtime cannot find an assembly:&lt;BR /&gt;&lt;BR /&gt;System.IO.FileNotFoundException: Could not load file or assembly 'log4net, Version=1.2.15.0,</description>
      <pubDate>Wed, 08 Mar 2017 12:49:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/exception-error-in-autocad-2013-net-api-with-visual-studio/m-p/6929688#M32405</guid>
      <dc:creator>ActivistInvestor</dc:creator>
      <dc:date>2017-03-08T12:49:17Z</dc:date>
    </item>
  </channel>
</rss>

