title: Console app in C# fails to execute as soon as data types in Autodesk libraries are used
body: <p>I'm developing some AutoCAD add-ons in C# and I was hoping to work/debug my classes in a console application first until I'm ready to implement the functionality inside AutoCAD. /dot net libraries cannot be unloaded and one needs to restart/reload acad each time the code is modified/
  Interestingly I'm finding that as soon as I declare a variable which uses an autocad data type my console app refuses to run and Im presented with a "the application is in break mode" screen in visual studio. For example this code does not run:</p>
  
  <pre><code>  using System;
    using Autodesk.AutoCAD.Geometry;
    namespace TestConsole
  {
      class Program
      {
          static void Main(string[] args)
          {
              Console.WriteLine("Hi");
              Point2d p;            
              Console.ReadKey();
          }
      }
  }
  </code></pre>
  
  <p>Trying this referencing Autodesk C3D 2016 dll libraries. Does anyone have an explanation of what is going on here and/or any workarounds?
  thnks</p>