<?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 Debugging AutoCAD 2008 with Visual Studio 2010 Express in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/debugging-autocad-2008-with-visual-studio-2010-express/m-p/2888206#M62182</link>
    <description>&lt;P&gt;I have read various forum posts and seen different google responses. Is it possible to debug a .net project in AutoCAD 2008 with Visual Studio 2010?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have modified the acad.exe.config file as shown below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;configuration&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;startup&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;supportedRuntime version="v2.0.50727"/&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;/startup&amp;gt;&lt;BR /&gt;&amp;lt;/configuration&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;And I have set the visual studio debug options to:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Command Line Arguments: start acad.exe&lt;BR /&gt;Working Directory: C:\Program Files\AutoCAD Architecture 2008\&lt;BR /&gt;Enable the Visual Studio Hosting Process: Checked&lt;BR /&gt;&lt;BR /&gt;I build the project, then i try to start debugging. I get the following error:&lt;BR /&gt;&lt;BR /&gt;System.Reflection.ReflectionTypeLoadException was unhandled&lt;BR /&gt;&amp;nbsp; Message=Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.&lt;BR /&gt;&amp;nbsp; Source=mscorlib&lt;BR /&gt;&lt;BR /&gt;Any help would be much appreciated. Thanks in advance.&lt;/P&gt;</description>
    <pubDate>Thu, 20 Jan 2011 21:43:36 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2011-01-20T21:43:36Z</dc:date>
    <item>
      <title>Debugging AutoCAD 2008 with Visual Studio 2010 Express</title>
      <link>https://forums.autodesk.com/t5/net-forum/debugging-autocad-2008-with-visual-studio-2010-express/m-p/2888206#M62182</link>
      <description>&lt;P&gt;I have read various forum posts and seen different google responses. Is it possible to debug a .net project in AutoCAD 2008 with Visual Studio 2010?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have modified the acad.exe.config file as shown below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;configuration&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;startup&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;supportedRuntime version="v2.0.50727"/&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;/startup&amp;gt;&lt;BR /&gt;&amp;lt;/configuration&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;And I have set the visual studio debug options to:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Command Line Arguments: start acad.exe&lt;BR /&gt;Working Directory: C:\Program Files\AutoCAD Architecture 2008\&lt;BR /&gt;Enable the Visual Studio Hosting Process: Checked&lt;BR /&gt;&lt;BR /&gt;I build the project, then i try to start debugging. I get the following error:&lt;BR /&gt;&lt;BR /&gt;System.Reflection.ReflectionTypeLoadException was unhandled&lt;BR /&gt;&amp;nbsp; Message=Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.&lt;BR /&gt;&amp;nbsp; Source=mscorlib&lt;BR /&gt;&lt;BR /&gt;Any help would be much appreciated. Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jan 2011 21:43:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/debugging-autocad-2008-with-visual-studio-2010-express/m-p/2888206#M62182</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-01-20T21:43:36Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging AutoCAD 2008 with Visual Studio 2010 Express</title>
      <link>https://forums.autodesk.com/t5/net-forum/debugging-autocad-2008-with-visual-studio-2010-express/m-p/2888336#M62183</link>
      <description>&lt;P&gt;I use option 3 as recommended in this article.&amp;nbsp;&lt;A target="_self" href="http://through-the-interface.typepad.com/through_the_interface/2010/04/hitting-breakpoints-in-net-class-libraries-while-debugging-with-visual-studio-2010.html" rel="nofollow"&gt;From through-the-interface&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Works fine for me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ed. - Actually, I'm not using Express so I don't know if that option will work for you.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jan 2011 23:16:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/debugging-autocad-2008-with-visual-studio-2010-express/m-p/2888336#M62183</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-01-20T23:16:45Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging AutoCAD 2008 with Visual Studio 2010 Express</title>
      <link>https://forums.autodesk.com/t5/net-forum/debugging-autocad-2008-with-visual-studio-2010-express/m-p/2888412#M62184</link>
      <description>&lt;P&gt;Perhaps someone else can tell me otherwise, but option 3 doesn't work for me because VS2010 Express doesn't let me add an exe as an existing project.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jan 2011 00:21:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/debugging-autocad-2008-with-visual-studio-2010-express/m-p/2888412#M62184</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-01-21T00:21:12Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging AutoCAD 2008 with Visual Studio 2010 Express</title>
      <link>https://forums.autodesk.com/t5/net-forum/debugging-autocad-2008-with-visual-studio-2010-express/m-p/2889774#M62185</link>
      <description>&lt;P&gt;I found the solution for C# here:&lt;A href="http://forums.autodesk.com/t5/NET/Visual-C-Express-2010/m-p/2886742#M22282" rel="nofollow" target="_blank"&gt;http://forums.autodesk.com/t5/NET/Visual-C-Express-2010/m-p/2886742#M22282&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This fix also works for vb.net, just modify the .vbproj instead of .csproj.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jan 2011 22:13:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/debugging-autocad-2008-with-visual-studio-2010-express/m-p/2889774#M62185</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-01-21T22:13:24Z</dc:date>
    </item>
  </channel>
</rss>

