<?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 Re: Visual Studio Won't Load AutoCAD for Debugging in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/visual-studio-won-t-load-autocad-for-debugging/m-p/10929332#M13768</link>
    <description>&lt;P&gt;I tried this already. Visual Studio attempts to open AutoCAD, then just abruptly stops. Pretty much the same as before but without the warning.&lt;/P&gt;</description>
    <pubDate>Fri, 04 Feb 2022 18:23:45 GMT</pubDate>
    <dc:creator>jmcfarland1996</dc:creator>
    <dc:date>2022-02-04T18:23:45Z</dc:date>
    <item>
      <title>Visual Studio Won't Load AutoCAD for Debugging</title>
      <link>https://forums.autodesk.com/t5/net-forum/visual-studio-won-t-load-autocad-for-debugging/m-p/10927627#M13766</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am trying to debug a C# AutoCAD plug-in I made. I am using Visual Studio 2019 and AutoCAD 2020. I am using the "Start External Program" feature and upon pressing play, Visual Studio should open AutoCAD. It attempts to do this, but I get this message:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="Loaderlock Exception.JPG" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1020543iE78C760EE9DBADD8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Loaderlock Exception.JPG" alt="Loaderlock Exception.JPG" /&gt;&lt;/span&gt;&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;&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;&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;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I open AutoCAD manually and then netload my dll, no problem. But if Visual Studio tries to open AutoCAD, it won't do it. I need to open it this way because I am debugging my application. I am using the Managed .NET API with C#. How do I avoid running my managed code in DllMain? I am new to programming and can't figure this one out. Any help would be much appreciated!&lt;/P&gt;</description>
      <pubDate>Fri, 04 Feb 2022 02:42:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/visual-studio-won-t-load-autocad-for-debugging/m-p/10927627#M13766</guid>
      <dc:creator>jmcfarland1996</dc:creator>
      <dc:date>2022-02-04T02:42:21Z</dc:date>
    </item>
    <item>
      <title>Re: Visual Studio Won't Load AutoCAD for Debugging</title>
      <link>https://forums.autodesk.com/t5/net-forum/visual-studio-won-t-load-autocad-for-debugging/m-p/10927882#M13767</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Try the shortcut Ctrl+Alt+E to open the Exception Settings window &amp;gt; expand the Managed Debugging Assistant node &amp;gt; uncheck LoaderLock.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Feb 2022 07:14:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/visual-studio-won-t-load-autocad-for-debugging/m-p/10927882#M13767</guid>
      <dc:creator>_gile</dc:creator>
      <dc:date>2022-02-04T07:14:42Z</dc:date>
    </item>
    <item>
      <title>Re: Visual Studio Won't Load AutoCAD for Debugging</title>
      <link>https://forums.autodesk.com/t5/net-forum/visual-studio-won-t-load-autocad-for-debugging/m-p/10929332#M13768</link>
      <description>&lt;P&gt;I tried this already. Visual Studio attempts to open AutoCAD, then just abruptly stops. Pretty much the same as before but without the warning.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Feb 2022 18:23:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/visual-studio-won-t-load-autocad-for-debugging/m-p/10929332#M13768</guid>
      <dc:creator>jmcfarland1996</dc:creator>
      <dc:date>2022-02-04T18:23:45Z</dc:date>
    </item>
    <item>
      <title>Re: Visual Studio Won't Load AutoCAD for Debugging</title>
      <link>https://forums.autodesk.com/t5/net-forum/visual-studio-won-t-load-autocad-for-debugging/m-p/10929412#M13769</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/9923576"&gt;@jmcfarland1996&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Could you capture your Project properties\ application and&amp;nbsp;Project properties\ debug?&lt;BR /&gt;I have 2 assumptions:&lt;BR /&gt;1. Maybe something wrong with your project's Target framework, be sure to set project Target framework to .Net framework &lt;STRONG&gt;4.7&lt;/STRONG&gt; (not 4.7.1 nor 4.7.2)&lt;/P&gt;&lt;P&gt;2.&amp;nbsp;Maybe something wrong with your Debug\ Start external program, it should be (if autocad installed to default folder):&lt;/P&gt;&lt;P&gt;"C:\Program Files\Autodesk\AutoCAD 2020\acad.exe"&lt;/P&gt;</description>
      <pubDate>Fri, 04 Feb 2022 18:56:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/visual-studio-won-t-load-autocad-for-debugging/m-p/10929412#M13769</guid>
      <dc:creator>ntclmain</dc:creator>
      <dc:date>2022-02-04T18:56:58Z</dc:date>
    </item>
    <item>
      <title>Re: Visual Studio Won't Load AutoCAD for Debugging</title>
      <link>https://forums.autodesk.com/t5/net-forum/visual-studio-won-t-load-autocad-for-debugging/m-p/10929453#M13770</link>
      <description>&lt;P&gt;Make sure you in debug mode and not release mode.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Feb 2022 19:13:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/visual-studio-won-t-load-autocad-for-debugging/m-p/10929453#M13770</guid>
      <dc:creator>Keith.Brown</dc:creator>
      <dc:date>2022-02-04T19:13:25Z</dc:date>
    </item>
    <item>
      <title>Re: Visual Studio Won't Load AutoCAD for Debugging</title>
      <link>https://forums.autodesk.com/t5/net-forum/visual-studio-won-t-load-autocad-for-debugging/m-p/10929884#M13771</link>
      <description>&lt;P&gt;I was using .NET Framework 4.8, but I just changed it to 4.7 and it didn't help. Using a later version of .NET Framework than is necessary for a version of AutoCAD shouldn't hurt right? I remember I had successfully linked Visual Studio to AutoCAD on a previous project, and I just tried using that one and now it isn't working either! I don't know what happened...&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Loaderlock Exception2.JPG" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1021008i010EF37A8DAC8DCD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Loaderlock Exception2.JPG" alt="Loaderlock Exception2.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Loaderlock Exception3.JPG" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1021009i1F5FA73BBAA10585/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Loaderlock Exception3.JPG" alt="Loaderlock Exception3.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 05 Feb 2022 00:34:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/visual-studio-won-t-load-autocad-for-debugging/m-p/10929884#M13771</guid>
      <dc:creator>jmcfarland1996</dc:creator>
      <dc:date>2022-02-05T00:34:10Z</dc:date>
    </item>
    <item>
      <title>Re: Visual Studio Won't Load AutoCAD for Debugging</title>
      <link>https://forums.autodesk.com/t5/net-forum/visual-studio-won-t-load-autocad-for-debugging/m-p/10929886#M13772</link>
      <description>I am in debug mode.</description>
      <pubDate>Sat, 05 Feb 2022 00:37:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/visual-studio-won-t-load-autocad-for-debugging/m-p/10929886#M13772</guid>
      <dc:creator>jmcfarland1996</dc:creator>
      <dc:date>2022-02-05T00:37:15Z</dc:date>
    </item>
    <item>
      <title>Re: Visual Studio Won't Load AutoCAD for Debugging</title>
      <link>https://forums.autodesk.com/t5/net-forum/visual-studio-won-t-load-autocad-for-debugging/m-p/10930188#M13773</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/9923576"&gt;@jmcfarland1996&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From my poor experiences, I'm afraid that you've started with &lt;STRONG&gt;wrong project type&lt;/STRONG&gt;.&lt;BR /&gt;For VS 2019, I started from the type "WPF app (.Net framework)",&amp;nbsp; and Project properties\ application\ Application type (Output type) should be: "WPF class library" not "Class library"&lt;/P&gt;&lt;P&gt;*&lt;BR /&gt;Here is my project properties, it works with CV3D 2022. The project can show user form over CV3D,&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ntclmain_1-1644049082782.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1021063i349BC301CBD28403/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ntclmain_1-1644049082782.png" alt="ntclmain_1-1644049082782.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ntclmain_2-1644049108964.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1021064i8907CB392A78426D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ntclmain_2-1644049108964.png" alt="ntclmain_2-1644049108964.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 05 Feb 2022 08:32:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/visual-studio-won-t-load-autocad-for-debugging/m-p/10930188#M13773</guid>
      <dc:creator>ntclmain</dc:creator>
      <dc:date>2022-02-05T08:32:35Z</dc:date>
    </item>
    <item>
      <title>Re: Visual Studio Won't Load AutoCAD for Debugging</title>
      <link>https://forums.autodesk.com/t5/net-forum/visual-studio-won-t-load-autocad-for-debugging/m-p/10930479#M13774</link>
      <description>&lt;P&gt;By any chance, is the Copy Locale property of the AutoCAD library references set to False?&lt;/P&gt;</description>
      <pubDate>Sat, 05 Feb 2022 13:31:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/visual-studio-won-t-load-autocad-for-debugging/m-p/10930479#M13774</guid>
      <dc:creator>_gile</dc:creator>
      <dc:date>2022-02-05T13:31:49Z</dc:date>
    </item>
    <item>
      <title>Re: Visual Studio Won't Load AutoCAD for Debugging</title>
      <link>https://forums.autodesk.com/t5/net-forum/visual-studio-won-t-load-autocad-for-debugging/m-p/10931382#M13775</link>
      <description>&lt;P&gt;Yes all three are set to false. I tried the "Start Without Debugging" button and it loaded AutoCAD just fine. It is only when I try to open it for debugging that it throws the exception.&lt;/P&gt;&lt;P&gt;Another possible clue: The breakpoints are disabled with this message:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;The breakpoint will not currently be hit. No Symbols have been loaded for this document.&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 06 Feb 2022 06:03:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/visual-studio-won-t-load-autocad-for-debugging/m-p/10931382#M13775</guid>
      <dc:creator>jmcfarland1996</dc:creator>
      <dc:date>2022-02-06T06:03:36Z</dc:date>
    </item>
    <item>
      <title>Re: Visual Studio Won't Load AutoCAD for Debugging</title>
      <link>https://forums.autodesk.com/t5/net-forum/visual-studio-won-t-load-autocad-for-debugging/m-p/10931425#M13776</link>
      <description>&lt;P&gt;I appreciate the help, but I have seen videos of people debugging with class library templates and I know it is possible. I have not yet attempted a WPF app in AutoCAD. I don't think this is the source of the problem. I tried checking the "Enable native code debugging" box in the debug menu. It then tries to load AutoCAD but endlessly tries to load symbols. Sometimes it gives me this error:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Loaderlock Exception4.JPG" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1021288i02D5B369E3F1D50E/image-size/large?v=v2&amp;amp;px=999" role="button" title="Loaderlock Exception4.JPG" alt="Loaderlock Exception4.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 06 Feb 2022 07:09:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/visual-studio-won-t-load-autocad-for-debugging/m-p/10931425#M13776</guid>
      <dc:creator>jmcfarland1996</dc:creator>
      <dc:date>2022-02-06T07:09:43Z</dc:date>
    </item>
    <item>
      <title>Re: Visual Studio Won't Load AutoCAD for Debugging</title>
      <link>https://forums.autodesk.com/t5/net-forum/visual-studio-won-t-load-autocad-for-debugging/m-p/10931484#M13777</link>
      <description>&lt;P&gt;Isn't your plugin alreay installed?&lt;/P&gt;</description>
      <pubDate>Sun, 06 Feb 2022 08:45:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/visual-studio-won-t-load-autocad-for-debugging/m-p/10931484#M13777</guid>
      <dc:creator>_gile</dc:creator>
      <dc:date>2022-02-06T08:45:49Z</dc:date>
    </item>
    <item>
      <title>Re: Visual Studio Won't Load AutoCAD for Debugging</title>
      <link>https://forums.autodesk.com/t5/net-forum/visual-studio-won-t-load-autocad-for-debugging/m-p/10931522#M13778</link>
      <description>&lt;P&gt;Update 7/2: After creating a test C# project with "Autocad 2022 Dotnet Wizard", I find out that the &lt;STRONG&gt;C# project type created by the wizard is non-WPF&lt;/STRONG&gt;.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;(This is different from&amp;nbsp;the VB project type&amp;nbsp;created by the wizard (WPF))&lt;/EM&gt;&lt;BR /&gt;With C# project created by the Wizard, I can start Autocad 2022 from VS debug after turn off Loader Lock.&lt;/P&gt;&lt;P&gt;I also attach the solution with C# project created by the wizard.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;I've checked the sample solution at:&lt;/P&gt;&lt;P&gt;C:\Program Files\Autodesk\AutoCAD 2022\C3D\Sample\Civil 3D API\DotNet&lt;/P&gt;&lt;P&gt;If the Output type is "Class Library" then Debug\ Start external program &lt;STRONG&gt;is unchecked&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ntclmain_4-1644138753890.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1021311iE79531B9ED1A35F0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ntclmain_4-1644138753890.png" alt="ntclmain_4-1644138753890.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ntclmain_5-1644138799222.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1021312i5557139331F907CB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ntclmain_5-1644138799222.png" alt="ntclmain_5-1644138799222.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;In this case I can still debug by:&lt;/P&gt;&lt;P&gt;1. In the same solution of your existing project, add another WPF project, declare Application &amp;amp; Debug tab, &lt;EM&gt;declare references as your existing project (I'm not sure if it is necessary)&lt;/EM&gt;, &lt;STRONG&gt;set the WPF as your startup project&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;2. From VS 2019, start debug (F5) to open Acad.exe, in that Acad.exe instance,&amp;nbsp;&lt;STRONG&gt;netload&lt;/STRONG&gt; the existing non-WPF project .dll file which is located in&lt;STRONG&gt;&amp;nbsp;\bin\Debug&lt;/STRONG&gt; folder.&lt;/P&gt;&lt;P&gt;*&lt;BR /&gt;By the way, the previous WPF project I showed you was a mimic of another created by Autocad 2018 VB plug-in for VB.net in VS 2015.&amp;nbsp; Don't understand why it must be WPF, but it is working.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Feb 2022 09:20:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/visual-studio-won-t-load-autocad-for-debugging/m-p/10931522#M13778</guid>
      <dc:creator>ntclmain</dc:creator>
      <dc:date>2022-02-07T09:20:36Z</dc:date>
    </item>
    <item>
      <title>Re: Visual Studio Won't Load AutoCAD for Debugging</title>
      <link>https://forums.autodesk.com/t5/net-forum/visual-studio-won-t-load-autocad-for-debugging/m-p/10932233#M13779</link>
      <description>&lt;P&gt;Sorry if this is a dumb question, but what do you mean by installed? I am still pretty new to this so let me just run through what I am doing. I am using the class library template, writing some code, then building to make a dll file. I then open AutoCAD and netload that dll. I have been doing this for a while with no problems. But now my applications are getting more complicated and I want to debug my code. I thought the way to do this was to press the start button, and add AutoCAD to the "start external program" option. This is how I would debug a console app.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Am I missing something? What process do you go through to debug class libraries used in AutoCAD?&lt;/P&gt;</description>
      <pubDate>Sun, 06 Feb 2022 21:09:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/visual-studio-won-t-load-autocad-for-debugging/m-p/10932233#M13779</guid>
      <dc:creator>jmcfarland1996</dc:creator>
      <dc:date>2022-02-06T21:09:28Z</dc:date>
    </item>
    <item>
      <title>Re: Visual Studio Won't Load AutoCAD for Debugging</title>
      <link>https://forums.autodesk.com/t5/net-forum/visual-studio-won-t-load-autocad-for-debugging/m-p/10932979#M13780</link>
      <description>&lt;P&gt;Go to this page&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.autodesk.com/developer-network/platform-technologies/autocad" target="_blank"&gt;https://www.autodesk.com/developer-network/platform-technologies/autocad&lt;/A&gt;&lt;BR /&gt;Scroll to the end of the page, you will see the Dotnet Wizard (a plug-in / template for MS Visual studio)&lt;BR /&gt;For VS 2019, it is the 2021 and 2022 DotNet Wizard&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ntclmain_0-1644222810842.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1021615i4A3C7717CB3CE96B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ntclmain_0-1644222810842.png" alt="ntclmain_0-1644222810842.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ntclmain_1-1644222945637.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1021616i055C7EB8313E2443/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ntclmain_1-1644222945637.png" alt="ntclmain_1-1644222945637.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Feb 2022 08:36:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/visual-studio-won-t-load-autocad-for-debugging/m-p/10932979#M13780</guid>
      <dc:creator>ntclmain</dc:creator>
      <dc:date>2022-02-07T08:36:38Z</dc:date>
    </item>
    <item>
      <title>Re: Visual Studio Won't Load AutoCAD for Debugging</title>
      <link>https://forums.autodesk.com/t5/net-forum/visual-studio-won-t-load-autocad-for-debugging/m-p/10938282#M13781</link>
      <description>&lt;P&gt;Hey guys, update here. Thank you for all your help, I really appreciate it. I tried everything but nothing worked. Eventually I decided to start fresh with a new version of AutoCAD and Visual Studio. (I had been meaning to make the change anyway and as a member of the ADN this came at no extra cost to me.) After installing AutoCAD 2022, everything worked just fine! I think there may have been an issue with the particular version of AutoCAD I was using. It was an old student version of AutoCAD 2020 which was entitled "Civil 3D As AutoCAD". My best guess is that there was something wrong with the configuration file associated with that version. But who knows.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am still using the class library template, but now that or any other template seems to be working fine. I use the template which is made for the type of project that I will be working on. I have not yet used the .NET wizard. I just set up my files manually and it only takes me a few seconds. But once again, thank you for your advice and the thought you put into this!&lt;/P&gt;</description>
      <pubDate>Wed, 09 Feb 2022 08:11:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/visual-studio-won-t-load-autocad-for-debugging/m-p/10938282#M13781</guid>
      <dc:creator>jmcfarland1996</dc:creator>
      <dc:date>2022-02-09T08:11:28Z</dc:date>
    </item>
  </channel>
</rss>

