Now that you have created a project and defined a command, you are almost ready to execute the command in AutoCAD. Before you can execute the command in AutoCAD, you need to first compile or build a .NET assembly file for your project.
If you want to distribute your project for others to use, you will need to build a .NET assembly from your project.
Once a .NET assembly is built, you can then load it in AutoCAD with the NETLOAD command.
The project should build successfully, unless something is wrong with the code in the project. Look at the Output window for information on the build status of the project. The location of the MyFirstProject.dll file that is built is also displayed in the Output window.
A new MText object is created at the coordinates 2,2 with the text string “Greetings, Welcome to AutoCAD .NET“.