Exercise: Create a New Project (.NET)

In this exercise, you will create a new project named “MyFirstProject” and reference the files of the AutoCAD .NET API.

To create a new project named “MyFirstProject”

  1. On the Windows Start menu or screen, click Visual Studio 2022.
  2. In Microsoft Visual Studio, click File menu New Project (or click File menu New Project).
  3. In the Create a New Project dialog box, from the Language drop-down list, select Visual Basic.

    If you want to use the C# programming language, select C# instead of Visual Basic.

  4. From the Platforms drop-down list, select Windows.
  5. From the Project Types drop-down list, select Library.
  6. In the Templates list, select VB Class Library (.NET Framework).

    If you selected C# for your programming language, select C# Class Library (.NET Framework) for your template.

  7. Click Next.
  8. In the Configure Your New Project dialog box, click in the Project Name box and enter MyFirstProject.
  9. In the Location box, click Browse to specify a new location or accept the default location.
    Tip: To change the default location for new projects, display the Options dialog box and select the Projects and Solutions folder from the navigation pane. Click the ellipsis button to the right of the Visual Studio Projects Location and browse to a new default location.
  10. From the Framework drop-down list, select .NET Framework 4.8.
  11. Click Create.